aboutsummaryrefslogtreecommitdiffstats
path: root/cgit.css
diff options
context:
space:
mode:
Diffstat (limited to 'cgit.css')
-rw-r--r--cgit.css75
1 files changed, 49 insertions, 26 deletions
diff --git a/cgit.css b/cgit.css
index 8977533..54bbfcc 100644
--- a/cgit.css
+++ b/cgit.css
@@ -1,6 +1,7 @@
1body { 1body {
2 font-family: arial; 2 font-family: arial, sans-serif;
3 font-size: 11pt; 3 font-size: 11pt;
4 color: black;
4 background: white; 5 background: white;
5} 6}
6 7
@@ -94,6 +95,14 @@ td#header {
94 vertical-align: text-bottom; 95 vertical-align: text-bottom;
95} 96}
96 97
98td#header a {
99 color: #666;
100}
101
102td#header a:hoved {
103 text-decoration: underline;
104}
105
97td#logo { 106td#logo {
98 text-align: right; 107 text-align: right;
99 vertical-align: middle; 108 vertical-align: middle;
@@ -114,15 +123,19 @@ td#crumb {
114 123
115td#crumb a { 124td#crumb a {
116 color: #ccc; 125 color: #ccc;
126 background-color: #666;
127 padding: 0em 0.5em 0em 0.5em;
117} 128}
118 129
119td#crumb a:hover { 130td#crumb a:hover {
120 color: #eee; 131 color: #666;
132 background-color: #ccc;
133 text-decoration: none;
121} 134}
122 135
123td#search { 136td#search {
124 text-align: right; 137 text-align: right;
125 vertical-align: center; 138 vertical-align: middle;
126 padding-right: 0.5em; 139 padding-right: 0.5em;
127} 140}
128 141
@@ -171,35 +184,47 @@ div.error {
171 margin: 1em 2em; 184 margin: 1em 2em;
172} 185}
173 186
174td.ls-blob, td.ls-dir, td.ls-mod { 187a.ls-blob, a.ls-dir, a.ls-mod {
175 font-family: monospace; 188 font-family: monospace;
176} 189}
177 190
178div.ls-dir a { 191td.ls-size {
179 font-weight: bold; 192 text-align: right;
180} 193}
181 194
182th.filesize, td.filesize { 195td.ls-size {
183 text-align: right; 196 font-family: monospace;
184} 197}
185 198
186td.filesize { 199td.ls-mode {
187 font-family: monospace; 200 font-family: monospace;
188} 201}
189 202
190td.links { 203table.blob {
191 font-size: 80%; 204 margin-top: 0.5em;
192 padding-left: 2em; 205 border-top: solid 1px black;
193} 206}
194 207
195td.filemode { 208table.blob td.no {
196 font-family: monospace; 209 border-right: solid 1px black;
210 color: black;
211 background-color: #eee;
212 text-align: right;
213}
214
215table.blob td.no a {
216 color: black;
197} 217}
198 218
199td.blob { 219table.blob td.no a:hover {
220 color: black;
221 text-decoration: none;
222}
223
224table.blob td.txt {
200 white-space: pre; 225 white-space: pre;
201 font-family: monospace; 226 font-family: monospace;
202 background-color: white; 227 padding-left: 0.5em;
203} 228}
204 229
205table.nowrap td { 230table.nowrap td {
@@ -215,6 +240,7 @@ table.commit-info th {
215 text-align: left; 240 text-align: left;
216 font-weight: normal; 241 font-weight: normal;
217 padding: 0.1em 1em 0.1em 0.1em; 242 padding: 0.1em 1em 0.1em 0.1em;
243 vertical-align: top;
218} 244}
219 245
220table.commit-info td { 246table.commit-info td {
@@ -287,7 +313,7 @@ table.diffstat td.upd a {
287 313
288table.diffstat td.graph { 314table.diffstat td.graph {
289 width: 75%; 315 width: 75%;
290 vertical-align: center; 316 vertical-align: middle;
291} 317}
292 318
293table.diffstat td.graph table { 319table.diffstat td.graph table {
@@ -308,10 +334,6 @@ table.diffstat td.graph td.rem {
308 background-color: #c55; 334 background-color: #c55;
309} 335}
310 336
311table.diffstat td.graph td.none {
312 background-color: none;
313}
314
315div.diffstat-summary { 337div.diffstat-summary {
316 color: #888; 338 color: #888;
317 padding-top: 0.5em; 339 padding-top: 0.5em;
@@ -340,7 +362,7 @@ table.diff td div.del {
340} 362}
341 363
342.sha1 { 364.sha1 {
343 font-family: courier; 365 font-family: monospace;
344 font-size: 90%; 366 font-size: 90%;
345} 367}
346 368
@@ -359,16 +381,17 @@ table.list td.repogroup {
359 381
360a.button { 382a.button {
361 font-size: 80%; 383 font-size: 80%;
362 color: #333; 384 color: #aaa;
363 background-color: #ccc; 385 background-color: #eee;
364 border: solid 1px #999; 386 border: solid 1px #aaa;
365 padding: 0em 0.5em; 387 padding: 0em 0.5em;
366 margin: 0.1em 0.25em; 388 margin: 0.1em 0.25em;
367} 389}
368 390
369a.button:hover { 391a.button:hover {
370 text-decoration: none; 392 text-decoration: none;
371 background-color: #eee; 393 color: #333;
394 background-color: #ccc;
372} 395}
373 396
374a.primary { 397a.primary {