git ssb

30+

cel / git-ssb-web



Tree: 85d802a8d7af5b3c1b0ddf681facf294509def27

Files: 85d802a8d7af5b3c1b0ddf681facf294509def27 / static / styles.css

6305 bytesRaw
1body {
2 margin: 1em;
3 line-height: 1.6;
4 color: #333;
5 background: #fff;
6 font-family: 'Source Sans Pro', sans-serif;
7}
8
9article, header {
10 width: 100%;
11 margin-left: auto;
12 margin-right: auto;
13}
14
15@media (min-width: 600px) {
16 article, header {
17 width: 60%;
18 }
19}
20
21pre {
22 font: .8em Consolas, "Liberation Mono", Menlo, Courier, monospace;
23 padding: .5em 1.25ex;
24 border: 1px solid #ddd;
25 background: #f5f5f5;
26 white-space: pre-wrap;
27}
28
29section code {
30 padding: .5ex;
31 border-radius: .5ex;
32 background-color: #fff;
33}
34
35pre > code {
36 padding: 0;
37 background-color: #f5f5f5;
38}
39
40/* header */
41
42header h1 {
43 font-weight: bold;
44 font-size: 1.5em;
45 display: inline;
46}
47
48header h1 :link,
49header h1 :visited {
50 color: #666;
51}
52
53header h1 sub {
54 color: #444;
55 font-style: oblique;
56 font-size: small;
57}
58
59header .search-bar {
60 float: right;
61 margin-top: .5em;
62 margin-left: 1ex;
63 max-width: 35%;
64 padding: .25em;
65 font-size: .8em;
66 background: #f5f5f5;
67 border-radius: 1em;
68}
69
70.profile-icon {
71 height: 1.5em;
72 width: 1.5em;
73 margin-right: .2em;
74 margin-left: .15em;
75 margin-top: .4em;
76 margin-bottom: .5em;
77 border: 1px solid #eee;
78 float: left;
79}
80
81.icon-right {
82 float: right;
83}
84
85/* content */
86
87section {
88 background-color: white;
89 padding: 1ex 0;
90 margin-bottom: .5em;
91 border-radius: 0;
92 border-bottom: 1px solid #eee;
93}
94
95section.collapse {
96 margin-bottom: 0;
97}
98
99h1, h2, h3, h4, h5, h6 {
100 margin: 0;
101}
102
103h3 ~ h4 {
104 margin-top: 1em;
105}
106
107a:link, a:visited {
108 color: #08c;
109 text-decoration: none;
110}
111a:hover {
112 color: #005580;
113}
114
115hr {
116 border: 0;
117 border-bottom: 1px solid #eee;
118}
119
120/* icons */
121
122i {
123 font-family: Symbola, 'Apple Color Emoji', 'Android Emoji',
124 'Segoe UI Symbol', 'DejaVu Sans', sans-serif;
125 font-style: inherit;
126}
127
128section img {
129 max-width: 100%;
130}
131
132/* repo page */
133
134.repo-title {
135 height: 2em;
136}
137
138.repo-title h2 {
139 height: 1.2em;
140}
141
142.bgslash {
143 color: #888;
144}
145
146.petname h2,
147.petname h3 {
148 float: left;
149}
150
151.right-bar {
152 float: right;
153 display: inline-block;
154}
155
156.repo-title .right-bar {
157 margin-top: .25em;
158}
159
160input { border: 1px solid #eee;}
161
162.btn {
163 background: #eee;
164 border: 1px solid #e7e7e7;
165 margin-top: .5em;
166 padding: .3em .6em;
167 border-radius: .7em;
168 cursor: pointer;
169}
170
171.btn:hover {
172 background: #ddd;
173 border: 1px solid #ccc;
174}
175
176.name {
177 font-size: inherit;
178 margin-left: 1ex;
179 width: 20em;
180}
181
182label {
183 cursor: pointer;
184}
185
186.name-toggle {
187 font-size: 1.3em;
188 margin-left: .25ex;
189}
190
191.name-checkbox,
192.toggle,
193.tab-radio {
194 position: absolute;
195 opacity: 0;
196 font-size: 0;
197}
198
199.name-checkbox:checked ~ h2 :last-child,
200.name-checkbox:checked ~ h3,
201.name-checkbox:not(:checked) ~ .name,
202.name-checkbox:not(:checked) ~ .name-btn {
203 display: none;
204}
205
206.clone-url {
207 font-size: small;
208 color: #666;
209 padding: .3em 1ex;
210 background-color: white;
211 border: none;
212 float: right;
213 margin: 0;
214 max-width: 50%;
215}
216.clone-url:hover {
217 color: #000;
218}
219
220nav {
221 margin: .5em 0 1ex 0;
222 clear: left;
223}
224
225nav a {
226 border-radius: .5ex;
227 padding: 0 1ex 0 0;
228 display: inline-block;
229 margin-right: .5ex;
230}
231nav a:hover {
232 color: #333;
233}
234
235nav a.active {
236 font-weight: bold;
237}
238
239.raw-link {
240 float: right;
241 display: inline-block;
242}
243
244.header-align {
245 margin-top: .25em;
246}
247
248/* files list */
249
250.files td:first-child {
251 padding: 0 1ex;
252}
253
254/* user page */
255
256.user-id {
257 float: right;
258 font-weight: normal;
259 font-size: small;
260 display: inline-block;
261 margin: 0;
262}
263
264h2 .user-id {
265 padding-top: .5em;
266}
267
268h3 .user-id {
269 padding-top: .25em;
270}
271
272/* new issue form */
273
274.wide-input {
275 width: 99%;
276 display: block;
277 font-size: inherit;
278 line-height: inherit;
279}
280
281/* issues */
282
283.issue-state {
284}
285
286.issue-state-open {
287}
288
289.issue-state-closed {
290 color: black ;
291}
292
293/* issue */
294
295.issue-status {
296 margin-right: .75ex;
297 border-radius: .2em;
298}
299
300.open {
301 font-weight: bold;
302}
303
304.btn.open:hover {
305}
306
307.closed {
308}
309
310.mention-preview {
311 overflow: hidden;
312 white-space: nowrap;
313 text-overflow: ellipsis;
314}
315
316.tab-links label,
317.tab-links a {
318 padding: 1ex;
319 color: #333;
320}
321
322#tab1:checked ~ .tab-links .tab1-link,
323#tab2:checked ~ .tab-links .tab2-link {
324 text-decoration: underline;
325}
326
327#tab1:not(:checked) ~ .tab1,
328.tab2 {
329 display: none;
330}
331
332.tab1,
333#tab2:checked ~ .tab2 {
334 display: block;
335}
336
337.preview-text {
338 border: 1px solid #c0bdba;
339 min-height: 6em;
340 margin: .25ex 0;
341 padding: .25ex;
342}
343
344.preview-text :first-child {
345 margin-top: 0;
346}
347.preview-text :last-child {
348 margin-bottom: 0;
349}
350
351.highlight {
352 background-color: #ff6;
353 padding: .25ex .5ex;
354 margin: -.25ex -.5ex;
355}
356
357.item-id {
358 color: grey;
359 line-height: 2;
360 font-size: 10pt;
361}
362
363/* code and diffs */
364
365.code {
366 border-collapse: collapse;
367 text-align: left;
368 width: 100%;
369}
370
371.code th {
372 font-family: sans-serif;
373 font-size: 1.25em;
374 padding-bottom: .5ex;
375}
376
377.diff-info {
378 font-family: sans-serif;
379 font-size: 1.25em;
380}
381
382.diff-hunk-header {
383 background-color: #eee;
384 color: grey;
385}
386
387.code td {
388 padding: 0 1ex 0;
389}
390
391:target,
392.code tr:hover {
393 background-color: #fff8d2 !important;
394}
395
396.code-linenum {
397 vertical-align: top;
398 text-align: right;
399 color: grey;
400 border-right: 1px solid rgba(0, 0, 0, 0.06);
401}
402
403.code-linenum a {
404 color: inherit;
405}
406
407.code-linenum a:hover {
408 color: #9f9999;
409}
410
411.code-text {
412 white-space: pre-wrap;
413 width: 100%;
414}
415
416.diff-old { background-color: #ffe2dd; }
417.diff-new { background-color: #d1ffd6; }
418
419.code img {
420 max-width: 100%;
421}
422
423/* Pull requests */
424
425#commits:not(:target) ~ #commits-tab,
426#commits:target ~ #files-tab {
427 display: none;
428}
429
430#commits:not(:target) + .tab-links #files-link,
431#commits:target + .tab-links #commits-link {
432 font-weight: bold;
433}
434
435.compare-commits {
436 width: 100%;
437}
438
439.date-info {
440 font-weight: normal;
441 text-align: left;
442 color: #666;
443}
444
445.compare-commits td:first-child {
446 padding-left: 2ex;
447 white-space: nowrap;
448 text-overflow: ellipsis;
449 overflow: hidden;
450 max-width: 10em;
451}
452
453.commit-title {
454 word-break: break-all;
455}
456
457.pr-tab-links {
458 margin: .5em 0 0.25em;
459}
460
461.merge-instructions {
462 margin-top: .5em;
463}
464
465#merge-instructions:not(:checked) + h4 .toggle-open,
466#merge-instructions:checked + h4 .toggle-closed,
467#merge-instructions:not(:checked) ~ .contents {
468 display: none;
469}
470
471.toggle-link {
472 color: #006eff;
473 font-weight: normal;
474}
475
476.date { font-size: .8em; color: #666;}
477

Built with git-ssb-web