修訂 | ee27df7fa6a63708a5886c62564b6edd4378fa3f (tree) |
---|---|
時間 | 2016-10-23 23:34:48 |
作者 | umorigu <umorigu@gmai...> |
Commiter | umorigu |
BugTrack/2367 Add tDiary css file for black color theme
@@ -576,6 +576,7 @@ if (isset($pkwk_dtd)) { | ||
576 | 576 | <link rel="stylesheet" type="text/css" media="all" href="<?php echo SKIN_DIR ?>theme/base.css" /> |
577 | 577 | <link rel="stylesheet" type="text/css" media="all" href="<?php echo SKIN_DIR ?>theme/<?php echo $theme ?>/<?php echo $theme ?>.css" /> |
578 | 578 | <link rel="stylesheet" type="text/css" href="<?php echo SKIN_DIR ?>tdiary.css.php?color=<?php echo $css_theme ?>" /> |
579 | +<?php if ($css_theme === 'black') { ?> <link rel="stylesheet" type="text/css" href="<?php echo SKIN_DIR ?>tdiary_black.css" /><?php } ?> | |
579 | 580 | <link rel="alternate" type="application/rss+xml" title="RSS" href="<?php echo $link['rss'] ?>" /><?php // RSS auto-discovery ?> |
580 | 581 | |
581 | 582 | <?php echo $head_tag ?> |
@@ -0,0 +1,68 @@ | ||
1 | +thead td.style_td, | |
2 | +tfoot td.style_td { | |
3 | + background-color:#<?php echo $color['thead td.style_td'] ?>; | |
4 | +} | |
5 | +thead th.style_th, | |
6 | +tfoot th.style_th { | |
7 | + background-color:#<?php echo $color['thead th.style_th'] ?>; | |
8 | +} | |
9 | +.style_table { | |
10 | + background-color:#<?php echo $color['.style_table'] ?>; | |
11 | +} | |
12 | +.style_th { | |
13 | + background-color:#<?php echo $color['.style_th'] ?>; | |
14 | +} | |
15 | +.style_td { | |
16 | + background-color:#<?php echo $color['.style_td'] ?>; | |
17 | +} | |
18 | + | |
19 | +/* NoSuchPage? */ | |
20 | +span.noexists { | |
21 | + background-color:#<?php echo $color['span.noexists'] ?>; | |
22 | +} | |
23 | + | |
24 | +div#preview { | |
25 | + background-color:#<?php echo $color['div#preview'] ?>; | |
26 | +} | |
27 | + | |
28 | +/* calendar*.inc.php */ | |
29 | +.style_calendar { | |
30 | + background-color:#<?php echo $color['.style_calendar'] ?>; | |
31 | +} | |
32 | +.style_td_caltop { | |
33 | + background-color:#<?php echo $color['.style_td_caltop'] ?>; | |
34 | +} | |
35 | +.style_td_today { | |
36 | + background-color:#<?php echo $color['.style_td_today'] ?>; | |
37 | +} | |
38 | +.style_td_sat { | |
39 | + background-color:#<?php echo $color['.style_td_sat'] ?>; | |
40 | +} | |
41 | +.style_td_sun { | |
42 | + background-color:#<?php echo $color['.style_td_sun'] ?>; | |
43 | +} | |
44 | +.style_td_blank { | |
45 | + background-color:#<?php echo $color['.style_td_blank'] ?>; | |
46 | +} | |
47 | +.style_td_day { | |
48 | + background-color:#<?php echo $color['.style_td_day'] ?>; | |
49 | +} | |
50 | +.style_td_week { | |
51 | + background-color:#<?php echo $color['.style_td_week'] ?>; | |
52 | +} | |
53 | + | |
54 | +/* hr.inc.php */ | |
55 | +hr.short_line { | |
56 | + border-color:#<?php echo $color['hr.short_line'] ?>; | |
57 | +} | |
58 | + | |
59 | +/* vote.inc.php */ | |
60 | +td.vote_label { | |
61 | + background-color:#<?php echo $color['td.vote_label'] ?>; | |
62 | +} | |
63 | +td.vote_td1 { | |
64 | + background-color:#<?php echo $color['td.vote_td1'] ?>; | |
65 | +} | |
66 | +td.vote_td2 { | |
67 | + background-color:#<?php echo $color['td.vote_td2'] ?>; | |
68 | +} |