diff options
| -rw-r--r-- | resources/cgit/cgit.css | 26 | ||||
| -rw-r--r-- | resources/cgit/logo.png | bin | 16480 -> 13118 bytes |
2 files changed, 13 insertions, 13 deletions
diff --git a/resources/cgit/cgit.css b/resources/cgit/cgit.css index c36b443..4be29fc 100644 --- a/resources/cgit/cgit.css +++ b/resources/cgit/cgit.css | |||
| @@ -1,16 +1,20 @@ | |||
| 1 | /* Based on git.peppe.rs */ | 1 | /* Based on git.peppe.rs */ |
| 2 | 2 | ||
| 3 | /* @import 'https://rsms.me/inter/inter.css';*/ | ||
| 4 | :root { | 3 | :root { |
| 5 | --blue: #37abc8; | 4 | --blue: #37abc8; |
| 6 | --red: #d35557; | 5 | --red: #d35557; |
| 7 | --black: #212121; | 6 | --black: #212121; |
| 8 | --fg: #1a1a1a; | 7 | --fg: #1a1a1a; |
| 9 | --fg-light: #5a5a5a; | 8 | --fg-light: #8a8a8a; |
| 10 | --bg: #ededed; | 9 | --bg: #ededed; |
| 11 | --bg-light: #dddddd; | 10 | --bg-light: #dddddd; |
| 12 | } | 11 | } |
| 13 | 12 | ||
| 13 | body { | ||
| 14 | color:var(--fg); | ||
| 15 | background-color:var(--bg) | ||
| 16 | } | ||
| 17 | |||
| 14 | body.hl { | 18 | body.hl { |
| 15 | background-color:var(--bg) | 19 | background-color:var(--bg) |
| 16 | } | 20 | } |
| @@ -71,12 +75,9 @@ pre.hl { | |||
| 71 | background:var(--blue) | 75 | background:var(--blue) |
| 72 | } | 76 | } |
| 73 | div#cgit { | 77 | div#cgit { |
| 74 | font-family:inter var,sans-serif; | 78 | font-family:sans-serif; |
| 75 | ยท font-feature-settings:'ss01' 1,'kern' 1,'liga' 1,'cv05' 1,'tnum' 1; | ||
| 76 | margin:2em; | 79 | margin:2em; |
| 77 | font-size:10pt; | 80 | font-size:10pt; |
| 78 | color:var(--fg); | ||
| 79 | background:#fff | ||
| 80 | } | 81 | } |
| 81 | @media only screen and (min-width:1080px) { | 82 | @media only screen and (min-width:1080px) { |
| 82 | div#cgit { | 83 | div#cgit { |
| @@ -104,7 +105,8 @@ div#cgit table { | |||
| 104 | } | 105 | } |
| 105 | div#cgit table#header { | 106 | div#cgit table#header { |
| 106 | width:100%; | 107 | width:100%; |
| 107 | margin-bottom:1em | 108 | margin-bottom:1em; |
| 109 | margin-left:1em; | ||
| 108 | } | 110 | } |
| 109 | div#cgit table#header td.logo { | 111 | div#cgit table#header td.logo { |
| 110 | width:96px; | 112 | width:96px; |
| @@ -112,6 +114,7 @@ div#cgit table#header td.logo { | |||
| 112 | } | 114 | } |
| 113 | div#cgit table#header td.main { | 115 | div#cgit table#header td.main { |
| 114 | font-size:3em; | 116 | font-size:3em; |
| 117 | padding-top:25px; | ||
| 115 | padding-left:10px; | 118 | padding-left:10px; |
| 116 | white-space:nowrap | 119 | white-space:nowrap |
| 117 | } | 120 | } |
| @@ -194,9 +197,6 @@ div#cgit table.list { | |||
| 194 | border:none; | 197 | border:none; |
| 195 | border-collapse:collapse | 198 | border-collapse:collapse |
| 196 | } | 199 | } |
| 197 | div#cgit table.list tr { | ||
| 198 | background:#fff | ||
| 199 | } | ||
| 200 | div#cgit table.list tr.logheader { | 200 | div#cgit table.list tr.logheader { |
| 201 | background:#eee | 201 | background:#eee |
| 202 | } | 202 | } |
| @@ -567,7 +567,7 @@ div#cgit .right { | |||
| 567 | } | 567 | } |
| 568 | div#cgit table.list td.reposection { | 568 | div#cgit table.list td.reposection { |
| 569 | padding-top:1.5rem; | 569 | padding-top:1.5rem; |
| 570 | padding-bottom:.5rem; | 570 | padding-bottom:.9rem; |
| 571 | color:var(--fg-light) | 571 | color:var(--fg-light) |
| 572 | } | 572 | } |
| 573 | div#cgit table.list td.reposection::after { | 573 | div#cgit table.list td.reposection::after { |
| @@ -640,11 +640,11 @@ div#cgit div.footer { | |||
| 640 | margin-top:.5em; | 640 | margin-top:.5em; |
| 641 | text-align:center; | 641 | text-align:center; |
| 642 | font-size:80%; | 642 | font-size:80%; |
| 643 | color:#ccc | 643 | color:var(--fg-light) |
| 644 | } | 644 | } |
| 645 | div#cgit div.footer a { | 645 | div#cgit div.footer a { |
| 646 | color:#ccc; | ||
| 647 | text-decoration:none | 646 | text-decoration:none |
| 647 | color:var(--fg-light) | ||
| 648 | } | 648 | } |
| 649 | div#cgit div.footer a:hover { | 649 | div#cgit div.footer a:hover { |
| 650 | text-decoration:underline | 650 | text-decoration:underline |
diff --git a/resources/cgit/logo.png b/resources/cgit/logo.png index 0b48497..529db47 100644 --- a/resources/cgit/logo.png +++ b/resources/cgit/logo.png | |||
| Binary files differ | |||
