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