author | Lars Hjemli <hjemli@gmail.com> | 2008-04-14 08:00:59 (UTC) |
---|---|---|
committer | Lars Hjemli <hjemli@gmail.com> | 2008-04-14 08:07:43 (UTC) |
commit | adf61225c40dd89e2bb1af0087767aee66791c4e (patch) (unidiff) | |
tree | 915a5e0ea10cd4a723e047daa3485ab5dd290f88 | |
parent | 76ba6287bfb533baca7285b107b5d975581d449d (diff) | |
download | cgit-adf61225c40dd89e2bb1af0087767aee66791c4e.zip cgit-adf61225c40dd89e2bb1af0087767aee66791c4e.tar.gz cgit-adf61225c40dd89e2bb1af0087767aee66791c4e.tar.bz2 |
Fix css font-family
When the sidebar was introduced in v0.7 the default font-family property
got messed up, but this commit should fix the issue.
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
-rw-r--r-- | cgit.css | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1,445 +1,445 @@ | |||
1 | body, table { | 1 | body, table { |
2 | padding: 0em; | 2 | padding: 0em; |
3 | margin: 0em; | 3 | margin: 0em; |
4 | } | 4 | } |
5 | 5 | ||
6 | body { | 6 | body { |
7 | font-family: sans; | 7 | font-family: sans-serif; |
8 | font-size: 10pt; | 8 | font-size: 10pt; |
9 | color: #333; | 9 | color: #333; |
10 | background: white; | 10 | background: white; |
11 | padding: 4px; | 11 | padding: 4px; |
12 | } | 12 | } |
13 | 13 | ||
14 | a { | 14 | a { |
15 | color: blue; | 15 | color: blue; |
16 | text-decoration: none; | 16 | text-decoration: none; |
17 | } | 17 | } |
18 | 18 | ||
19 | a:hover { | 19 | a:hover { |
20 | text-decoration: underline; | 20 | text-decoration: underline; |
21 | } | 21 | } |
22 | 22 | ||
23 | table { | 23 | table { |
24 | border-collapse: collapse; | 24 | border-collapse: collapse; |
25 | } | 25 | } |
26 | 26 | ||
27 | table#header { | 27 | table#header { |
28 | width: 100%; | 28 | width: 100%; |
29 | margin-bottom: 1em; | 29 | margin-bottom: 1em; |
30 | } | 30 | } |
31 | 31 | ||
32 | table#header td.logo { | 32 | table#header td.logo { |
33 | width: 96px; | 33 | width: 96px; |
34 | } | 34 | } |
35 | 35 | ||
36 | table#header td.main { | 36 | table#header td.main { |
37 | font-size: 250%; | 37 | font-size: 250%; |
38 | padding-left: 10px; | 38 | padding-left: 10px; |
39 | } | 39 | } |
40 | 40 | ||
41 | table#header td.main a { | 41 | table#header td.main a { |
42 | color: #000; | 42 | color: #000; |
43 | } | 43 | } |
44 | 44 | ||
45 | table#header td.form { | 45 | table#header td.form { |
46 | text-align: right; | 46 | text-align: right; |
47 | vertical-align: bottom; | 47 | vertical-align: bottom; |
48 | padding-right: 1em; | 48 | padding-right: 1em; |
49 | padding-bottom: 2px; | 49 | padding-bottom: 2px; |
50 | } | 50 | } |
51 | 51 | ||
52 | table#header td.form form, | 52 | table#header td.form form, |
53 | table#header td.form input, | 53 | table#header td.form input, |
54 | table#header td.form select { | 54 | table#header td.form select { |
55 | font-size: 90%; | 55 | font-size: 90%; |
56 | } | 56 | } |
57 | 57 | ||
58 | table#header td.sub { | 58 | table#header td.sub { |
59 | color: #777; | 59 | color: #777; |
60 | border-top: solid 1px #ccc; | 60 | border-top: solid 1px #ccc; |
61 | padding-left: 10px; | 61 | padding-left: 10px; |
62 | } | 62 | } |
63 | 63 | ||
64 | table.tabs { | 64 | table.tabs { |
65 | /* border-bottom: solid 2px #ccc; */ | 65 | /* border-bottom: solid 2px #ccc; */ |
66 | border-collapse: collapse; | 66 | border-collapse: collapse; |
67 | margin-top: 2em; | 67 | margin-top: 2em; |
68 | margin-bottom: 0px; | 68 | margin-bottom: 0px; |
69 | width: 100%; | 69 | width: 100%; |
70 | } | 70 | } |
71 | 71 | ||
72 | table.tabs td { | 72 | table.tabs td { |
73 | padding: 0px 1em; | 73 | padding: 0px 1em; |
74 | vertical-align: bottom; | 74 | vertical-align: bottom; |
75 | } | 75 | } |
76 | 76 | ||
77 | table.tabs td a { | 77 | table.tabs td a { |
78 | padding: 2px 0.75em; | 78 | padding: 2px 0.75em; |
79 | color: #777; | 79 | color: #777; |
80 | font-size: 110%; | 80 | font-size: 110%; |
81 | } | 81 | } |
82 | 82 | ||
83 | table.tabs td a.active { | 83 | table.tabs td a.active { |
84 | color: #000; | 84 | color: #000; |
85 | background-color: #ccc; | 85 | background-color: #ccc; |
86 | } | 86 | } |
87 | 87 | ||
88 | table.tabs td.form { | 88 | table.tabs td.form { |
89 | text-align: right; | 89 | text-align: right; |
90 | } | 90 | } |
91 | 91 | ||
92 | table.tabs td.form form { | 92 | table.tabs td.form form { |
93 | padding-bottom: 2px; | 93 | padding-bottom: 2px; |
94 | font-size: 90%; | 94 | font-size: 90%; |
95 | } | 95 | } |
96 | 96 | ||
97 | table.tabs td.form input, | 97 | table.tabs td.form input, |
98 | table.tabs td.form select { | 98 | table.tabs td.form select { |
99 | font-size: 90%; | 99 | font-size: 90%; |
100 | } | 100 | } |
101 | 101 | ||
102 | div.content { | 102 | div.content { |
103 | margin: 0px; | 103 | margin: 0px; |
104 | padding: 2em; | 104 | padding: 2em; |
105 | border-top: solid 3px #ccc; | 105 | border-top: solid 3px #ccc; |
106 | border-bottom: solid 3px #ccc; | 106 | border-bottom: solid 3px #ccc; |
107 | } | 107 | } |
108 | 108 | ||
109 | 109 | ||
110 | table.list { | 110 | table.list { |
111 | width: 100%; | 111 | width: 100%; |
112 | border: none; | 112 | border: none; |
113 | border-collapse: collapse; | 113 | border-collapse: collapse; |
114 | } | 114 | } |
115 | 115 | ||
116 | table.list tr { | 116 | table.list tr { |
117 | background: white; | 117 | background: white; |
118 | } | 118 | } |
119 | 119 | ||
120 | table.list tr:hover { | 120 | table.list tr:hover { |
121 | background: #eee; | 121 | background: #eee; |
122 | } | 122 | } |
123 | 123 | ||
124 | table.list tr.nohover:hover { | 124 | table.list tr.nohover:hover { |
125 | background: white; | 125 | background: white; |
126 | } | 126 | } |
127 | 127 | ||
128 | table.list th { | 128 | table.list th { |
129 | font-weight: bold; | 129 | font-weight: bold; |
130 | /* color: #888; | 130 | /* color: #888; |
131 | border-top: dashed 1px #888; | 131 | border-top: dashed 1px #888; |
132 | border-bottom: dashed 1px #888; | 132 | border-bottom: dashed 1px #888; |
133 | */ | 133 | */ |
134 | padding: 0.1em 0.5em 0.05em 0.5em; | 134 | padding: 0.1em 0.5em 0.05em 0.5em; |
135 | vertical-align: baseline; | 135 | vertical-align: baseline; |
136 | } | 136 | } |
137 | 137 | ||
138 | table.list td { | 138 | table.list td { |
139 | border: none; | 139 | border: none; |
140 | padding: 0.1em 0.5em 0.1em 0.5em; | 140 | padding: 0.1em 0.5em 0.1em 0.5em; |
141 | } | 141 | } |
142 | 142 | ||
143 | table.list td a { | 143 | table.list td a { |
144 | color: black; | 144 | color: black; |
145 | } | 145 | } |
146 | 146 | ||
147 | img { | 147 | img { |
148 | border: none; | 148 | border: none; |
149 | } | 149 | } |
150 | 150 | ||
151 | input#switch-btn { | 151 | input#switch-btn { |
152 | margin: 2px 0px 0px 0px; | 152 | margin: 2px 0px 0px 0px; |
153 | } | 153 | } |
154 | 154 | ||
155 | td#sidebar input.txt { | 155 | td#sidebar input.txt { |
156 | width: 100%; | 156 | width: 100%; |
157 | margin: 2px 0px 0px 0px; | 157 | margin: 2px 0px 0px 0px; |
158 | } | 158 | } |
159 | 159 | ||
160 | table#grid { | 160 | table#grid { |
161 | margin: 0px; | 161 | margin: 0px; |
162 | } | 162 | } |
163 | 163 | ||
164 | td#content { | 164 | td#content { |
165 | vertical-align: top; | 165 | vertical-align: top; |
166 | padding: 1em 2em 1em 1em; | 166 | padding: 1em 2em 1em 1em; |
167 | border: none; | 167 | border: none; |
168 | } | 168 | } |
169 | 169 | ||
170 | div#summary { | 170 | div#summary { |
171 | vertical-align: top; | 171 | vertical-align: top; |
172 | margin-bottom: 1em; | 172 | margin-bottom: 1em; |
173 | } | 173 | } |
174 | 174 | ||
175 | table#downloads { | 175 | table#downloads { |
176 | float: right; | 176 | float: right; |
177 | border-collapse: collapse; | 177 | border-collapse: collapse; |
178 | border: solid 1px #777; | 178 | border: solid 1px #777; |
179 | margin-left: 0.5em; | 179 | margin-left: 0.5em; |
180 | margin-bottom: 0.5em; | 180 | margin-bottom: 0.5em; |
181 | } | 181 | } |
182 | 182 | ||
183 | table#downloads th { | 183 | table#downloads th { |
184 | background-color: #ccc; | 184 | background-color: #ccc; |
185 | } | 185 | } |
186 | 186 | ||
187 | div#blob { | 187 | div#blob { |
188 | border: solid 1px black; | 188 | border: solid 1px black; |
189 | } | 189 | } |
190 | 190 | ||
191 | div.error { | 191 | div.error { |
192 | color: red; | 192 | color: red; |
193 | font-weight: bold; | 193 | font-weight: bold; |
194 | margin: 1em 2em; | 194 | margin: 1em 2em; |
195 | } | 195 | } |
196 | 196 | ||
197 | a.ls-blob, a.ls-dir, a.ls-mod { | 197 | a.ls-blob, a.ls-dir, a.ls-mod { |
198 | font-family: monospace; | 198 | font-family: monospace; |
199 | } | 199 | } |
200 | 200 | ||
201 | td.ls-size { | 201 | td.ls-size { |
202 | text-align: right; | 202 | text-align: right; |
203 | font-family: monospace; | 203 | font-family: monospace; |
204 | width: 10em; | 204 | width: 10em; |
205 | } | 205 | } |
206 | 206 | ||
207 | td.ls-mode { | 207 | td.ls-mode { |
208 | font-family: monospace; | 208 | font-family: monospace; |
209 | width: 10em; | 209 | width: 10em; |
210 | } | 210 | } |
211 | 211 | ||
212 | table.blob { | 212 | table.blob { |
213 | margin-top: 0.5em; | 213 | margin-top: 0.5em; |
214 | border-top: solid 1px black; | 214 | border-top: solid 1px black; |
215 | } | 215 | } |
216 | 216 | ||
217 | table.blob td.no { | 217 | table.blob td.no { |
218 | border-right: solid 1px black; | 218 | border-right: solid 1px black; |
219 | color: black; | 219 | color: black; |
220 | background-color: #eee; | 220 | background-color: #eee; |
221 | text-align: right; | 221 | text-align: right; |
222 | } | 222 | } |
223 | 223 | ||
224 | table.blob td.no a { | 224 | table.blob td.no a { |
225 | color: black; | 225 | color: black; |
226 | } | 226 | } |
227 | 227 | ||
228 | table.blob td.no a:hover { | 228 | table.blob td.no a:hover { |
229 | color: black; | 229 | color: black; |
230 | text-decoration: none; | 230 | text-decoration: none; |
231 | } | 231 | } |
232 | 232 | ||
233 | table.blob td.txt { | 233 | table.blob td.txt { |
234 | white-space: pre; | 234 | white-space: pre; |
235 | font-family: monospace; | 235 | font-family: monospace; |
236 | padding-left: 0.5em; | 236 | padding-left: 0.5em; |
237 | } | 237 | } |
238 | 238 | ||
239 | table.nowrap td { | 239 | table.nowrap td { |
240 | white-space: nowrap; | 240 | white-space: nowrap; |
241 | } | 241 | } |
242 | 242 | ||
243 | table.commit-info { | 243 | table.commit-info { |
244 | border-collapse: collapse; | 244 | border-collapse: collapse; |
245 | margin-top: 1.5em; | 245 | margin-top: 1.5em; |
246 | } | 246 | } |
247 | 247 | ||
248 | table.commit-info th { | 248 | table.commit-info th { |
249 | text-align: left; | 249 | text-align: left; |
250 | font-weight: normal; | 250 | font-weight: normal; |
251 | padding: 0.1em 1em 0.1em 0.1em; | 251 | padding: 0.1em 1em 0.1em 0.1em; |
252 | vertical-align: top; | 252 | vertical-align: top; |
253 | } | 253 | } |
254 | 254 | ||
255 | table.commit-info td { | 255 | table.commit-info td { |
256 | font-weight: normal; | 256 | font-weight: normal; |
257 | padding: 0.1em 1em 0.1em 0.1em; | 257 | padding: 0.1em 1em 0.1em 0.1em; |
258 | } | 258 | } |
259 | 259 | ||
260 | div.commit-subject { | 260 | div.commit-subject { |
261 | font-weight: bold; | 261 | font-weight: bold; |
262 | font-size: 125%; | 262 | font-size: 125%; |
263 | margin: 1.5em 0em 0.5em 0em; | 263 | margin: 1.5em 0em 0.5em 0em; |
264 | padding: 0em; | 264 | padding: 0em; |
265 | } | 265 | } |
266 | 266 | ||
267 | div.commit-msg { | 267 | div.commit-msg { |
268 | white-space: pre; | 268 | white-space: pre; |
269 | font-family: monospace; | 269 | font-family: monospace; |
270 | } | 270 | } |
271 | 271 | ||
272 | div.diffstat-header { | 272 | div.diffstat-header { |
273 | font-weight: bold; | 273 | font-weight: bold; |
274 | padding-top: 1.5em; | 274 | padding-top: 1.5em; |
275 | } | 275 | } |
276 | 276 | ||
277 | table.diffstat { | 277 | table.diffstat { |
278 | border-collapse: collapse; | 278 | border-collapse: collapse; |
279 | border: solid 1px #aaa; | 279 | border: solid 1px #aaa; |
280 | background-color: #eee; | 280 | background-color: #eee; |
281 | } | 281 | } |
282 | 282 | ||
283 | table.diffstat th { | 283 | table.diffstat th { |
284 | font-weight: normal; | 284 | font-weight: normal; |
285 | text-align: left; | 285 | text-align: left; |
286 | text-decoration: underline; | 286 | text-decoration: underline; |
287 | padding: 0.1em 1em 0.1em 0.1em; | 287 | padding: 0.1em 1em 0.1em 0.1em; |
288 | font-size: 100%; | 288 | font-size: 100%; |
289 | } | 289 | } |
290 | 290 | ||
291 | table.diffstat td { | 291 | table.diffstat td { |
292 | padding: 0.2em 0.2em 0.1em 0.1em; | 292 | padding: 0.2em 0.2em 0.1em 0.1em; |
293 | font-size: 100%; | 293 | font-size: 100%; |
294 | border: none; | 294 | border: none; |
295 | } | 295 | } |
296 | 296 | ||
297 | table.diffstat td.mode { | 297 | table.diffstat td.mode { |
298 | white-space: nowrap; | 298 | white-space: nowrap; |
299 | } | 299 | } |
300 | 300 | ||
301 | table.diffstat td span.modechange { | 301 | table.diffstat td span.modechange { |
302 | padding-left: 1em; | 302 | padding-left: 1em; |
303 | color: red; | 303 | color: red; |
304 | } | 304 | } |
305 | 305 | ||
306 | table.diffstat td.add a { | 306 | table.diffstat td.add a { |
307 | color: green; | 307 | color: green; |
308 | } | 308 | } |
309 | 309 | ||
310 | table.diffstat td.del a { | 310 | table.diffstat td.del a { |
311 | color: red; | 311 | color: red; |
312 | } | 312 | } |
313 | 313 | ||
314 | table.diffstat td.upd a { | 314 | table.diffstat td.upd a { |
315 | color: blue; | 315 | color: blue; |
316 | } | 316 | } |
317 | 317 | ||
318 | table.diffstat td.graph { | 318 | table.diffstat td.graph { |
319 | width: 500px; | 319 | width: 500px; |
320 | vertical-align: middle; | 320 | vertical-align: middle; |
321 | } | 321 | } |
322 | 322 | ||
323 | table.diffstat td.graph table { | 323 | table.diffstat td.graph table { |
324 | border: none; | 324 | border: none; |
325 | } | 325 | } |
326 | 326 | ||
327 | table.diffstat td.graph td { | 327 | table.diffstat td.graph td { |
328 | padding: 0px; | 328 | padding: 0px; |
329 | border: 0px; | 329 | border: 0px; |
330 | height: 7pt; | 330 | height: 7pt; |
331 | } | 331 | } |
332 | 332 | ||
333 | table.diffstat td.graph td.add { | 333 | table.diffstat td.graph td.add { |
334 | background-color: #5c5; | 334 | background-color: #5c5; |
335 | } | 335 | } |
336 | 336 | ||
337 | table.diffstat td.graph td.rem { | 337 | table.diffstat td.graph td.rem { |
338 | background-color: #c55; | 338 | background-color: #c55; |
339 | } | 339 | } |
340 | 340 | ||
341 | div.diffstat-summary { | 341 | div.diffstat-summary { |
342 | color: #888; | 342 | color: #888; |
343 | padding-top: 0.5em; | 343 | padding-top: 0.5em; |
344 | } | 344 | } |
345 | 345 | ||
346 | table.diff { | 346 | table.diff { |
347 | width: 100%; | 347 | width: 100%; |
348 | } | 348 | } |
349 | 349 | ||
350 | table.diff td { | 350 | table.diff td { |
351 | font-family: monospace; | 351 | font-family: monospace; |
352 | white-space: pre; | 352 | white-space: pre; |
353 | } | 353 | } |
354 | 354 | ||
355 | table.diff td div.head { | 355 | table.diff td div.head { |
356 | font-weight: bold; | 356 | font-weight: bold; |
357 | margin-top: 1em; | 357 | margin-top: 1em; |
358 | color: black; | 358 | color: black; |
359 | } | 359 | } |
360 | 360 | ||
361 | table.diff td div.hunk { | 361 | table.diff td div.hunk { |
362 | color: #009; | 362 | color: #009; |
363 | } | 363 | } |
364 | 364 | ||
365 | table.diff td div.add { | 365 | table.diff td div.add { |
366 | color: green; | 366 | color: green; |
367 | } | 367 | } |
368 | 368 | ||
369 | table.diff td div.del { | 369 | table.diff td div.del { |
370 | color: red; | 370 | color: red; |
371 | } | 371 | } |
372 | 372 | ||
373 | .sha1 { | 373 | .sha1 { |
374 | font-family: monospace; | 374 | font-family: monospace; |
375 | font-size: 90%; | 375 | font-size: 90%; |
376 | } | 376 | } |
377 | 377 | ||
378 | .left { | 378 | .left { |
379 | text-align: left; | 379 | text-align: left; |
380 | } | 380 | } |
381 | 381 | ||
382 | .right { | 382 | .right { |
383 | text-align: right; | 383 | text-align: right; |
384 | } | 384 | } |
385 | 385 | ||
386 | table.list td.repogroup { | 386 | table.list td.repogroup { |
387 | font-style: italic; | 387 | font-style: italic; |
388 | color: #888; | 388 | color: #888; |
389 | } | 389 | } |
390 | 390 | ||
391 | a.button { | 391 | a.button { |
392 | font-size: 80%; | 392 | font-size: 80%; |
393 | color: #33c; | 393 | color: #33c; |
394 | /* | 394 | /* |
395 | background-color: #eee; | 395 | background-color: #eee; |
396 | border: solid 1px #aaa; | 396 | border: solid 1px #aaa; |
397 | margin: 0.1em 0.25em; | 397 | margin: 0.1em 0.25em; |
398 | */ | 398 | */ |
399 | padding: 0em 0.5em; | 399 | padding: 0em 0.5em; |
400 | } | 400 | } |
401 | 401 | ||
402 | a.button:hover { | 402 | a.button:hover { |
403 | text-decoration: underline; | 403 | text-decoration: underline; |
404 | } | 404 | } |
405 | 405 | ||
406 | a.primary { | 406 | a.primary { |
407 | font-size: 100%; | 407 | font-size: 100%; |
408 | } | 408 | } |
409 | 409 | ||
410 | a.secondary { | 410 | a.secondary { |
411 | font-size: 90%; | 411 | font-size: 90%; |
412 | } | 412 | } |
413 | 413 | ||
414 | td.toplevel-repo { | 414 | td.toplevel-repo { |
415 | 415 | ||
416 | } | 416 | } |
417 | 417 | ||
418 | table.list td.sublevel-repo { | 418 | table.list td.sublevel-repo { |
419 | padding-left: 1.5em; | 419 | padding-left: 1.5em; |
420 | } | 420 | } |
421 | 421 | ||
422 | span.age-mins { | 422 | span.age-mins { |
423 | font-weight: bold; | 423 | font-weight: bold; |
424 | color: #080; | 424 | color: #080; |
425 | } | 425 | } |
426 | 426 | ||
427 | span.age-hours { | 427 | span.age-hours { |
428 | color: #080; | 428 | color: #080; |
429 | } | 429 | } |
430 | 430 | ||
431 | span.age-days { | 431 | span.age-days { |
432 | color: #040; | 432 | color: #040; |
433 | } | 433 | } |
434 | 434 | ||
435 | span.age-weeks { | 435 | span.age-weeks { |
436 | color: #444; | 436 | color: #444; |
437 | } | 437 | } |
438 | 438 | ||
439 | span.age-months { | 439 | span.age-months { |
440 | color: #888; | 440 | color: #888; |
441 | } | 441 | } |
442 | 442 | ||
443 | span.age-years { | 443 | span.age-years { |
444 | color: #bbb; | 444 | color: #bbb; |
445 | } | 445 | } |