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