7dd11a7c by root

コロナページ対応

1 parent f6d49d07
...@@ -176,7 +176,21 @@ $catid = JRequest::getInt('catid'); ...@@ -176,7 +176,21 @@ $catid = JRequest::getInt('catid');
176 } 176 }
177 } else { //TOP以外 177 } else { //TOP以外
178 ?> 178 ?>
179 179 <?php
180 if ($moduleclass_sfx == 'covid-19-students' ||
181 $moduleclass_sfx == 'covid-19-staff') {
182 ?>
183 <span class="mod-articles-category-category cat<?php echo $item->catid; ?>">
184 <?php echo $item->displayCategoryTitle; ?>
185 </span>
186 <?php
187 if ($new == 1) {
188 echo '<div class="icon_new">NEW</div>';
189 }
190 ?>
191 <?php
192 }
193 ?>
180 <?php if ($item->displayCategoryTitle) : ?> 194 <?php if ($item->displayCategoryTitle) : ?>
181 <span class="mod-articles-category-category cat<?php echo $item->catid; ?>"> 195 <span class="mod-articles-category-category cat<?php echo $item->catid; ?>">
182 <?php echo $item->displayCategoryTitle; ?> 196 <?php echo $item->displayCategoryTitle; ?>
......
1 .btn_covid-19_info_all {
2 text-align: right;
3 margin-bottom: 10px;
4 }
5
6 .btn_covid-19_info_all a:link,
7 .btn_covid-19_info_all a:active,
8 .btn_covid-19_info_all a:hover,
9 .btn_covid-19_info_all a:visited {
10 display: inline-block;
11 color: #fff !important;
12 background-color: #009fa8;
13 color: #fff;
14 margin: 0 0 8px 8px;
15 padding: 1.5px 15px 1.5px;
16 font-size: 85%;
17 border-radius: 5px;
18 }
19
20 .newsbox ul li {
21 display: flex;
22 flex-flow: row wrap;
23 }
24
25 .newsbox.covid-19 .icon_new,
26 .newsbox.covid-19 .txt {
27 margin-left: 8px;
28 }
29
30 .newsbox.covid-19 .icon_new {
31 background-color: #cd0e0e;
32 color: #fff;
33 border-radius: 5px;
34 font-size: 76%;
35 letter-spacing: 0;
36 text-align: center;
37 margin-bottom: 3px;
38 margin-top: 5px;
39 line-height: 1.1;
40 padding-bottom: 2px;
41 padding-top: 3px;
42 width: 80px;
43 }
...\ No newline at end of file ...\ No newline at end of file
...@@ -3,6 +3,7 @@ ...@@ -3,6 +3,7 @@
3 @import url('meganavi.css'); 3 @import url('meganavi.css');
4 @import url('tabmenu.css'); 4 @import url('tabmenu.css');
5 @import url('fontsize.css'); 5 @import url('fontsize.css');
6 @import url('covid-19.css');
6 7
7 8
8 article, 9 article,
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!