diff options
Diffstat (limited to 'cgit.css')
| -rw-r--r-- | cgit.css | 75 |
1 files changed, 49 insertions, 26 deletions
| @@ -1,6 +1,7 @@ | |||
| 1 | body { | 1 | body { |
| 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 | ||
| 98 | td#header a { | ||
| 99 | color: #666; | ||
| 100 | } | ||
| 101 | |||
| 102 | td#header a:hoved { | ||
| 103 | text-decoration: underline; | ||
| 104 | } | ||
| 105 | |||
| 97 | td#logo { | 106 | td#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 | ||
| 115 | td#crumb a { | 124 | td#crumb a { |
| 116 | color: #ccc; | 125 | color: #ccc; |
| 126 | background-color: #666; | ||
| 127 | padding: 0em 0.5em 0em 0.5em; | ||
| 117 | } | 128 | } |
| 118 | 129 | ||
| 119 | td#crumb a:hover { | 130 | td#crumb a:hover { |
| 120 | color: #eee; | 131 | color: #666; |
| 132 | background-color: #ccc; | ||
| 133 | text-decoration: none; | ||
| 121 | } | 134 | } |
| 122 | 135 | ||
| 123 | td#search { | 136 | td#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 | ||
| 174 | td.ls-blob, td.ls-dir, td.ls-mod { | 187 | a.ls-blob, a.ls-dir, a.ls-mod { |
| 175 | font-family: monospace; | 188 | font-family: monospace; |
| 176 | } | 189 | } |
| 177 | 190 | ||
| 178 | div.ls-dir a { | 191 | td.ls-size { |
| 179 | font-weight: bold; | 192 | text-align: right; |
| 180 | } | 193 | } |
| 181 | 194 | ||
| 182 | th.filesize, td.filesize { | 195 | td.ls-size { |
| 183 | text-align: right; | 196 | font-family: monospace; |
| 184 | } | 197 | } |
| 185 | 198 | ||
| 186 | td.filesize { | 199 | td.ls-mode { |
| 187 | font-family: monospace; | 200 | font-family: monospace; |
| 188 | } | 201 | } |
| 189 | 202 | ||
| 190 | td.links { | 203 | table.blob { |
| 191 | font-size: 80%; | 204 | margin-top: 0.5em; |
| 192 | padding-left: 2em; | 205 | border-top: solid 1px black; |
| 193 | } | 206 | } |
| 194 | 207 | ||
| 195 | td.filemode { | 208 | table.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 | |||
| 215 | table.blob td.no a { | ||
| 216 | color: black; | ||
| 197 | } | 217 | } |
| 198 | 218 | ||
| 199 | td.blob { | 219 | table.blob td.no a:hover { |
| 220 | color: black; | ||
| 221 | text-decoration: none; | ||
| 222 | } | ||
| 223 | |||
| 224 | table.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 | ||
| 205 | table.nowrap td { | 230 | table.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 | ||
| 220 | table.commit-info td { | 246 | table.commit-info td { |
| @@ -287,7 +313,7 @@ table.diffstat td.upd a { | |||
| 287 | 313 | ||
| 288 | table.diffstat td.graph { | 314 | table.diffstat td.graph { |
| 289 | width: 75%; | 315 | width: 75%; |
| 290 | vertical-align: center; | 316 | vertical-align: middle; |
| 291 | } | 317 | } |
| 292 | 318 | ||
| 293 | table.diffstat td.graph table { | 319 | table.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 | ||
| 311 | table.diffstat td.graph td.none { | ||
| 312 | background-color: none; | ||
| 313 | } | ||
| 314 | |||
| 315 | div.diffstat-summary { | 337 | div.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 | ||
| 360 | a.button { | 382 | a.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 | ||
| 369 | a.button:hover { | 391 | a.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 | ||
| 374 | a.primary { | 397 | a.primary { |
