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-files-modified,
188#log .commit-lines-added,
189#log .commit-lines-removed {
190 text-align: right;
191}
192#log .commit-summary {
193 text-wrap: wrap;
194 width: 100%;
195}
196
197@media only screen and (max-width: 600px) {
198 #log .commit-author-email,
199 #log .commit-date,
200 #log .commit-files-modified,
201 #log .commit-lines-added,
202 #log .commit-lines-removed {
203 display: none;
204 }
205}
206
207.markup.italic {
208 font-style: italic;
209}
210
211.markup.bold {
212 font-weight: bold;
213}
214
215
216
217body {
218 background-color: var(--bg);
219 color: var(--fg);
220}
221
222a {
223 color: var(--hint);
224}
225a:hover {
226 background-color: var(--line);
227}
228
229hr {
230 border-top-color: var(--comment);
231}
232
233.badge {
234 color: var(--bg);
235 background-color: var(--warning);
236}
237
238.badge.tag {
239 background-color: var(--orange);
240}
241
242.repo:hover,
243#branches tr:hover td,
244#tags tr:hover td,
245#index tr:hover td,
246#log tr:hover td,
247#files tr:hover td {
248 background-color: var(--line);
249}
250
251.source .comment {
252 color: var(--comment);
253}
254
255.source .constant {
256 color: var(--constant);
257}
258
259.source .deleted {
260 color: var(--delta);
261}
262
263.source .function.name {
264 color: var(--func);
265}
266
267.source .inserted {
268 color: var(--plus);
269}
270
271.source .keyword,
272.source .storage {
273 color: var(--keyword);
274}
275
276.source .operator {
277 color: var(--operator);
278}
279
280.source .parameter {
281 color: var(--parameter);
282}
283
284.source .string.quoted {
285 color: var(--string);
286}
287