7dd11a7c by root

コロナページ対応

1 parent f6d49d07
......@@ -176,7 +176,21 @@ $catid = JRequest::getInt('catid');
}
} else { //TOP以外
?>
<?php
if ($moduleclass_sfx == 'covid-19-students' ||
$moduleclass_sfx == 'covid-19-staff') {
?>
<span class="mod-articles-category-category cat<?php echo $item->catid; ?>">
<?php echo $item->displayCategoryTitle; ?>
</span>
<?php
if ($new == 1) {
echo '<div class="icon_new">NEW</div>';
}
?>
<?php
}
?>
<?php if ($item->displayCategoryTitle) : ?>
<span class="mod-articles-category-category cat<?php echo $item->catid; ?>">
<?php echo $item->displayCategoryTitle; ?>
......
.btn_covid-19_info_all {
text-align: right;
margin-bottom: 10px;
}
.btn_covid-19_info_all a:link,
.btn_covid-19_info_all a:active,
.btn_covid-19_info_all a:hover,
.btn_covid-19_info_all a:visited {
display: inline-block;
color: #fff !important;
background-color: #009fa8;
color: #fff;
margin: 0 0 8px 8px;
padding: 1.5px 15px 1.5px;
font-size: 85%;
border-radius: 5px;
}
.newsbox ul li {
display: flex;
flex-flow: row wrap;
}
.newsbox.covid-19 .icon_new,
.newsbox.covid-19 .txt {
margin-left: 8px;
}
.newsbox.covid-19 .icon_new {
background-color: #cd0e0e;
color: #fff;
border-radius: 5px;
font-size: 76%;
letter-spacing: 0;
text-align: center;
margin-bottom: 3px;
margin-top: 5px;
line-height: 1.1;
padding-bottom: 2px;
padding-top: 3px;
width: 80px;
}
\ No newline at end of file
......@@ -3,6 +3,7 @@
@import url('meganavi.css');
@import url('tabmenu.css');
@import url('fontsize.css');
@import url('covid-19.css');
article,
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!