raw
1
2
3:root {
4 --bg: #141415;
5 --fg: #cdcdcd;
6 --line: #252530;
7 --comment: #606079;
8 --builtin: #b4d4cf;
9 --func: #c48282;
10 --string: #e8b589;
11 --number: #e0a363;
12 --property: #c3c3d5;
13 --constant: #aeaed1;
14 --parameter: #bb9dbd;
15 --visual: #333738;
16 --error: #d8647e;
17 --warning: #f3be7c;
18 --hint: #7e98e8;
19 --operator: #90a0b5;
20 --keyword: #6e94b2;
21 --type: #9bb4bc;
22 --search: #405065;
23 --plus: #7fa563;
24 --delta: #f3be7c;
25}
26
27@media (prefers-color-scheme: dark) {
28 :root {
29 --bg: #141415;
30 --fg: #cdcdcd;
31 --line: #252530;
32 --comment: #606079;
33 --builtin: #b4d4cf;
34 --func: #c48282;
35 --string: #e8b589;
36 --number: #e0a363;
37 --property: #c3c3d5;
38 --constant: #aeaed1;
39 --parameter: #bb9dbd;
40 --visual: #333738;
41 --error: #d8647e;
42 --warning: #f3be7c;
43 --hint: #7e98e8;
44 --operator: #90a0b5;
45 --keyword: #6e94b2;
46 --type: #9bb4bc;
47 --search: #405065;
48 --plus: #7fa563;
49 --delta: #f3be7c;
50 }
51}
52
53
54
55body {
56 font-family: monospace;
57 word-wrap: break-word;
58}
59
60hr {
61 border: 0;
62 border-top: 1px solid white;
63 height: 1px;
64}
65
66table {
67 border-spacing: 0.5em 0.1em;
68}
69
70.clone-url {
71 -webkit-user-select: all;
72 user-select: all;
73}
74
75.repo-last-updated {
76 font-style: italic;
77
78 font-variant-numeric: tabular-nums;
79}
80
81.filesize {
82 text-align: right;
83}
84
85.footer {
86 text-align: center;
87 font-style: italic;
88}
89
90a.line {
91 display: inline-block;
92 width: 4em;
93 margin-right: 0.7em;
94 text-align: right;
95 text-decoration: none;
96 -webkit-touch-callout: none;
97 -webkit-user-select: none;
98 -khtml-user-select: none;
99 -moz-user-select: none;
100 -ms-user-select: none;
101 user-select: none;
102}
103
104h1,
105h2,
106h3,
107h4,
108h5,
109h6 {
110 font-size: 1em;
111 margin: 0;
112}
113
114.readme {
115 max-width: 80ch;
116}
117
118.readme h1,
119.readme h2,
120.readme h3,
121.readme h4,
122.readme h5,
123.readme h6 {
124 font-size: 1em;
125 margin: revert;
126}
127
128.readme pre {
129 margin-bottom: 12px;
130 margin-top: 12px;
131}
132
133pre {
134 line-height: 1.2;
135 overflow-x: auto;
136 overflow-y: hidden;
137 margin: 0;
138 padding: 0;
139}
140
141td {
142 white-space: nowrap;
143 margin: 0;
144 border-style: hidden;
145 padding: 0;
146}
147
148table td {
149 padding: 0 0.1em;
150}
151
152table.core {
153 width: 100%;
154 border-collapse: collapse;
155}
156
157.badge {
158 padding: 0.2em;
159}
160
161a.feed > img {
162 height: 1em;
163}
164
165#index tr td:nth-child(2),
166#tags tr td:nth-child(3),
167#branches tr td:nth-child(3),
168#log tr td:nth-child(3) {
169 white-space: normal;
170}
171
172#files .file-name {
173 width: 100%;
174}
175
176.repo {
177 width: 100%;
178}
179.repo .repo-link {
180 width: 100%;
181}
182.repo .repo-description {
183 text-wrap: wrap;
184 width: 100%;
185}
186
187#log .commit-author-email {
188 text-wrap: nowrap;
189}
190#log .commit-files-modified,
191#log .commit-lines-added,
192#log .commit-lines-removed {
193 text-align: right;
194}
195#log .commit-summary {
196 text-wrap: wrap;
197 width: 100%;
198}
199
200@media only screen and (max-width: 600px) {
201 #log .commit-author-email,
202 #log .commit-date,
203 #log .commit-files-modified,
204 #log .commit-lines-added,
205 #log .commit-lines-removed {
206 display: none;
207 }
208}
209
210.markup.italic {
211 font-style: italic;
212}
213
214.markup.bold {
215 font-weight: bold;
216}
217
218
219
220body {
221 background-color: var(--bg);
222 color: var(--fg);
223}
224
225a {
226 color: var(--hint);
227}
228a:hover {
229 background-color: var(--line);
230}
231
232hr {
233 border-top-color: var(--comment);
234}
235
236.badge {
237 color: var(--bg);
238 background-color: var(--warning);
239}
240
241.badge.tag {
242 background-color: var(--orange);
243}
244
245.repo:hover,
246#branches tr:hover td,
247#tags tr:hover td,
248#index tr:hover td,
249#log tr:hover td,
250#files tr:hover td {
251 background-color: var(--line);
252}
253
254.source .comment {
255 color: var(--comment);
256}
257
258.source .constant {
259 color: var(--constant);
260}
261
262.source .deleted {
263 color: var(--delta);
264}
265
266.source .function.name {
267 color: var(--func);
268}
269
270.source .inserted {
271 color: var(--plus);
272}
273
274.source .keyword,
275.source .storage {
276 color: var(--keyword);
277}
278
279.source .operator {
280 color: var(--operator);
281}
282
283.source .parameter {
284 color: var(--parameter);
285}
286
287.source .string.quoted {
288 color: var(--string);
289}
290