git ssb

30+

cel / git-ssb-web



Tree: 43a871f9557e5940112942f2f6a2c5f9bcfa5010

Files: 43a871f9557e5940112942f2f6a2c5f9bcfa5010 / static / styles.css

6149 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 1ex;
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
120section img {
121 max-width: 100%;
122}
123
124/* repo page */
125
126.repo-title {
127 height: 2em;
128}
129
130.repo-title h2 {
131 height: 1.2em;
132}
133
134.bgslash {
135 color: #888;
136}
137
138.petname h2,
139.petname h3 {
140 float: left;
141}
142
143.right-bar {
144 float: right;
145 display: inline-block;
146}
147
148.repo-title .right-bar {
149 margin-top: .25em;
150}
151
152input { border: 1px solid #eee;}
153
154.btn {
155 background: #eee;
156 border: 1px solid #e7e7e7;
157 margin-top: .5em;
158 padding: .3em .6em;
159 border-radius: .7em;
160 cursor: pointer;
161}
162
163.btn:hover {
164 background: #ddd;
165 border: 1px solid #ccc;
166}
167
168.name {
169 font-size: inherit;
170 margin-left: 1ex;
171 width: 20em;
172}
173
174label {
175 cursor: pointer;
176}
177
178.name-toggle {
179 font-size: 1.3em;
180 margin-left: .25ex;
181}
182
183.name-checkbox,
184.toggle,
185.tab-radio {
186 position: absolute;
187 opacity: 0;
188 font-size: 0;
189}
190
191.name-checkbox:checked ~ h2 :last-child,
192.name-checkbox:checked ~ h3,
193.name-checkbox:not(:checked) ~ .name,
194.name-checkbox:not(:checked) ~ .name-btn {
195 display: none;
196}
197
198.clone-url {
199 font-size: small;
200 color: #666;
201 padding: .3em 1ex;
202 background-color: white;
203 border: none;
204 float: right;
205 margin: 0;
206 max-width: 50%;
207}
208.clone-url:hover {
209 color: #000;
210}
211
212nav {
213 margin: .5em 0 1ex 0;
214 clear: left;
215}
216
217nav a {
218 border-radius: .5ex;
219 padding: 0 .5ex;
220 display: inline-block;
221 margin-right: .5ex;
222}
223nav a:hover {
224 color: #333;
225}
226
227nav a.active {
228 font-weight: bold;
229}
230
231.raw-link {
232 float: right;
233 display: inline-block;
234}
235
236.header-align {
237 margin-top: .25em;
238}
239
240/* files list */
241
242.files td:first-child {
243 padding: 0 1ex;
244}
245
246/* user page */
247
248.user-id {
249 float: right;
250 font-weight: normal;
251 font-size: small;
252 display: inline-block;
253 margin: 0;
254}
255
256h2 .user-id {
257 padding-top: .5em;
258}
259
260h3 .user-id {
261 padding-top: .25em;
262}
263
264/* new issue form */
265
266.wide-input {
267 width: 99%;
268 display: block;
269 font-size: inherit;
270 line-height: inherit;
271}
272
273/* issues */
274
275.issue-state {
276}
277
278.issue-state-open {
279}
280
281.issue-state-closed {
282 color: black ;
283}
284
285/* issue */
286
287.issue-status {
288 margin-right: .75ex;
289 border-radius: .2em;
290}
291
292.open {
293 font-weight: bold;
294}
295
296.btn.open:hover {
297}
298
299.closed {
300}
301
302.mention-preview {
303 overflow: hidden;
304 white-space: nowrap;
305 text-overflow: ellipsis;
306}
307
308.tab-links label,
309.tab-links a {
310 padding: 1ex;
311 color: #333;
312}
313
314#tab1:checked ~ .tab-links .tab1-link,
315#tab2:checked ~ .tab-links .tab2-link {
316 text-decoration: underline;
317}
318
319#tab1:not(:checked) ~ .tab1,
320.tab2 {
321 display: none;
322}
323
324.tab1,
325#tab2:checked ~ .tab2 {
326 display: block;
327}
328
329.preview-text {
330 border: 1px solid #c0bdba;
331 min-height: 6em;
332 margin: .25ex 0;
333 padding: .25ex;
334}
335
336.preview-text :first-child {
337 margin-top: 0;
338}
339.preview-text :last-child {
340 margin-bottom: 0;
341}
342
343.highlight {
344 background-color: #ff6;
345 padding: .25ex .5ex;
346 margin: -.25ex -.5ex;
347}
348
349.item-id {
350 color: grey;
351 line-height: 2;
352 font-size: 10pt;
353}
354
355/* code and diffs */
356
357.code {
358 border-collapse: collapse;
359 text-align: left;
360 width: 100%;
361}
362
363.code th {
364 font-family: sans-serif;
365 font-size: 1.25em;
366 padding-bottom: .5ex;
367}
368
369.diff-info {
370 font-family: sans-serif;
371 font-size: 1.25em;
372}
373
374.diff-hunk-header {
375 background-color: #eee;
376 color: grey;
377}
378
379.code td {
380 padding: 0 1ex 0;
381}
382
383:target,
384.code tr:hover {
385 background-color: #fff8d2 !important;
386}
387
388.code-linenum {
389 vertical-align: top;
390 text-align: right;
391 color: grey;
392 border-right: 1px solid rgba(0, 0, 0, 0.06);
393}
394
395.code-linenum a {
396 color: inherit;
397}
398
399.code-linenum a:hover {
400 color: #9f9999;
401}
402
403.code-text {
404 white-space: pre-wrap;
405 width: 100%;
406}
407
408.diff-old { background-color: #ffe2dd; }
409.diff-new { background-color: #d1ffd6; }
410
411.code img {
412 max-width: 100%;
413}
414
415/* Pull requests */
416
417#commits:not(:target) ~ #commits-tab,
418#commits:target ~ #files-tab {
419 display: none;
420}
421
422#commits:not(:target) + .tab-links #files-link,
423#commits:target + .tab-links #commits-link {
424 font-weight: bold;
425}
426
427.compare-commits {
428 width: 100%;
429}
430
431.date-info {
432 font-weight: normal;
433 text-align: left;
434 color: #666;
435}
436
437.compare-commits td:first-child {
438 padding-left: 2ex;
439 white-space: nowrap;
440 text-overflow: ellipsis;
441 overflow: hidden;
442 max-width: 10em;
443}
444
445.commit-title {
446 word-break: break-all;
447}
448
449.pr-tab-links {
450 margin: .5em 0 0.25em;
451}
452
453.merge-instructions {
454 margin-top: .5em;
455}
456
457#merge-instructions:not(:checked) + h4 .toggle-open,
458#merge-instructions:checked + h4 .toggle-closed,
459#merge-instructions:not(:checked) ~ .contents {
460 display: none;
461}
462
463.toggle-link {
464 color: #006eff;
465 font-weight: normal;
466}
467
468.date { font-size: .8em; color: #666;}
469

Built with git-ssb-web