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