summaryrefslogtreecommitdiffabout
path: root/cgit.css
Unidiff
Diffstat (limited to 'cgit.css') (more/less context) (ignore whitespace changes)
-rw-r--r--cgit.css17
1 files changed, 4 insertions, 13 deletions
diff --git a/cgit.css b/cgit.css
index 30fde03..cda437e 100644
--- a/cgit.css
+++ b/cgit.css
@@ -1,390 +1,381 @@
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#logo { 98td#logo {
99 text-align: right; 99 text-align: right;
100 vertical-align: middle; 100 vertical-align: middle;
101 padding-right: 0.5em; 101 padding-right: 0.5em;
102} 102}
103 103
104td#crumb, td#search { 104td#crumb, td#search {
105 color: #ccc; 105 color: #ccc;
106 border-top: solid 3px #555; 106 border-top: solid 3px #555;
107 background-color: #666; 107 background-color: #666;
108 border-bottom: solid 1px #333; 108 border-bottom: solid 1px #333;
109 padding: 2px 1em; 109 padding: 2px 1em;
110} 110}
111 111
112td#crumb { 112td#crumb {
113 font-weight: bold; 113 font-weight: bold;
114} 114}
115 115
116td#crumb a { 116td#crumb a {
117 color: #ccc; 117 color: #ccc;
118 background-color: #666; 118 background-color: #666;
119} 119}
120 120
121td#crumb a:hover { 121td#crumb a:hover {
122 color: #eee; 122 color: #eee;
123 background-color: #666; 123 background-color: #666;
124} 124}
125 125
126td#search { 126td#search {
127 text-align: right; 127 text-align: right;
128 vertical-align: middle; 128 vertical-align: middle;
129 padding-right: 0.5em; 129 padding-right: 0.5em;
130} 130}
131 131
132td#search form { 132td#search form {
133 margin: 0px; 133 margin: 0px;
134 padding: 0px; 134 padding: 0px;
135} 135}
136 136
137td#search input { 137td#search input {
138 font-size: 9pt; 138 font-size: 9pt;
139 padding: 0px; 139 padding: 0px;
140 width: 10em; 140 width: 10em;
141 border: solid 1px #333; 141 border: solid 1px #333;
142 color: #333; 142 color: #333;
143 background-color: #fff; 143 background-color: #fff;
144} 144}
145 145
146div#summary { 146div#summary {
147 vertical-align: top; 147 vertical-align: top;
148 margin-bottom: 1em; 148 margin-bottom: 1em;
149} 149}
150 150
151table#downloads { 151table#downloads {
152 float: right; 152 float: right;
153 border-collapse: collapse; 153 border-collapse: collapse;
154 border: solid 1px #777; 154 border: solid 1px #777;
155 margin-left: 0.5em; 155 margin-left: 0.5em;
156 margin-bottom: 0.5em; 156 margin-bottom: 0.5em;
157} 157}
158 158
159table#downloads th { 159table#downloads th {
160 background-color: #ccc; 160 background-color: #ccc;
161} 161}
162 162
163td#content { 163td#content {
164 padding: 1em 0.5em; 164 padding: 1em 0.5em;
165} 165}
166 166
167div#blob { 167div#blob {
168 border: solid 1px black; 168 border: solid 1px black;
169} 169}
170 170
171div.error { 171div.error {
172 color: red; 172 color: red;
173 font-weight: bold; 173 font-weight: bold;
174 margin: 1em 2em; 174 margin: 1em 2em;
175} 175}
176 176
177td.ls-blob, td.ls-dir, td.ls-mod { 177a.ls-blob, a.ls-dir, a.ls-mod {
178 font-family: monospace; 178 font-family: monospace;
179} 179}
180 180
181div.ls-dir a { 181td.ls-size {
182 font-weight: bold;
183}
184
185th.filesize, td.filesize {
186 text-align: right; 182 text-align: right;
187} 183}
188 184
189td.filesize { 185td.ls-size {
190 font-family: monospace; 186 font-family: monospace;
191} 187}
192 188
193td.links { 189td.ls-mode {
194 font-size: 80%;
195 padding-left: 2em;
196}
197
198td.filemode {
199 font-family: monospace; 190 font-family: monospace;
200} 191}
201 192
202table.blob { 193table.blob {
203 margin-top: 0.5em; 194 margin-top: 0.5em;
204 border-top: solid 1px black; 195 border-top: solid 1px black;
205} 196}
206 197
207table.blob td.no { 198table.blob td.no {
208 border-right: solid 1px black; 199 border-right: solid 1px black;
209 color: black; 200 color: black;
210 background-color: #eee; 201 background-color: #eee;
211 text-align: right; 202 text-align: right;
212} 203}
213 204
214table.blob td.txt { 205table.blob td.txt {
215 white-space: pre; 206 white-space: pre;
216 font-family: monospace; 207 font-family: monospace;
217 padding-left: 0.5em; 208 padding-left: 0.5em;
218} 209}
219 210
220table.nowrap td { 211table.nowrap td {
221 white-space: nowrap; 212 white-space: nowrap;
222} 213}
223 214
224table.commit-info { 215table.commit-info {
225 border-collapse: collapse; 216 border-collapse: collapse;
226 margin-top: 1.5em; 217 margin-top: 1.5em;
227} 218}
228 219
229table.commit-info th { 220table.commit-info th {
230 text-align: left; 221 text-align: left;
231 font-weight: normal; 222 font-weight: normal;
232 padding: 0.1em 1em 0.1em 0.1em; 223 padding: 0.1em 1em 0.1em 0.1em;
233} 224}
234 225
235table.commit-info td { 226table.commit-info td {
236 font-weight: normal; 227 font-weight: normal;
237 padding: 0.1em 1em 0.1em 0.1em; 228 padding: 0.1em 1em 0.1em 0.1em;
238} 229}
239 230
240div.commit-subject { 231div.commit-subject {
241 font-weight: bold; 232 font-weight: bold;
242 font-size: 125%; 233 font-size: 125%;
243 margin: 1.5em 0em 0.5em 0em; 234 margin: 1.5em 0em 0.5em 0em;
244 padding: 0em; 235 padding: 0em;
245} 236}
246 237
247div.commit-msg { 238div.commit-msg {
248 white-space: pre; 239 white-space: pre;
249 font-family: monospace; 240 font-family: monospace;
250} 241}
251 242
252div.diffstat-header { 243div.diffstat-header {
253 font-weight: bold; 244 font-weight: bold;
254 padding-top: 1.5em; 245 padding-top: 1.5em;
255} 246}
256 247
257table.diffstat { 248table.diffstat {
258 border-collapse: collapse; 249 border-collapse: collapse;
259 width: 100%; 250 width: 100%;
260 border: solid 1px #aaa; 251 border: solid 1px #aaa;
261 background-color: #eee; 252 background-color: #eee;
262} 253}
263 254
264table.diffstat tr:hover { 255table.diffstat tr:hover {
265 background-color: #ccc; 256 background-color: #ccc;
266} 257}
267 258
268table.diffstat th { 259table.diffstat th {
269 font-weight: normal; 260 font-weight: normal;
270 text-align: left; 261 text-align: left;
271 text-decoration: underline; 262 text-decoration: underline;
272 padding: 0.1em 1em 0.1em 0.1em; 263 padding: 0.1em 1em 0.1em 0.1em;
273 font-size: 100%; 264 font-size: 100%;
274} 265}
275 266
276table.diffstat td { 267table.diffstat td {
277 padding: 0.2em 0.2em 0.1em 0.1em; 268 padding: 0.2em 0.2em 0.1em 0.1em;
278 font-size: 100%; 269 font-size: 100%;
279 border: none; 270 border: none;
280} 271}
281 272
282table.diffstat td.mode { 273table.diffstat td.mode {
283 white-space: nowrap; 274 white-space: nowrap;
284} 275}
285 276
286table.diffstat td span.modechange { 277table.diffstat td span.modechange {
287 padding-left: 1em; 278 padding-left: 1em;
288 color: red; 279 color: red;
289} 280}
290 281
291table.diffstat td.add a { 282table.diffstat td.add a {
292 color: green; 283 color: green;
293} 284}
294 285
295table.diffstat td.del a { 286table.diffstat td.del a {
296 color: red; 287 color: red;
297} 288}
298 289
299table.diffstat td.upd a { 290table.diffstat td.upd a {
300 color: blue; 291 color: blue;
301} 292}
302 293
303table.diffstat td.graph { 294table.diffstat td.graph {
304 width: 75%; 295 width: 75%;
305 vertical-align: middle; 296 vertical-align: middle;
306} 297}
307 298
308table.diffstat td.graph table { 299table.diffstat td.graph table {
309 border: none; 300 border: none;
310} 301}
311 302
312table.diffstat td.graph td { 303table.diffstat td.graph td {
313 padding: 0px; 304 padding: 0px;
314 border: 0px; 305 border: 0px;
315 height: 7pt; 306 height: 7pt;
316} 307}
317 308
318table.diffstat td.graph td.add { 309table.diffstat td.graph td.add {
319 background-color: #5c5; 310 background-color: #5c5;
320} 311}
321 312
322table.diffstat td.graph td.rem { 313table.diffstat td.graph td.rem {
323 background-color: #c55; 314 background-color: #c55;
324} 315}
325 316
326div.diffstat-summary { 317div.diffstat-summary {
327 color: #888; 318 color: #888;
328 padding-top: 0.5em; 319 padding-top: 0.5em;
329} 320}
330 321
331table.diff td { 322table.diff td {
332 font-family: monospace; 323 font-family: monospace;
333 white-space: pre; 324 white-space: pre;
334} 325}
335 326
336table.diff td div.head { 327table.diff td div.head {
337 font-weight: bold; 328 font-weight: bold;
338 padding-top: 1em; 329 padding-top: 1em;
339} 330}
340 331
341table.diff td div.hunk { 332table.diff td div.hunk {
342 color: #009; 333 color: #009;
343} 334}
344 335
345table.diff td div.add { 336table.diff td div.add {
346 color: green; 337 color: green;
347} 338}
348 339
349table.diff td div.del { 340table.diff td div.del {
350 color: red; 341 color: red;
351} 342}
352 343
353.sha1 { 344.sha1 {
354 font-family: monospace; 345 font-family: monospace;
355 font-size: 90%; 346 font-size: 90%;
356} 347}
357 348
358.left { 349.left {
359 text-align: left; 350 text-align: left;
360} 351}
361 352
362.right { 353.right {
363 text-align: right; 354 text-align: right;
364} 355}
365 356
366table.list td.repogroup { 357table.list td.repogroup {
367 font-style: italic; 358 font-style: italic;
368 color: #888; 359 color: #888;
369} 360}
370 361
371a.button { 362a.button {
372 font-size: 80%; 363 font-size: 80%;
373 color: #333; 364 color: #333;
374 background-color: #ccc; 365 background-color: #ccc;
375 border: solid 1px #999; 366 border: solid 1px #999;
376 padding: 0em 0.5em; 367 padding: 0em 0.5em;
377 margin: 0.1em 0.25em; 368 margin: 0.1em 0.25em;
378} 369}
379 370
380a.button:hover { 371a.button:hover {
381 text-decoration: none; 372 text-decoration: none;
382 background-color: #eee; 373 background-color: #eee;
383} 374}
384 375
385a.primary { 376a.primary {
386 font-size: 100%; 377 font-size: 100%;
387} 378}
388 379
389a.secondary { 380a.secondary {
390 font-size: 90%; 381 font-size: 90%;