diff options
author | Ferry Huberts | 2012-03-18 11:44:03 +0100 |
---|---|---|
committer | Lars Hjemli | 2012-03-18 20:22:02 +0000 |
commit | add1ccb1d805e9472483e49c3ce55a2e30bf5aae (patch) | |
tree | 7a14a6ecc6a1270d7dc524f83e0925ea9bf51f9d | |
parent | 7996157f14d99ee6d26c042816e12bd9089c1efb (diff) | |
download | cgit-add1ccb1d805e9472483e49c3ce55a2e30bf5aae.tar.gz cgit-add1ccb1d805e9472483e49c3ce55a2e30bf5aae.tar.bz2 cgit-add1ccb1d805e9472483e49c3ce55a2e30bf5aae.zip |
css: prefix all styles with div#cgit
to facilitate easier embedding
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
-rw-r--r-- | cgit.css | 338 |
1 files changed, 169 insertions, 169 deletions
@@ -1,4 +1,4 @@ | |||
1 | body, table, form { | 1 | body, div#cgit table, div#cgit form { |
2 | padding: 0em; | 2 | padding: 0em; |
3 | margin: 0em; | 3 | margin: 0em; |
4 | } | 4 | } |
@@ -11,39 +11,39 @@ body { | |||
11 | padding: 4px; | 11 | padding: 4px; |
12 | } | 12 | } |
13 | 13 | ||
14 | a { | 14 | div#cgit a { |
15 | color: blue; | 15 | color: blue; |
16 | text-decoration: none; | 16 | text-decoration: none; |
17 | } | 17 | } |
18 | 18 | ||
19 | a:hover { | 19 | div#cgit a:hover { |
20 | text-decoration: underline; | 20 | text-decoration: underline; |
21 | } | 21 | } |
22 | 22 | ||
23 | table { | 23 | div#cgit table { |
24 | border-collapse: collapse; | 24 | border-collapse: collapse; |
25 | } | 25 | } |
26 | 26 | ||
27 | table#header { | 27 | div#cgit 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 | div#cgit table#header td.logo { |
33 | width: 96px; | 33 | width: 96px; |
34 | } | 34 | } |
35 | 35 | ||
36 | table#header td.main { | 36 | div#cgit table#header td.main { |
37 | font-size: 250%; | 37 | font-size: 250%; |
38 | padding-left: 10px; | 38 | padding-left: 10px; |
39 | white-space: nowrap; | 39 | white-space: nowrap; |
40 | } | 40 | } |
41 | 41 | ||
42 | table#header td.main a { | 42 | div#cgit table#header td.main a { |
43 | color: #000; | 43 | color: #000; |
44 | } | 44 | } |
45 | 45 | ||
46 | table#header td.form { | 46 | div#cgit table#header td.form { |
47 | text-align: right; | 47 | text-align: right; |
48 | vertical-align: bottom; | 48 | vertical-align: bottom; |
49 | padding-right: 1em; | 49 | padding-right: 1em; |
@@ -51,19 +51,19 @@ table#header td.form { | |||
51 | white-space: nowrap; | 51 | white-space: nowrap; |
52 | } | 52 | } |
53 | 53 | ||
54 | table#header td.form form, | 54 | div#cgit table#header td.form form, |
55 | table#header td.form input, | 55 | div#cgit table#header td.form input, |
56 | table#header td.form select { | 56 | div#cgit table#header td.form select { |
57 | font-size: 90%; | 57 | font-size: 90%; |
58 | } | 58 | } |
59 | 59 | ||
60 | table#header td.sub { | 60 | div#cgit table#header td.sub { |
61 | color: #777; | 61 | color: #777; |
62 | border-top: solid 1px #ccc; | 62 | border-top: solid 1px #ccc; |
63 | padding-left: 10px; | 63 | padding-left: 10px; |
64 | } | 64 | } |
65 | 65 | ||
66 | table.tabs { | 66 | div#cgit table.tabs { |
67 | border-bottom: solid 3px #ccc; | 67 | border-bottom: solid 3px #ccc; |
68 | border-collapse: collapse; | 68 | border-collapse: collapse; |
69 | margin-top: 2em; | 69 | margin-top: 2em; |
@@ -71,74 +71,74 @@ table.tabs { | |||
71 | width: 100%; | 71 | width: 100%; |
72 | } | 72 | } |
73 | 73 | ||
74 | table.tabs td { | 74 | div#cgit table.tabs td { |
75 | padding: 0px 1em; | 75 | padding: 0px 1em; |
76 | vertical-align: bottom; | 76 | vertical-align: bottom; |
77 | } | 77 | } |
78 | 78 | ||
79 | table.tabs td a { | 79 | div#cgit table.tabs td a { |
80 | padding: 2px 0.75em; | 80 | padding: 2px 0.75em; |
81 | color: #777; | 81 | color: #777; |
82 | font-size: 110%; | 82 | font-size: 110%; |
83 | } | 83 | } |
84 | 84 | ||
85 | table.tabs td a.active { | 85 | div#cgit table.tabs td a.active { |
86 | color: #000; | 86 | color: #000; |
87 | background-color: #ccc; | 87 | background-color: #ccc; |
88 | } | 88 | } |
89 | 89 | ||
90 | table.tabs td.form { | 90 | div#cgit table.tabs td.form { |
91 | text-align: right; | 91 | text-align: right; |
92 | } | 92 | } |
93 | 93 | ||
94 | table.tabs td.form form { | 94 | div#cgit table.tabs td.form form { |
95 | padding-bottom: 2px; | 95 | padding-bottom: 2px; |
96 | font-size: 90%; | 96 | font-size: 90%; |
97 | white-space: nowrap; | 97 | white-space: nowrap; |
98 | } | 98 | } |
99 | 99 | ||
100 | table.tabs td.form input, | 100 | div#cgit table.tabs td.form input, |
101 | table.tabs td.form select { | 101 | div#cgit table.tabs td.form select { |
102 | font-size: 90%; | 102 | font-size: 90%; |
103 | } | 103 | } |
104 | 104 | ||
105 | div.path { | 105 | div#cgit div.path { |
106 | margin: 0px; | 106 | margin: 0px; |
107 | padding: 5px 2em 2px 2em; | 107 | padding: 5px 2em 2px 2em; |
108 | color: #000; | 108 | color: #000; |
109 | background-color: #eee; | 109 | background-color: #eee; |
110 | } | 110 | } |
111 | 111 | ||
112 | div.content { | 112 | div#cgit div.content { |
113 | margin: 0px; | 113 | margin: 0px; |
114 | padding: 2em; | 114 | padding: 2em; |
115 | border-bottom: solid 3px #ccc; | 115 | border-bottom: solid 3px #ccc; |
116 | } | 116 | } |
117 | 117 | ||
118 | 118 | ||
119 | table.list { | 119 | div#cgit table.list { |
120 | width: 100%; | 120 | width: 100%; |
121 | border: none; | 121 | border: none; |
122 | border-collapse: collapse; | 122 | border-collapse: collapse; |
123 | } | 123 | } |
124 | 124 | ||
125 | table.list tr { | 125 | div#cgit table.list tr { |
126 | background: white; | 126 | background: white; |
127 | } | 127 | } |
128 | 128 | ||
129 | table.list tr.logheader { | 129 | div#cgit table.list tr.logheader { |
130 | background: #eee; | 130 | background: #eee; |
131 | } | 131 | } |
132 | 132 | ||
133 | table.list tr:hover { | 133 | div#cgit table.list tr:hover { |
134 | background: #eee; | 134 | background: #eee; |
135 | } | 135 | } |
136 | 136 | ||
137 | table.list tr.nohover:hover { | 137 | div#cgit table.list tr.nohover:hover { |
138 | background: white; | 138 | background: white; |
139 | } | 139 | } |
140 | 140 | ||
141 | table.list th { | 141 | div#cgit table.list th { |
142 | font-weight: bold; | 142 | font-weight: bold; |
143 | /* color: #888; | 143 | /* color: #888; |
144 | border-top: dashed 1px #888; | 144 | border-top: dashed 1px #888; |
@@ -148,93 +148,93 @@ table.list th { | |||
148 | vertical-align: baseline; | 148 | vertical-align: baseline; |
149 | } | 149 | } |
150 | 150 | ||
151 | table.list td { | 151 | div#cgit table.list td { |
152 | border: none; | 152 | border: none; |
153 | padding: 0.1em 0.5em 0.1em 0.5em; | 153 | padding: 0.1em 0.5em 0.1em 0.5em; |
154 | } | 154 | } |
155 | 155 | ||
156 | table.list td.commitgraph { | 156 | div#cgit table.list td.commitgraph { |
157 | font-family: monospace; | 157 | font-family: monospace; |
158 | white-space: pre; | 158 | white-space: pre; |
159 | } | 159 | } |
160 | 160 | ||
161 | table.list td.commitgraph .column1 { | 161 | div#cgit table.list td.commitgraph .column1 { |
162 | color: #a00; | 162 | color: #a00; |
163 | } | 163 | } |
164 | 164 | ||
165 | table.list td.commitgraph .column2 { | 165 | div#cgit table.list td.commitgraph .column2 { |
166 | color: #0a0; | 166 | color: #0a0; |
167 | } | 167 | } |
168 | 168 | ||
169 | table.list td.commitgraph .column3 { | 169 | div#cgit table.list td.commitgraph .column3 { |
170 | color: #aa0; | 170 | color: #aa0; |
171 | } | 171 | } |
172 | 172 | ||
173 | table.list td.commitgraph .column4 { | 173 | div#cgit table.list td.commitgraph .column4 { |
174 | color: #00a; | 174 | color: #00a; |
175 | } | 175 | } |
176 | 176 | ||
177 | table.list td.commitgraph .column5 { | 177 | div#cgit table.list td.commitgraph .column5 { |
178 | color: #a0a; | 178 | color: #a0a; |
179 | } | 179 | } |
180 | 180 | ||
181 | table.list td.commitgraph .column6 { | 181 | div#cgit table.list td.commitgraph .column6 { |
182 | color: #0aa; | 182 | color: #0aa; |
183 | } | 183 | } |
184 | 184 | ||
185 | table.list td.logsubject { | 185 | div#cgit table.list td.logsubject { |
186 | font-family: monospace; | 186 | font-family: monospace; |
187 | font-weight: bold; | 187 | font-weight: bold; |
188 | } | 188 | } |
189 | 189 | ||
190 | table.list td.logmsg { | 190 | div#cgit table.list td.logmsg { |
191 | font-family: monospace; | 191 | font-family: monospace; |
192 | white-space: pre; | 192 | white-space: pre; |
193 | padding: 0 0.5em; | 193 | padding: 0 0.5em; |
194 | } | 194 | } |
195 | 195 | ||
196 | table.list td a { | 196 | div#cgit table.list td a { |
197 | color: black; | 197 | color: black; |
198 | } | 198 | } |
199 | 199 | ||
200 | table.list td a.ls-dir { | 200 | div#cgit table.list td a.ls-dir { |
201 | font-weight: bold; | 201 | font-weight: bold; |
202 | color: #00f; | 202 | color: #00f; |
203 | } | 203 | } |
204 | 204 | ||
205 | table.list td a:hover { | 205 | div#cgit table.list td a:hover { |
206 | color: #00f; | 206 | color: #00f; |
207 | } | 207 | } |
208 | 208 | ||
209 | img { | 209 | div#cgit img { |
210 | border: none; | 210 | border: none; |
211 | } | 211 | } |
212 | 212 | ||
213 | input#switch-btn { | 213 | div#cgit input#switch-btn { |
214 | margin: 2px 0px 0px 0px; | 214 | margin: 2px 0px 0px 0px; |
215 | } | 215 | } |
216 | 216 | ||
217 | td#sidebar input.txt { | 217 | div#cgit td#sidebar input.txt { |
218 | width: 100%; | 218 | width: 100%; |
219 | margin: 2px 0px 0px 0px; | 219 | margin: 2px 0px 0px 0px; |
220 | } | 220 | } |
221 | 221 | ||
222 | table#grid { | 222 | div#cgit table#grid { |
223 | margin: 0px; | 223 | margin: 0px; |
224 | } | 224 | } |
225 | 225 | ||
226 | td#content { | 226 | div#cgit td#content { |
227 | vertical-align: top; | 227 | vertical-align: top; |
228 | padding: 1em 2em 1em 1em; | 228 | padding: 1em 2em 1em 1em; |
229 | border: none; | 229 | border: none; |
230 | } | 230 | } |
231 | 231 | ||
232 | div#summary { | 232 | div#cgit div#summary { |
233 | vertical-align: top; | 233 | vertical-align: top; |
234 | margin-bottom: 1em; | 234 | margin-bottom: 1em; |
235 | } | 235 | } |
236 | 236 | ||
237 | table#downloads { | 237 | div#cgit table#downloads { |
238 | float: right; | 238 | float: right; |
239 | border-collapse: collapse; | 239 | border-collapse: collapse; |
240 | border: solid 1px #777; | 240 | border: solid 1px #777; |
@@ -242,152 +242,152 @@ table#downloads { | |||
242 | margin-bottom: 0.5em; | 242 | margin-bottom: 0.5em; |
243 | } | 243 | } |
244 | 244 | ||
245 | table#downloads th { | 245 | div#cgit table#downloads th { |
246 | background-color: #ccc; | 246 | background-color: #ccc; |
247 | } | 247 | } |
248 | 248 | ||
249 | div#blob { | 249 | div#cgit div#blob { |
250 | border: solid 1px black; | 250 | border: solid 1px black; |
251 | } | 251 | } |
252 | 252 | ||
253 | div.error { | 253 | div#cgit div.error { |
254 | color: red; | 254 | color: red; |
255 | font-weight: bold; | 255 | font-weight: bold; |
256 | margin: 1em 2em; | 256 | margin: 1em 2em; |
257 | } | 257 | } |
258 | 258 | ||
259 | a.ls-blob, a.ls-dir, a.ls-mod { | 259 | div#cgit a.ls-blob, div#cgit a.ls-dir, div#cgit a.ls-mod { |
260 | font-family: monospace; | 260 | font-family: monospace; |
261 | } | 261 | } |
262 | 262 | ||
263 | td.ls-size { | 263 | div#cgit td.ls-size { |
264 | text-align: right; | 264 | text-align: right; |
265 | font-family: monospace; | 265 | font-family: monospace; |
266 | width: 10em; | 266 | width: 10em; |
267 | } | 267 | } |
268 | 268 | ||
269 | td.ls-mode { | 269 | div#cgit td.ls-mode { |
270 | font-family: monospace; | 270 | font-family: monospace; |
271 | width: 10em; | 271 | width: 10em; |
272 | } | 272 | } |
273 | 273 | ||
274 | table.blob { | 274 | div#cgit table.blob { |
275 | margin-top: 0.5em; | 275 | margin-top: 0.5em; |
276 | border-top: solid 1px black; | 276 | border-top: solid 1px black; |
277 | } | 277 | } |
278 | 278 | ||
279 | table.blob td.lines { | 279 | div#cgit table.blob td.lines { |
280 | margin: 0; padding: 0 0 0 0.5em; | 280 | margin: 0; padding: 0 0 0 0.5em; |
281 | vertical-align: top; | 281 | vertical-align: top; |
282 | color: black; | 282 | color: black; |
283 | } | 283 | } |
284 | 284 | ||
285 | table.blob td.linenumbers { | 285 | div#cgit table.blob td.linenumbers { |
286 | margin: 0; padding: 0 0.5em 0 0.5em; | 286 | margin: 0; padding: 0 0.5em 0 0.5em; |
287 | vertical-align: top; | 287 | vertical-align: top; |
288 | text-align: right; | 288 | text-align: right; |
289 | border-right: 1px solid gray; | 289 | border-right: 1px solid gray; |
290 | } | 290 | } |
291 | 291 | ||
292 | table.blob pre { | 292 | div#cgit table.blob pre { |
293 | padding: 0; margin: 0; | 293 | padding: 0; margin: 0; |
294 | } | 294 | } |
295 | 295 | ||
296 | table.blob a.no, table.ssdiff a.no { | 296 | div#cgit table.blob a.no, div#cgit table.ssdiff a.no { |
297 | color: gray; | 297 | color: gray; |
298 | text-align: right; | 298 | text-align: right; |
299 | text-decoration: none; | 299 | text-decoration: none; |
300 | } | 300 | } |
301 | 301 | ||
302 | table.blob a.no a:hover { | 302 | div#cgit table.blob a.no a:hover { |
303 | color: black; | 303 | color: black; |
304 | } | 304 | } |
305 | 305 | ||
306 | table.bin-blob { | 306 | div#cgit table.bin-blob { |
307 | margin-top: 0.5em; | 307 | margin-top: 0.5em; |
308 | border: solid 1px black; | 308 | border: solid 1px black; |
309 | } | 309 | } |
310 | 310 | ||
311 | table.bin-blob th { | 311 | div#cgit table.bin-blob th { |
312 | font-family: monospace; | 312 | font-family: monospace; |
313 | white-space: pre; | 313 | white-space: pre; |
314 | border: solid 1px #777; | 314 | border: solid 1px #777; |
315 | padding: 0.5em 1em; | 315 | padding: 0.5em 1em; |
316 | } | 316 | } |
317 | 317 | ||
318 | table.bin-blob td { | 318 | div#cgit table.bin-blob td { |
319 | font-family: monospace; | 319 | font-family: monospace; |
320 | white-space: pre; | 320 | white-space: pre; |
321 | border-left: solid 1px #777; | 321 | border-left: solid 1px #777; |
322 | padding: 0em 1em; | 322 | padding: 0em 1em; |
323 | } | 323 | } |
324 | 324 | ||
325 | table.nowrap td { | 325 | div#cgit table.nowrap td { |
326 | white-space: nowrap; | 326 | white-space: nowrap; |
327 | } | 327 | } |
328 | 328 | ||
329 | table.commit-info { | 329 | div#cgit table.commit-info { |
330 | border-collapse: collapse; | 330 | border-collapse: collapse; |
331 | margin-top: 1.5em; | 331 | margin-top: 1.5em; |
332 | } | 332 | } |
333 | 333 | ||
334 | div.cgit-panel { | 334 | div#cgit div.cgit-panel { |
335 | float: right; | 335 | float: right; |
336 | margin-top: 1.5em; | 336 | margin-top: 1.5em; |
337 | } | 337 | } |
338 | 338 | ||
339 | div.cgit-panel table { | 339 | div#cgit div.cgit-panel table { |
340 | border-collapse: collapse; | 340 | border-collapse: collapse; |
341 | border: solid 1px #aaa; | 341 | border: solid 1px #aaa; |
342 | background-color: #eee; | 342 | background-color: #eee; |
343 | } | 343 | } |
344 | 344 | ||
345 | div.cgit-panel th { | 345 | div#cgit div.cgit-panel th { |
346 | text-align: center; | 346 | text-align: center; |
347 | } | 347 | } |
348 | 348 | ||
349 | div.cgit-panel td { | 349 | div#cgit div.cgit-panel td { |
350 | padding: 0.25em 0.5em; | 350 | padding: 0.25em 0.5em; |
351 | } | 351 | } |
352 | 352 | ||
353 | div.cgit-panel td.label { | 353 | div#cgit div.cgit-panel td.label { |
354 | padding-right: 0.5em; | 354 | padding-right: 0.5em; |
355 | } | 355 | } |
356 | 356 | ||
357 | div.cgit-panel td.ctrl { | 357 | div#cgit div.cgit-panel td.ctrl { |
358 | padding-left: 0.5em; | 358 | padding-left: 0.5em; |
359 | } | 359 | } |
360 | 360 | ||
361 | table.commit-info th { | 361 | div#cgit table.commit-info th { |
362 | text-align: left; | 362 | text-align: left; |
363 | font-weight: normal; | 363 | font-weight: normal; |
364 | padding: 0.1em 1em 0.1em 0.1em; | 364 | padding: 0.1em 1em 0.1em 0.1em; |
365 | vertical-align: top; | 365 | vertical-align: top; |
366 | } | 366 | } |
367 | 367 | ||
368 | table.commit-info td { | 368 | div#cgit table.commit-info td { |
369 | font-weight: normal; | 369 | font-weight: normal; |
370 | padding: 0.1em 1em 0.1em 0.1em; | 370 | padding: 0.1em 1em 0.1em 0.1em; |
371 | } | 371 | } |
372 | 372 | ||
373 | div.commit-subject { | 373 | div#cgit div.commit-subject { |
374 | font-weight: bold; | 374 | font-weight: bold; |
375 | font-size: 125%; | 375 | font-size: 125%; |
376 | margin: 1.5em 0em 0.5em 0em; | 376 | margin: 1.5em 0em 0.5em 0em; |
377 | padding: 0em; | 377 | padding: 0em; |
378 | } | 378 | } |
379 | 379 | ||
380 | div.commit-msg { | 380 | div#cgit div.commit-msg { |
381 | white-space: pre; | 381 | white-space: pre; |
382 | font-family: monospace; | 382 | font-family: monospace; |
383 | } | 383 | } |
384 | 384 | ||
385 | div.notes-header { | 385 | div#cgit div.notes-header { |
386 | font-weight: bold; | 386 | font-weight: bold; |
387 | padding-top: 1.5em; | 387 | padding-top: 1.5em; |
388 | } | 388 | } |
389 | 389 | ||
390 | div.notes { | 390 | div#cgit div.notes { |
391 | white-space: pre; | 391 | white-space: pre; |
392 | font-family: monospace; | 392 | font-family: monospace; |
393 | border: solid 1px #ee9; | 393 | border: solid 1px #ee9; |
@@ -396,22 +396,22 @@ div.notes { | |||
396 | float: left; | 396 | float: left; |
397 | } | 397 | } |
398 | 398 | ||
399 | div.notes-footer { | 399 | div#cgit div.notes-footer { |
400 | clear: left; | 400 | clear: left; |
401 | } | 401 | } |
402 | 402 | ||
403 | div.diffstat-header { | 403 | div#cgit div.diffstat-header { |
404 | font-weight: bold; | 404 | font-weight: bold; |
405 | padding-top: 1.5em; | 405 | padding-top: 1.5em; |
406 | } | 406 | } |
407 | 407 | ||
408 | table.diffstat { | 408 | div#cgit table.diffstat { |
409 | border-collapse: collapse; | 409 | border-collapse: collapse; |
410 | border: solid 1px #aaa; | 410 | border: solid 1px #aaa; |
411 | background-color: #eee; | 411 | background-color: #eee; |
412 | } | 412 | } |
413 | 413 | ||
414 | table.diffstat th { | 414 | div#cgit table.diffstat th { |
415 | font-weight: normal; | 415 | font-weight: normal; |
416 | text-align: left; | 416 | text-align: left; |
417 | text-decoration: underline; | 417 | text-decoration: underline; |
@@ -419,282 +419,282 @@ table.diffstat th { | |||
419 | font-size: 100%; | 419 | font-size: 100%; |
420 | } | 420 | } |
421 | 421 | ||
422 | table.diffstat td { | 422 | div#cgit table.diffstat td { |
423 | padding: 0.2em 0.2em 0.1em 0.1em; | 423 | padding: 0.2em 0.2em 0.1em 0.1em; |
424 | font-size: 100%; | 424 | font-size: 100%; |
425 | border: none; | 425 | border: none; |
426 | } | 426 | } |
427 | 427 | ||
428 | table.diffstat td.mode { | 428 | div#cgit table.diffstat td.mode { |
429 | white-space: nowrap; | 429 | white-space: nowrap; |
430 | } | 430 | } |
431 | 431 | ||
432 | table.diffstat td span.modechange { | 432 | div#cgit table.diffstat td span.modechange { |
433 | padding-left: 1em; | 433 | padding-left: 1em; |
434 | color: red; | 434 | color: red; |
435 | } | 435 | } |
436 | 436 | ||
437 | table.diffstat td.add a { | 437 | div#cgit table.diffstat td.add a { |
438 | color: green; | 438 | color: green; |
439 | } | 439 | } |
440 | 440 | ||
441 | table.diffstat td.del a { | 441 | div#cgit table.diffstat td.del a { |
442 | color: red; | 442 | color: red; |
443 | } | 443 | } |
444 | 444 | ||
445 | table.diffstat td.upd a { | 445 | div#cgit table.diffstat td.upd a { |
446 | color: blue; | 446 | color: blue; |
447 | } | 447 | } |
448 | 448 | ||
449 | table.diffstat td.graph { | 449 | div#cgit table.diffstat td.graph { |
450 | width: 500px; | 450 | width: 500px; |
451 | vertical-align: middle; | 451 | vertical-align: middle; |
452 | } | 452 | } |
453 | 453 | ||
454 | table.diffstat td.graph table { | 454 | div#cgit table.diffstat td.graph table { |
455 | border: none; | 455 | border: none; |
456 | } | 456 | } |
457 | 457 | ||
458 | table.diffstat td.graph td { | 458 | div#cgit table.diffstat td.graph td { |
459 | padding: 0px; | 459 | padding: 0px; |
460 | border: 0px; | 460 | border: 0px; |
461 | height: 7pt; | 461 | height: 7pt; |
462 | } | 462 | } |
463 | 463 | ||
464 | table.diffstat td.graph td.add { | 464 | div#cgit table.diffstat td.graph td.add { |
465 | background-color: #5c5; | 465 | background-color: #5c5; |
466 | } | 466 | } |
467 | 467 | ||
468 | table.diffstat td.graph td.rem { | 468 | div#cgit table.diffstat td.graph td.rem { |
469 | background-color: #c55; | 469 | background-color: #c55; |
470 | } | 470 | } |
471 | 471 | ||
472 | div.diffstat-summary { | 472 | div#cgit div.diffstat-summary { |
473 | color: #888; | 473 | color: #888; |
474 | padding-top: 0.5em; | 474 | padding-top: 0.5em; |
475 | } | 475 | } |
476 | 476 | ||
477 | table.diff { | 477 | div#cgit table.diff { |
478 | width: 100%; | 478 | width: 100%; |
479 | } | 479 | } |
480 | 480 | ||
481 | table.diff td { | 481 | div#cgit table.diff td { |
482 | font-family: monospace; | 482 | font-family: monospace; |
483 | white-space: pre; | 483 | white-space: pre; |
484 | } | 484 | } |
485 | 485 | ||
486 | table.diff td div.head { | 486 | div#cgit table.diff td div.head { |
487 | font-weight: bold; | 487 | font-weight: bold; |
488 | margin-top: 1em; | 488 | margin-top: 1em; |
489 | color: black; | 489 | color: black; |
490 | } | 490 | } |
491 | 491 | ||
492 | table.diff td div.hunk { | 492 | div#cgit table.diff td div.hunk { |
493 | color: #009; | 493 | color: #009; |
494 | } | 494 | } |
495 | 495 | ||
496 | table.diff td div.add { | 496 | div#cgit table.diff td div.add { |
497 | color: green; | 497 | color: green; |
498 | } | 498 | } |
499 | 499 | ||
500 | table.diff td div.del { | 500 | div#cgit table.diff td div.del { |
501 | color: red; | 501 | color: red; |
502 | } | 502 | } |
503 | 503 | ||
504 | .sha1 { | 504 | div#cgit .sha1 { |
505 | font-family: monospace; | 505 | font-family: monospace; |
506 | font-size: 90%; | 506 | font-size: 90%; |
507 | } | 507 | } |
508 | 508 | ||
509 | .left { | 509 | div#cgit .left { |
510 | text-align: left; | 510 | text-align: left; |
511 | } | 511 | } |
512 | 512 | ||
513 | .right { | 513 | div#cgit .right { |
514 | text-align: right; | 514 | text-align: right; |
515 | } | 515 | } |
516 | 516 | ||
517 | table.list td.reposection { | 517 | div#cgit table.list td.reposection { |
518 | font-style: italic; | 518 | font-style: italic; |
519 | color: #888; | 519 | color: #888; |
520 | } | 520 | } |
521 | 521 | ||
522 | a.button { | 522 | div#cgit a.button { |
523 | font-size: 80%; | 523 | font-size: 80%; |
524 | padding: 0em 0.5em; | 524 | padding: 0em 0.5em; |
525 | } | 525 | } |
526 | 526 | ||
527 | a.primary { | 527 | div#cgit a.primary { |
528 | font-size: 100%; | 528 | font-size: 100%; |
529 | } | 529 | } |
530 | 530 | ||
531 | a.secondary { | 531 | div#cgit a.secondary { |
532 | font-size: 90%; | 532 | font-size: 90%; |
533 | } | 533 | } |
534 | 534 | ||
535 | td.toplevel-repo { | 535 | div#cgit td.toplevel-repo { |
536 | 536 | ||
537 | } | 537 | } |
538 | 538 | ||
539 | table.list td.sublevel-repo { | 539 | div#cgit table.list td.sublevel-repo { |
540 | padding-left: 1.5em; | 540 | padding-left: 1.5em; |
541 | } | 541 | } |
542 | 542 | ||
543 | div.pager { | 543 | div#cgit div.pager { |
544 | text-align: center; | 544 | text-align: center; |
545 | margin: 1em 0em 0em 0em; | 545 | margin: 1em 0em 0em 0em; |
546 | } | 546 | } |
547 | 547 | ||
548 | div.pager a { | 548 | div#cgit div.pager a { |
549 | color: #777; | 549 | color: #777; |
550 | margin: 0em 0.5em; | 550 | margin: 0em 0.5em; |
551 | } | 551 | } |
552 | 552 | ||
553 | span.age-mins { | 553 | div#cgit span.age-mins { |
554 | font-weight: bold; | 554 | font-weight: bold; |
555 | color: #080; | 555 | color: #080; |
556 | } | 556 | } |
557 | 557 | ||
558 | span.age-hours { | 558 | div#cgit span.age-hours { |
559 | color: #080; | 559 | color: #080; |
560 | } | 560 | } |
561 | 561 | ||
562 | span.age-days { | 562 | div#cgit span.age-days { |
563 | color: #040; | 563 | color: #040; |
564 | } | 564 | } |
565 | 565 | ||
566 | span.age-weeks { | 566 | div#cgit span.age-weeks { |
567 | color: #444; | 567 | color: #444; |
568 | } | 568 | } |
569 | 569 | ||
570 | span.age-months { | 570 | div#cgit span.age-months { |
571 | color: #888; | 571 | color: #888; |
572 | } | 572 | } |
573 | 573 | ||
574 | span.age-years { | 574 | div#cgit span.age-years { |
575 | color: #bbb; | 575 | color: #bbb; |
576 | } | 576 | } |
577 | div.footer { | 577 | div#cgit div.footer { |
578 | margin-top: 0.5em; | 578 | margin-top: 0.5em; |
579 | text-align: center; | 579 | text-align: center; |
580 | font-size: 80%; | 580 | font-size: 80%; |
581 | color: #ccc; | 581 | color: #ccc; |
582 | } | 582 | } |
583 | a.branch-deco { | 583 | div#cgit a.branch-deco { |
584 | margin: 0px 0.5em; | 584 | margin: 0px 0.5em; |
585 | padding: 0px 0.25em; | 585 | padding: 0px 0.25em; |
586 | background-color: #88ff88; | 586 | background-color: #88ff88; |
587 | border: solid 1px #007700; | 587 | border: solid 1px #007700; |
588 | } | 588 | } |
589 | a.tag-deco { | 589 | div#cgit a.tag-deco { |
590 | margin: 0px 0.5em; | 590 | margin: 0px 0.5em; |
591 | padding: 0px 0.25em; | 591 | padding: 0px 0.25em; |
592 | background-color: #ffff88; | 592 | background-color: #ffff88; |
593 | border: solid 1px #777700; | 593 | border: solid 1px #777700; |
594 | } | 594 | } |
595 | a.remote-deco { | 595 | div#cgit a.remote-deco { |
596 | margin: 0px 0.5em; | 596 | margin: 0px 0.5em; |
597 | padding: 0px 0.25em; | 597 | padding: 0px 0.25em; |
598 | background-color: #ccccff; | 598 | background-color: #ccccff; |
599 | border: solid 1px #000077; | 599 | border: solid 1px #000077; |
600 | } | 600 | } |
601 | a.deco { | 601 | div#cgit a.deco { |
602 | margin: 0px 0.5em; | 602 | margin: 0px 0.5em; |
603 | padding: 0px 0.25em; | 603 | padding: 0px 0.25em; |
604 | background-color: #ff8888; | 604 | background-color: #ff8888; |
605 | border: solid 1px #770000; | 605 | border: solid 1px #770000; |
606 | } | 606 | } |
607 | 607 | ||
608 | div.commit-subject a.branch-deco, | 608 | div#cgit div.commit-subject a.branch-deco, |
609 | div.commit-subject a.tag-deco, | 609 | div#cgit div.commit-subject a.tag-deco, |
610 | div.commit-subject a.remote-deco, | 610 | div#cgit div.commit-subject a.remote-deco, |
611 | div.commit-subject a.deco { | 611 | div#cgit div.commit-subject a.deco { |
612 | margin-left: 1em; | 612 | margin-left: 1em; |
613 | font-size: 75%; | 613 | font-size: 75%; |
614 | } | 614 | } |
615 | 615 | ||
616 | table.stats { | 616 | div#cgit table.stats { |
617 | border: solid 1px black; | 617 | border: solid 1px black; |
618 | border-collapse: collapse; | 618 | border-collapse: collapse; |
619 | } | 619 | } |
620 | 620 | ||
621 | table.stats th { | 621 | div#cgit table.stats th { |
622 | text-align: left; | 622 | text-align: left; |
623 | padding: 1px 0.5em; | 623 | padding: 1px 0.5em; |
624 | background-color: #eee; | 624 | background-color: #eee; |
625 | border: solid 1px black; | 625 | border: solid 1px black; |
626 | } | 626 | } |
627 | 627 | ||
628 | table.stats td { | 628 | div#cgit table.stats td { |
629 | text-align: right; | 629 | text-align: right; |
630 | padding: 1px 0.5em; | 630 | padding: 1px 0.5em; |
631 | border: solid 1px black; | 631 | border: solid 1px black; |
632 | } | 632 | } |
633 | 633 | ||
634 | table.stats td.total { | 634 | div#cgit table.stats td.total { |
635 | font-weight: bold; | 635 | font-weight: bold; |
636 | text-align: left; | 636 | text-align: left; |
637 | } | 637 | } |
638 | 638 | ||
639 | table.stats td.sum { | 639 | div#cgit table.stats td.sum { |
640 | color: #c00; | 640 | color: #c00; |
641 | font-weight: bold; | 641 | font-weight: bold; |
642 | /* background-color: #eee; */ | 642 | /* background-color: #eee; */ |
643 | } | 643 | } |
644 | 644 | ||
645 | table.stats td.left { | 645 | div#cgit table.stats td.left { |
646 | text-align: left; | 646 | text-align: left; |
647 | } | 647 | } |
648 | 648 | ||
649 | table.vgraph { | 649 | div#cgit table.vgraph { |
650 | border-collapse: separate; | 650 | border-collapse: separate; |
651 | border: solid 1px black; | 651 | border: solid 1px black; |
652 | height: 200px; | 652 | height: 200px; |
653 | } | 653 | } |
654 | 654 | ||
655 | table.vgraph th { | 655 | div#cgit table.vgraph th { |
656 | background-color: #eee; | 656 | background-color: #eee; |
657 | font-weight: bold; | 657 | font-weight: bold; |
658 | border: solid 1px white; | 658 | border: solid 1px white; |
659 | padding: 1px 0.5em; | 659 | padding: 1px 0.5em; |
660 | } | 660 | } |
661 | 661 | ||
662 | table.vgraph td { | 662 | div#cgit table.vgraph td { |
663 | vertical-align: bottom; | 663 | vertical-align: bottom; |
664 | padding: 0px 10px; | 664 | padding: 0px 10px; |
665 | } | 665 | } |
666 | 666 | ||
667 | table.vgraph div.bar { | 667 | div#cgit table.vgraph div.bar { |
668 | background-color: #eee; | 668 | background-color: #eee; |
669 | } | 669 | } |
670 | 670 | ||
671 | table.hgraph { | 671 | div#cgit table.hgraph { |
672 | border: solid 1px black; | 672 | border: solid 1px black; |
673 | width: 800px; | 673 | width: 800px; |
674 | } | 674 | } |
675 | 675 | ||
676 | table.hgraph th { | 676 | div#cgit table.hgraph th { |
677 | background-color: #eee; | 677 | background-color: #eee; |
678 | font-weight: bold; | 678 | font-weight: bold; |
679 | border: solid 1px black; | 679 | border: solid 1px black; |
680 | padding: 1px 0.5em; | 680 | padding: 1px 0.5em; |
681 | } | 681 | } |
682 | 682 | ||
683 | table.hgraph td { | 683 | div#cgit table.hgraph td { |
684 | vertical-align: middle; | 684 | vertical-align: middle; |
685 | padding: 2px 2px; | 685 | padding: 2px 2px; |
686 | } | 686 | } |
687 | 687 | ||
688 | table.hgraph div.bar { | 688 | div#cgit table.hgraph div.bar { |
689 | background-color: #eee; | 689 | background-color: #eee; |
690 | height: 1em; | 690 | height: 1em; |
691 | } | 691 | } |
692 | 692 | ||
693 | table.ssdiff { | 693 | div#cgit table.ssdiff { |
694 | width: 100%; | 694 | width: 100%; |
695 | } | 695 | } |
696 | 696 | ||
697 | table.ssdiff td { | 697 | div#cgit table.ssdiff td { |
698 | font-size: 75%; | 698 | font-size: 75%; |
699 | font-family: monospace; | 699 | font-family: monospace; |
700 | white-space: pre; | 700 | white-space: pre; |
@@ -703,53 +703,53 @@ table.ssdiff td { | |||
703 | border-right: solid 1px #aaa; | 703 | border-right: solid 1px #aaa; |
704 | } | 704 | } |
705 | 705 | ||
706 | table.ssdiff td.add { | 706 | div#cgit table.ssdiff td.add { |
707 | color: black; | 707 | color: black; |
708 | background: #cfc; | 708 | background: #cfc; |
709 | min-width: 50%; | 709 | min-width: 50%; |
710 | } | 710 | } |
711 | 711 | ||
712 | table.ssdiff td.add_dark { | 712 | div#cgit table.ssdiff td.add_dark { |
713 | color: black; | 713 | color: black; |
714 | background: #aca; | 714 | background: #aca; |
715 | min-width: 50%; | 715 | min-width: 50%; |
716 | } | 716 | } |
717 | 717 | ||
718 | table.ssdiff span.add { | 718 | div#cgit table.ssdiff span.add { |
719 | background: #cfc; | 719 | background: #cfc; |
720 | font-weight: bold; | 720 | font-weight: bold; |
721 | } | 721 | } |
722 | 722 | ||
723 | table.ssdiff td.del { | 723 | div#cgit table.ssdiff td.del { |
724 | color: black; | 724 | color: black; |
725 | background: #fcc; | 725 | background: #fcc; |
726 | min-width: 50%; | 726 | min-width: 50%; |
727 | } | 727 | } |
728 | 728 | ||
729 | table.ssdiff td.del_dark { | 729 | div#cgit table.ssdiff td.del_dark { |
730 | color: black; | 730 | color: black; |
731 | background: #caa; | 731 | background: #caa; |
732 | min-width: 50%; | 732 | min-width: 50%; |
733 | } | 733 | } |
734 | 734 | ||
735 | table.ssdiff span.del { | 735 | div#cgit table.ssdiff span.del { |
736 | background: #fcc; | 736 | background: #fcc; |
737 | font-weight: bold; | 737 | font-weight: bold; |
738 | } | 738 | } |
739 | 739 | ||
740 | table.ssdiff td.changed { | 740 | div#cgit table.ssdiff td.changed { |
741 | color: black; | 741 | color: black; |
742 | background: #ffc; | 742 | background: #ffc; |
743 | min-width: 50%; | 743 | min-width: 50%; |
744 | } | 744 | } |
745 | 745 | ||
746 | table.ssdiff td.changed_dark { | 746 | div#cgit table.ssdiff td.changed_dark { |
747 | color: black; | 747 | color: black; |
748 | background: #cca; | 748 | background: #cca; |
749 | min-width: 50%; | 749 | min-width: 50%; |
750 | } | 750 | } |
751 | 751 | ||
752 | table.ssdiff td.lineno { | 752 | div#cgit table.ssdiff td.lineno { |
753 | color: black; | 753 | color: black; |
754 | background: #eee; | 754 | background: #eee; |
755 | text-align: right; | 755 | text-align: right; |
@@ -757,48 +757,48 @@ table.ssdiff td.lineno { | |||
757 | min-width: 3em; | 757 | min-width: 3em; |
758 | } | 758 | } |
759 | 759 | ||
760 | table.ssdiff td.hunk { | 760 | div#cgit table.ssdiff td.hunk { |
761 | color: black; | 761 | color: black; |
762 | background: #ccf; | 762 | background: #ccf; |
763 | border-top: solid 1px #aaa; | 763 | border-top: solid 1px #aaa; |
764 | border-bottom: solid 1px #aaa; | 764 | border-bottom: solid 1px #aaa; |
765 | } | 765 | } |
766 | 766 | ||
767 | table.ssdiff td.head { | 767 | div#cgit table.ssdiff td.head { |
768 | border-top: solid 1px #aaa; | 768 | border-top: solid 1px #aaa; |
769 | border-bottom: solid 1px #aaa; | 769 | border-bottom: solid 1px #aaa; |
770 | } | 770 | } |
771 | 771 | ||
772 | table.ssdiff td.head div.head { | 772 | div#cgit table.ssdiff td.head div.head { |
773 | font-weight: bold; | 773 | font-weight: bold; |
774 | color: black; | 774 | color: black; |
775 | } | 775 | } |
776 | 776 | ||
777 | table.ssdiff td.foot { | 777 | div#cgit table.ssdiff td.foot { |
778 | border-top: solid 1px #aaa; | 778 | border-top: solid 1px #aaa; |
779 | border-left: none; | 779 | border-left: none; |
780 | border-right: none; | 780 | border-right: none; |
781 | border-bottom: none; | 781 | border-bottom: none; |
782 | } | 782 | } |
783 | 783 | ||
784 | table.ssdiff td.space { | 784 | div#cgit table.ssdiff td.space { |
785 | border: none; | 785 | border: none; |
786 | } | 786 | } |
787 | 787 | ||
788 | table.ssdiff td.space div { | 788 | div#cgit table.ssdiff td.space div { |
789 | min-height: 3em; | 789 | min-height: 3em; |
790 | } | 790 | } |
791 | 791 | ||
792 | /* Syntax highlighting */ | 792 | /* Syntax highlighting */ |
793 | table.blob .num { color:#2928ff; } | 793 | div#cgit table.blob .num { color:#2928ff; } |
794 | table.blob .esc { color:#ff00ff; } | 794 | div#cgit table.blob .esc { color:#ff00ff; } |
795 | table.blob .str { color:#ff0000; } | 795 | div#cgit table.blob .str { color:#ff0000; } |
796 | table.blob .dstr { color:#818100; } | 796 | div#cgit table.blob .dstr { color:#818100; } |
797 | table.blob .slc { color:#838183; font-style:italic; } | 797 | div#cgit table.blob .slc { color:#838183; font-style:italic; } |
798 | table.blob .com { color:#838183; font-style:italic; } | 798 | div#cgit table.blob .com { color:#838183; font-style:italic; } |
799 | table.blob .dir { color:#008200; } | 799 | div#cgit table.blob .dir { color:#008200; } |
800 | table.blob .sym { color:#000000; } | 800 | div#cgit table.blob .sym { color:#000000; } |
801 | table.blob .kwa { color:#000000; font-weight:bold; } | 801 | div#cgit table.blob .kwa { color:#000000; font-weight:bold; } |
802 | table.blob .kwb { color:#830000; } | 802 | div#cgit table.blob .kwb { color:#830000; } |
803 | table.blob .kwc { color:#000000; font-weight:bold; } | 803 | div#cgit table.blob .kwc { color:#000000; font-weight:bold; } |
804 | table.blob .kwd { color:#010181; } | 804 | div#cgit table.blob .kwd { color:#010181; } |