summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFederico Igne <git@federicoigne.com>2022-01-26 13:44:00 +0000
committerFederico Igne <git@federicoigne.com>2022-01-26 13:44:00 +0000
commitba6a68fc0355ef66e5ee089c3f90a4e89a633606 (patch)
treef07952981f3640c930fd3b07f398a6ec60961e6c
parentc283a71252fdd115e91cbda4d470062e643edbe5 (diff)
downloadsite-ba6a68fc0355ef66e5ee089c3f90a4e89a633606.tar.gz
site-ba6a68fc0355ef66e5ee089c3f90a4e89a633606.zip
Update cgit css
-rw-r--r--resources/cgit/cgit.css26
-rw-r--r--resources/cgit/logo.pngbin16480 -> 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
13body {
14 color:var(--fg);
15 background-color:var(--bg)
16}
17
14body.hl { 18body.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}
73div#cgit { 77div#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}
105div#cgit table#header { 106div#cgit table#header {
106 width:100%; 107 width:100%;
107 margin-bottom:1em 108 margin-bottom:1em;
109 margin-left:1em;
108} 110}
109div#cgit table#header td.logo { 111div#cgit table#header td.logo {
110 width:96px; 112 width:96px;
@@ -112,6 +114,7 @@ div#cgit table#header td.logo {
112} 114}
113div#cgit table#header td.main { 115div#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}
197div#cgit table.list tr {
198 background:#fff
199}
200div#cgit table.list tr.logheader { 200div#cgit table.list tr.logheader {
201 background:#eee 201 background:#eee
202} 202}
@@ -567,7 +567,7 @@ div#cgit .right {
567} 567}
568div#cgit table.list td.reposection { 568div#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}
573div#cgit table.list td.reposection::after { 573div#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}
645div#cgit div.footer a { 645div#cgit div.footer a {
646 color:#ccc;
647 text-decoration:none 646 text-decoration:none
647 color:var(--fg-light)
648} 648}
649div#cgit div.footer a:hover { 649div#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