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