@matheusbsbs / matheus-bagliano / commits / 1f1ab5f05b
Fork 0

gitweb: style done with stylesheet

Replace (almost) all 'style' attributes with 'class' attribute and adding rule to CSS file. Some tables use CSS for styling instead of legacy styling attributes. [jc: too many rejects -- hand fixed and reindented]

Jakub Narebski committed Jun 20, 2006 at 14:58 UTC 1f1ab5f05b8e8b45545d8a406d64887f772a69da
2 files changed +246 -154
gitweb/gitweb.cgi
+41 -39
@@ -252,6 +252,19 @@ sub unquote {
252 return $str;
253 }
254
255 +# CSS class for given age value (in seconds)
256 +sub age_class {
257 + my $age = shift;
258 +
259 + if ($age < 60*60*2) {
260 + return "age0";
261 + } elsif ($age < 60*60*24*2) {
262 + return "age1";
263 + } else {
264 + return "age2";
265 + }
266 +}
267 +
268 sub git_header_html {
269 my $status = shift || "200 OK";
270 my $expires = shift;
@@ -600,13 +613,13 @@ sub git_diff_print {
613 while (my $line = <$fd>) {
614 chomp($line);
615 my $char = substr($line, 0, 1);
603 - my $color = "";
616 + my $diff_class = "";
617 if ($char eq '+') {
605 - $color = " style=\"color:#008800;\"";
618 + $diff_class = " add";
619 } elsif ($char eq "-") {
607 - $color = " style=\"color:#cc0000;\"";
620 + $diff_class = " rem";
621 } elsif ($char eq "@") {
609 - $color = " style=\"color:#990099;\"";
622 + $diff_class = " chunk_header";
623 } elsif ($char eq "\\") {
624 # skip errors
625 next;
@@ -617,7 +630,7 @@ sub git_diff_print {
630 $line =~ s/\t/$spaces/;
631 }
632 }
620 - print "<div class=\"pre\"$color>" . esc_html($line) . "</div>\n";
633 + print "<div class=\"diff$diff_class\">" . esc_html($line) . "</div>\n";
634 }
635 }
636 close $fd;
@@ -849,7 +862,7 @@ sub git_project_list {
862 close $fd;
863 print "</div>\n";
864 }
852 - print "<table cellspacing=\"0\">\n" .
865 + print "<table class=\"project_list\">\n" .
866 "<tr>\n";
867 if (!defined($order) || (defined($order) && ($order eq "project"))) {
868 @projects = sort {$a->{'path'} cmp $b->{'path'}} @projects;
@@ -888,15 +901,7 @@ sub git_project_list {
901 print "<td>" . $cgi->a({-href => "$my_uri?" . esc_param("p=$pr->{'path'};a=summary"), -class => "list"}, esc_html($pr->{'path'})) . "</td>\n" .
902 "<td>$pr->{'descr'}</td>\n" .
903 "<td><i>" . chop_str($pr->{'owner'}, 15) . "</i></td>\n";
891 - my $colored_age;
892 - if ($pr->{'commit'}{'age'} < 60*60*2) {
893 - $colored_age = "<span style =\"color: #009900;\"><b><i>$pr->{'commit'}{'age_string'}</i></b></span>";
894 - } elsif ($pr->{'commit'}{'age'} < 60*60*24*2) {
895 - $colored_age = "<span style =\"color: #009900;\"><i>$pr->{'commit'}{'age_string'}</i></span>";
896 - } else {
897 - $colored_age = "<i>$pr->{'commit'}{'age_string'}</i>";
898 - }
899 - print "<td>$colored_age</td>\n" .
904 + print "<td class=\"". age_class($pr->{'commit'}{'age'}) . "\">" . $pr->{'commit'}{'age_string'} . "</td>\n" .
905 "<td class=\"link\">" .
906 $cgi->a({-href => "$my_uri?" . esc_param("p=$pr->{'path'};a=summary")}, "summary") .
907 " | " . $cgi->a({-href => "$my_uri?" . esc_param("p=$pr->{'path'};a=shortlog")}, "shortlog") .
@@ -1240,7 +1245,7 @@ sub git_blame {
1245 print "<div class=\"page_path\"><b>" . esc_html($file_name) . "</b></div>\n";
1246 print "<div class=\"page_body\">\n";
1247 print <<HTML;
1243 -<table style="border-collapse: collapse;">
1248 +<table class="blame">
1249 <tr>
1250 <th>Commit</th>
1251 <th>Age</th>
@@ -1261,7 +1266,7 @@ HTML
1266 my $data;
1267 my $age;
1268 my $age_str;
1264 - my $age_style;
1269 + my $age_class;
1270
1271 chomp $line;
1272 $line_class_num = ($line_class_num + 1) % $line_class_len;
@@ -1273,16 +1278,14 @@ HTML
1278 $lineno = $4;
1279 $data = $5;
1280 } else {
1276 - print qq( <tr><td colspan="5" style="color: red; background-color: yellow;">Unable to parse: $line</td></tr>\n);
1281 + print qq( <tr><td colspan="5" class="error">Unable to parse: $line</td></tr>\n);
1282 next;
1283 }
1284 $short_rev = substr ($long_rev, 0, 8);
1285 $age = time () - $time;
1286 $age_str = age_string ($age);
1287 $age_str =~ s/ /&nbsp;/g;
1283 - $age_style = 'font-style: italic;';
1284 - $age_style .= ' color: #009900; background: transparent;' if ($age < 60*60*24*2);
1285 - $age_style .= ' font-weight: bold;' if ($age < 60*60*2);
1288 + $age_class = age_class($age);
1289 $author = esc_html ($author);
1290 $author =~ s/ /&nbsp;/g;
1291 # escape tabs
@@ -1293,15 +1296,14 @@ HTML
1296 }
1297 }
1298 $data = esc_html ($data);
1296 - $data =~ s/ /&nbsp;/g;
1299
1300 print <<HTML;
1301 <tr class="$line_class[$line_class_num]">
1300 - <td style="font-family: monospace;"><a href="$my_uri?${\esc_param ("p=$project;a=commit;h=$long_rev")}" class="text">$short_rev..</a></td>
1301 - <td style="$age_style">$age_str</td>
1302 + <td class="sha1"><a href="$my_uri?${\esc_param ("p=$project;a=commit;h=$long_rev")}" class="text">$short_rev..</a></td>
1303 + <td class="$age_class">$age_str</td>
1304 <td>$author</td>
1303 - <td style="text-align: right;"><a id="$lineno" href="#$lineno" class="linenr">$lineno</a></td>
1304 - <td style="font-family: monospace;">$data</td>
1305 + <td class="linenr"><a id="$lineno" href="#$lineno" class="linenr">$lineno</a></td>
1306 + <td class="pre">$data</td>
1307 </tr>
1308 HTML
1309 } # while (my $line = <$fd>)
@@ -1646,7 +1648,7 @@ sub git_tree {
1648 print "<tr class=\"light\">\n";
1649 }
1650 $alternate ^= 1;
1649 - print "<td style=\"font-family:monospace\">" . mode_str($t_mode) . "</td>\n";
1651 + print "<td class=\"mode\">" . mode_str($t_mode) . "</td>\n";
1652 if ($t_type eq "blob") {
1653 print "<td class=\"list\">" .
1654 $cgi->a({-href => "$my_uri?" . esc_param("p=$project;a=blob;h=$t_hash$base_key;f=$base$t_name"), -class => "list"}, esc_html($t_name)) .
@@ -1912,7 +1914,7 @@ sub git_commit {
1914 "<tr>" .
1915 "<td></td><td> $ad{'rfc2822'}";
1916 if ($ad{'hour_local'} < 6) {
1915 - printf(" (<span style=\"color: #cc0000;\">%02d:%02d</span> %s)", $ad{'hour_local'}, $ad{'minute_local'}, $ad{'tz_local'});
1917 + printf(" (<span class=\"atnight\">%02d:%02d</span> %s)", $ad{'hour_local'}, $ad{'minute_local'}, $ad{'tz_local'});
1918 } else {
1919 printf(" (%02d:%02d %s)", $ad{'hour_local'}, $ad{'minute_local'}, $ad{'tz_local'});
1920 }
@@ -1920,10 +1922,10 @@ sub git_commit {
1922 "</tr>\n";
1923 print "<tr><td>committer</td><td>" . esc_html($co{'committer'}) . "</td></tr>\n";
1924 print "<tr><td></td><td> $cd{'rfc2822'}" . sprintf(" (%02d:%02d %s)", $cd{'hour_local'}, $cd{'minute_local'}, $cd{'tz_local'}) . "</td></tr>\n";
1923 - print "<tr><td>commit</td><td style=\"font-family:monospace\">$co{'id'}</td></tr>\n";
1925 + print "<tr><td>commit</td><td class=\"sha1\">$co{'id'}</td></tr>\n";
1926 print "<tr>" .
1927 "<td>tree</td>" .
1926 - "<td style=\"font-family:monospace\">" .
1928 + "<td class=\"sha1\">" .
1929 $cgi->a({-href => "$my_uri?" . esc_param("p=$project;a=tree;h=$co{'tree'};hb=$hash"), class => "list"}, $co{'tree'}) .
1930 "</td>" .
1931 "<td class=\"link\">" . $cgi->a({-href => "$my_uri?" . esc_param("p=$project;a=tree;h=$co{'tree'};hb=$hash")}, "tree") .
@@ -1933,7 +1935,7 @@ sub git_commit {
1935 foreach my $par (@$parents) {
1936 print "<tr>" .
1937 "<td>parent</td>" .
1936 - "<td style=\"font-family:monospace\">" . $cgi->a({-href => "$my_uri?" . esc_param("p=$project;a=commit;h=$par"), class => "list"}, $par) . "</td>" .
1938 + "<td class=\"sha1\">" . $cgi->a({-href => "$my_uri?" . esc_param("p=$project;a=commit;h=$par"), class => "list"}, $par) . "</td>" .
1939 "<td class=\"link\">" .
1940 $cgi->a({-href => "$my_uri?" . esc_param("p=$project;a=commit;h=$par")}, "commit") .
1941 " | " . $cgi->a({-href => "$my_uri?" . esc_param("p=$project;a=commitdiff;h=$hash;hp=$par")}, "commitdiff") .
@@ -1958,7 +1960,7 @@ sub git_commit {
1960 }
1961 if ($line =~ m/^ *(signed[ \-]off[ \-]by[ :]|acked[ \-]by[ :]|cc[ :])/i) {
1962 $signed = 1;
1961 - print "<span style=\"color: #888888\">" . esc_html($line) . "</span><br/>\n";
1963 + print "<span class=\"signoff\">" . esc_html($line) . "</span><br/>\n";
1964 } else {
1965 $signed = 0;
1966 print format_log_line_html($line) . "<br/>\n";
@@ -1970,7 +1972,7 @@ sub git_commit {
1972 print(($#difftree + 1) . " files changed:\n");
1973 }
1974 print "</div>\n";
1973 - print "<table cellspacing=\"0\">\n";
1975 + print "<table class=\"diff_tree\">\n";
1976 my $alternate = 0;
1977 foreach my $line (@difftree) {
1978 # ':100644 100644 03b218260e99b78c6df0ed378e59ed9205ccc96d 3b93d5e7cc7f7dd4ebed13a5cc1a4ad976fc94d8 M ls-files.c'
@@ -1998,12 +2000,12 @@ sub git_commit {
2000 }
2001 print "<td>" .
2002 $cgi->a({-href => "$my_uri?" . esc_param("p=$project;a=blob;h=$to_id;hb=$hash;f=$file"), -class => "list"}, esc_html($file)) . "</td>\n" .
2001 - "<td><span style=\"color: #008000;\">[new " . file_type($to_mode) . "$mode_chng]</span></td>\n" .
2003 + "<td><span class=\"file_status new\">[new " . file_type($to_mode) . "$mode_chng]</span></td>\n" .
2004 "<td class=\"link\">" . $cgi->a({-href => "$my_uri?" . esc_param("p=$project;a=blob;h=$to_id;hb=$hash;f=$file")}, "blob") . "</td>\n";
2005 } elsif ($status eq "D") {
2006 print "<td>" .
2007 $cgi->a({-href => "$my_uri?" . esc_param("p=$project;a=blob;h=$from_id;hb=$hash;f=$file"), -class => "list"}, esc_html($file)) . "</td>\n" .
2006 - "<td><span style=\"color: #c00000;\">[deleted " . file_type($from_mode). "]</span></td>\n" .
2008 + "<td><span class=\"file_status deleted\">[deleted " . file_type($from_mode). "]</span></td>\n" .
2009 "<td class=\"link\">" .
2010 $cgi->a({-href => "$my_uri?" . esc_param("p=$project;a=blob;h=$from_id;hb=$hash;f=$file")}, "blob") .
2011 " | " . $cgi->a({-href => "$my_uri?" . esc_param("p=$project;a=history;h=$hash;f=$file")}, "history") .
@@ -2011,7 +2013,7 @@ sub git_commit {
2013 } elsif ($status eq "M" || $status eq "T") {
2014 my $mode_chnge = "";
2015 if ($from_mode != $to_mode) {
2014 - $mode_chnge = " <span style=\"color: #777777;\">[changed";
2016 + $mode_chnge = " <span class=\"file_status mode_chnge\">[changed";
2017 if (((oct $from_mode) & S_IFMT) != ((oct $to_mode) & S_IFMT)) {
2018 $mode_chnge .= " from " . file_type($from_mode) . " to " . file_type($to_mode);
2019 }
@@ -2047,7 +2049,7 @@ sub git_commit {
2049 }
2050 print "<td>" .
2051 $cgi->a({-href => "$my_uri?" . esc_param("p=$project;a=blob;h=$to_id;hb=$hash;f=$to_file"), -class => "list"}, esc_html($to_file)) . "</td>\n" .
2050 - "<td><span style=\"color: #777777;\">[moved from " .
2052 + "<td><span class=\"file_status moved\">[moved from " .
2053 $cgi->a({-href => "$my_uri?" . esc_param("p=$project;a=blob;h=$from_id;hb=$hash;f=$from_file"), -class => "list"}, esc_html($from_file)) .
2054 " with " . (int $similarity) . "% similarity$mode_chng]</span></td>\n" .
2055 "<td class=\"link\">" .
@@ -2407,7 +2409,7 @@ sub git_search {
2409 my $match = esc_html($2) || "";
2410 my $trail = esc_html($3) || "";
2411 $trail = chop_str($trail, 30, 10);
2410 - my $text = "$lead<span style=\"color:#e00000\">$match</span>$trail";
2412 + my $text = "$lead<span class=\"match\">$match</span>$trail";
2413 print chop_str($text, 80, 5) . "<br/>\n";
2414 }
2415 }
@@ -2456,7 +2458,7 @@ sub git_search {
2458 while (my $setref = shift @files) {
2459 my %set = %$setref;
2460 print $cgi->a({-href => "$my_uri?" . esc_param("p=$project;a=blob;h=$set{'id'};hb=$co{'id'};f=$set{'file'}"), class => "list"},
2459 - "<span style=\"color:#e00000\">" . esc_html($set{'file'}) . "</span>") .
2461 + "<span class=\"match\">" . esc_html($set{'file'}) . "</span>") .
2462 "<br/>\n";
2463 }
2464 print "</td>\n" .
gitweb/gitweb.css
+205 -115
@@ -1,230 +1,320 @@
1 body {
2 - font-family: sans-serif;
3 - font-size: 12px;
4 - border:solid #d9d8d1;
5 - border-width: 1px;
6 - margin: 10px;
7 - background-color: #ffffff;
8 - color: #000000;
2 + font-family: sans-serif;
3 + font-size: 12px;
4 + border:solid #d9d8d1;
5 + border-width: 1px;
6 + margin: 10px;
7 + background-color: #ffffff;
8 + color: #000000;
9 }
10
11 a {
12 - color: #0000cc;
12 + color: #0000cc;
13 }
14
15 a:hover, a:visited, a:active {
16 - color: #880000;
16 + color: #880000;
17 }
18
19 div.page_header {
20 - height: 25px;
21 - padding: 8px;
22 - font-size: 18px;
23 - font-weight: bold;
24 - background-color: #d9d8d1;
20 + height: 25px;
21 + padding: 8px;
22 + font-size: 18px;
23 + font-weight: bold;
24 + background-color: #d9d8d1;
25 }
26
27 div.page_header a:visited, a.header {
28 - color: #0000cc;
28 + color: #0000cc;
29 }
30
31 div.page_header a:hover {
32 - color: #880000;
32 + color: #880000;
33 }
34
35 div.page_nav {
36 - padding:8px;
36 + padding:8px;
37 }
38
39 div.page_nav a:visited {
40 - color: #0000cc;
40 + color: #0000cc;
41 }
42
43 div.page_path {
44 - padding: 8px;
45 - border: solid #d9d8d1;
46 - border-width: 0px 0px 1px;
44 + padding: 8px;
45 + border: solid #d9d8d1;
46 + border-width: 0px 0px 1px;
47 }
48
49 div.page_footer {
50 - height: 17px;
51 - padding: 4px 8px;
52 - background-color: #d9d8d1;
50 + height: 17px;
51 + padding: 4px 8px;
52 + background-color: #d9d8d1;
53 }
54
55 div.page_footer_text {
56 - float: left;
57 - color: #555555;
58 - font-style: italic;
56 + float: left;
57 + color: #555555;
58 + font-style: italic;
59 }
60
61 div.page_body {
62 - padding: 8px;
62 + padding: 8px;
63 }
64
65 div.title, a.title {
66 - display: block;
67 - padding: 6px 8px;
68 - font-weight: bold;
69 - background-color: #edece6;
70 - text-decoration: none;
71 - color: #000000;
66 + display: block;
67 + padding: 6px 8px;
68 + font-weight: bold;
69 + background-color: #edece6;
70 + text-decoration: none;
71 + color: #000000;
72 }
73
74 a.title:hover {
75 - background-color: #d9d8d1;
75 + background-color: #d9d8d1;
76 }
77
78 div.title_text {
79 - padding: 6px 0px;
80 - border: solid #d9d8d1;
81 - border-width: 0px 0px 1px;
79 + padding: 6px 0px;
80 + border: solid #d9d8d1;
81 + border-width: 0px 0px 1px;
82 }
83
84 div.log_body {
85 - padding: 8px 8px 8px 150px;
85 + padding: 8px 8px 8px 150px;
86 }
87
88 span.age {
89 - position: relative;
90 - float: left;
91 - width: 142px;
92 - font-style:italic;
89 + position: relative;
90 + float: left;
91 + width: 142px;
92 + font-style: italic;
93 +}
94 +
95 +div.page_body span.signoff {
96 + color: #888888;
97 }
98
99 div.log_link {
96 - padding: 0px 8px;
97 - font-size: 10px;
98 - font-family: sans-serif;
99 - font-style:normal;
100 - position: relative;
101 - float: left;
102 - width: 136px;
100 + padding: 0px 8px;
101 + font-size: 10px;
102 + font-family: sans-serif;
103 + font-style: normal;
104 + position: relative;
105 + float: left;
106 + width: 136px;
107 }
108
109 div.list_head {
106 - padding: 6px 8px 4px;
107 - border: solid #d9d8d1;
108 - border-width: 1px 0px 0px;
109 - font-style: italic;
110 + padding: 6px 8px 4px;
111 + border: solid #d9d8d1;
112 + border-width: 1px 0px 0px;
113 + font-style: italic;
114 }
115
116 a.list {
113 - text-decoration: none;
114 - color: #000000;
117 + text-decoration: none;
118 + color: #000000;
119 }
120
121 a.list:hover {
118 - text-decoration: underline;
119 - color: #880000;
122 + text-decoration: underline;
123 + color: #880000;
124 }
125
126 a.text {
123 - text-decoration: none;
124 - color: #0000cc;
127 + text-decoration: none;
128 + color: #0000cc;
129 }
130
131 a.text:visited {
128 - text-decoration: none;
129 - color: #880000;
132 + text-decoration: none;
133 + color: #880000;
134 }
135
136 a.text:hover {
133 - text-decoration: underline;
134 - color: #880000;
137 + text-decoration: underline;
138 + color: #880000;
139 }
140
141 table {
138 - padding: 8px 4px;
142 + padding: 8px 4px;
143 +}
144 +
145 +table.project_list, table.diff_tree {
146 + border-spacing: 0;
147 +}
148 +
149 +table.blame {
150 + border-collapse: collapse;
151 }
152
153 th {
142 - padding: 2px 5px;
143 - font-size: 12px;
144 - text-align: left;
154 + padding: 2px 5px;
155 + font-size: 12px;
156 + text-align: left;
157 }
158
159 tr.light:hover {
148 - background-color: #edece6;
160 + background-color: #edece6;
161 }
162
163 tr.dark {
152 - background-color: #f6f6f0;
164 + background-color: #f6f6f0;
165 }
166
167 tr.dark:hover {
156 - background-color: #edece6;
168 + background-color: #edece6;
169 }
170
159 -
171 td {
161 - padding: 2px 5px;
162 - font-size: 12px;
163 - vertical-align:top;
172 + padding: 2px 5px;
173 + font-size: 12px;
174 + vertical-align: top;
175 }
176
177 td.link {
167 - padding: 2px 5px;
168 - font-family: sans-serif;
169 - font-size: 10px;
178 + padding: 2px 5px;
179 + font-family: sans-serif;
180 + font-size: 10px;
181 +}
182 +
183 +td.sha1 {
184 + font-family: monospace;
185 +}
186 +
187 +td.error {
188 + color: red;
189 + background-color: yellow;
190 +}
191 +
192 +table.diff_tree span.file_status.new {
193 + color: #008000;
194 +}
195 +
196 +table.diff_tree span.file_status.deleted {
197 + color: #c00000;
198 +}
199 +
200 +table.diff_tree span.file_status.moved,
201 +table.diff_tree span.file_status.mode_chnge {
202 + color: #777777;
203 +}
204 +
205 +/* age2: 60*60*24*2 <= age */
206 +table.project_list td.age2, table.blame td.age2 {
207 + font-style: italic;
208 +}
209 +
210 +/* age1: 60*60*2 <= age < 60*60*24*2 */
211 +table.project_list td.age1 {
212 + color: #009900;
213 + font-style: italic;
214 }
215
172 -div.pre {
173 - font-family: monospace;
174 - font-size: 12px;
175 - white-space: pre;
216 +table.blame td.age1 {
217 + color: #009900;
218 + background: transparent;
219 +}
220 +
221 +/* age0: age < 60*60*2 */
222 +table.project_list td.age0 {
223 + color: #009900;
224 + font-style: italic;
225 + font-weight: bold;
226 +}
227 +
228 +table.blame td.age0 {
229 + color: #009900;
230 + background: transparent;
231 + font-weight: bold;
232 +}
233 +
234 +td.pre, div.pre, div.diff {
235 + font-family: monospace;
236 + font-size: 12px;
237 + white-space: pre;
238 +}
239 +
240 +td.mode {
241 + font-family: monospace;
242 +}
243 +
244 +div.diff.add {
245 + color: #008800;
246 +}
247 +
248 +div.diff.rem {
249 + color: #cc0000;
250 +}
251 +
252 +div.diff.chunk_header {
253 + color: #990099;
254 }
255
256 div.diff_info {
179 - font-family: monospace;
180 - color: #000099;
181 - background-color: #edece6;
182 - font-style: italic;
257 + font-family: monospace;
258 + color: #000099;
259 + background-color: #edece6;
260 + font-style: italic;
261 }
262
263 div.index_include {
186 - border: solid #d9d8d1;
187 - border-width: 0px 0px 1px;
188 - padding: 12px 8px;
264 + border: solid #d9d8d1;
265 + border-width: 0px 0px 1px;
266 + padding: 12px 8px;
267 }
268
269 div.search {
192 - margin: 4px 8px;
193 - position: absolute;
194 - top: 56px;
195 - right: 12px
270 + margin: 4px 8px;
271 + position: absolute;
272 + top: 56px;
273 + right: 12px
274 +}
275 +
276 +td.linenr {
277 + text-align: right;
278 }
279
280 a.linenr {
199 - color: #999999;
200 - text-decoration: none
281 + color: #999999;
282 + text-decoration: none
283 }
284
285 a.rss_logo {
204 - float: right;
205 - padding: 3px 0px;
206 - width: 35px;
207 - line-height: 10px;
208 - border: 1px solid;
209 - border-color: #fcc7a5 #7d3302 #3e1a01 #ff954e;
210 - color: #ffffff;
211 - background-color: #ff6600;
212 - font-weight: bold;
213 - font-family: sans-serif;
214 - font-size: 10px;
215 - text-align: center;
216 - text-decoration: none;
286 + float: right;
287 + padding: 3px 0px;
288 + width: 35px;
289 + line-height: 10px;
290 + border: 1px solid;
291 + border-color: #fcc7a5 #7d3302 #3e1a01 #ff954e;
292 + color: #ffffff;
293 + background-color: #ff6600;
294 + font-weight: bold;
295 + font-family: sans-serif;
296 + font-size: 10px;
297 + text-align: center;
298 + text-decoration: none;
299 }
300
301 a.rss_logo:hover {
220 - background-color: #ee5500;
302 + background-color: #ee5500;
303 }
304
305 span.tag {
224 - padding: 0px 4px;
225 - font-size: 10px;
226 - font-weight: normal;
227 - background-color: #ffffaa;
228 - border: 1px solid;
229 - border-color: #ffffcc #ffee00 #ffee00 #ffffcc;
306 + padding: 0px 4px;
307 + font-size: 10px;
308 + font-weight: normal;
309 + background-color: #ffffaa;
310 + border: 1px solid;
311 + border-color: #ffffcc #ffee00 #ffee00 #ffffcc;
312 +}
313 +
314 +span.atnight {
315 + color: #cc0000;
316 +}
317 +
318 +span.match {
319 + color: #e00000;
320 }