git ssb

30+

cel / git-ssb-web



Tree: 47ebea298eda55724bb6e637ea900aada10c5eab

Files: 47ebea298eda55724bb6e637ea900aada10c5eab / static / styles.css

7692 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.6em;
72 width: 1.6em;
73 margin: .4em 0 .5em .15em;
74 border: 1px solid #eee;
75 float: left;
76}
77
78.icon-right {
79 float: right;
80}
81
82/* content */
83
84section {
85 background-color: white;
86 padding: 1ex 0;
87 margin-bottom: .5em;
88 border-radius: 0;
89 border-bottom: 1px solid #eee;
90}
91
92section.branch-info, section.files {
93 border: none;
94}
95
96section.readme {
97 margin-top: 2em;
98 padding: 2em 2em 4em;
99 box-shadow: 2px 2px 10px #efefef;
100 border: 1px #efefef solid;
101}
102
103section.collapse {
104 margin-bottom: 0;
105}
106
107h1, h2, h3, h4, h5, h6 {
108 margin: 0;
109}
110
111h3 ~ h4 {
112 margin-top: 1em;
113}
114
115a:link, a:visited {
116 color: #08c;
117 text-decoration: none;
118}
119a:hover {
120 color: #005580;
121}
122
123hr {
124 border: 0;
125 border-bottom: 1px solid #eee;
126}
127
128/* icons */
129
130i {
131 font-family: Symbola, 'Apple Color Emoji', 'Android Emoji',
132 'Segoe UI Symbol', 'DejaVu Sans', sans-serif;
133 font-style: inherit;
134}
135
136section img {
137 max-width: 100%;
138}
139
140/* repo page */
141
142.repo-title {
143 height: 2em;
144}
145
146.repo-title h2 {
147 height: 1.2em;
148}
149
150.bgslash {
151 color: #888;
152}
153
154.petname h2,
155.petname h3 {
156 float: left;
157}
158
159.right-bar {
160 float: right;
161 display: inline-block;
162}
163
164.right-bar .btn {
165 margin-top: 0.2em;
166}
167
168input { border: 1px solid #eee;}
169
170.btn {
171 background: #eee;
172 border: 1px solid #e7e7e7;
173 margin-top: .5em;
174 padding: .3em .6em;
175 border-radius: .7em;
176 cursor: pointer;
177}
178
179.btn:hover {
180 background: #ddd;
181 border: 1px solid #ccc;
182}
183
184.btn.btn-primary {
185 background: #0092db;
186 border: none;
187 color: #fff;
188}
189
190.btn.btn-primary:hover {
191 background: #03a7f9;
192}
193
194.name {
195 font-size: inherit;
196 margin-left: 1ex;
197 width: 20em;
198}
199
200label {
201 cursor: pointer;
202}
203
204.name-toggle {
205 font-size: 1.3em;
206 margin-left: .25ex;
207}
208
209.name-checkbox,
210.toggle,
211.tab-radio {
212 position: absolute;
213 opacity: 0;
214 font-size: 0;
215}
216
217.name-checkbox:checked ~ h2 :last-child,
218.name-checkbox:checked ~ h3,
219.name-checkbox:not(:checked) ~ .name,
220.name-checkbox:not(:checked) ~ .name-btn {
221 display: none;
222}
223
224.clone-urls {
225 white-space: nowrap;
226 float: right;
227}
228
229select.custom-dropdown.clone-url-protocol {
230 border-radius: 0.5rem 0 0 0.5rem;
231 width: 6rem;
232}
233
234.clone-url {
235 font-size: 1rem;
236 border: 1px #e1e1e1 solid;
237 border-radius: 0 0.5rem 0.5rem 0;
238 margin: 0;
239 padding: .1rem;
240 width: 17rem;
241
242 background-color: #eaeaea;
243 color: #6f6f6f;
244}
245.clone-url:hover {
246 color: #000;
247}
248
249nav {
250 margin: .5em 0 1ex 0;
251 clear: left;
252}
253
254nav a {
255 border-radius: .5ex;
256 padding: 0 1ex 0 0;
257 display: inline-block;
258 margin-right: .5ex;
259}
260nav a:hover {
261 color: #333;
262}
263
264nav a.active {
265 font-weight: bold;
266}
267
268.raw-link {
269 float: right;
270 display: inline-block;
271}
272
273.header-align {
274 margin-top: .25em;
275}
276
277/* files list */
278
279table.files {
280 border: 1px #dedede solid;
281}
282
283.files td:first-child {
284 padding: 0 1ex;
285 width: .7rem;
286}
287
288/* user page */
289
290.user-id {
291 float: right;
292 font-weight: normal;
293 font-size: small;
294 display: inline-block;
295 margin: 0;
296}
297
298h2 .user-id {
299 padding-top: .5em;
300}
301
302h3 .user-id {
303 padding-top: .25em;
304}
305
306/* new issue form */
307
308.wide-input {
309 width: 99%;
310 display: block;
311 font-size: inherit;
312 line-height: inherit;
313}
314
315/* issues */
316
317.issue-state {
318}
319
320.issue-state-open {
321}
322
323.issue-state-closed {
324 color: black ;
325}
326
327/* issue */
328
329.issue-status {
330 margin-right: .75ex;
331 border-radius: .2em;
332}
333
334.open {
335 font-weight: bold;
336}
337
338.btn.open:hover {
339}
340
341.closed {
342}
343
344.mention-preview {
345 overflow: hidden;
346 white-space: nowrap;
347 text-overflow: ellipsis;
348}
349
350.tab-links label,
351.tab-links a {
352 padding: 1ex;
353 color: #333;
354}
355
356#tab1:checked ~ .tab-links .tab1-link,
357#tab2:checked ~ .tab-links .tab2-link {
358 text-decoration: underline;
359}
360
361#tab1:not(:checked) ~ .tab1,
362.tab2 {
363 display: none;
364}
365
366.tab1,
367#tab2:checked ~ .tab2 {
368 display: block;
369}
370
371.preview-text {
372 border: 1px solid #c0bdba;
373 min-height: 6em;
374 margin: .25ex 0;
375 padding: .25ex;
376}
377
378.preview-text :first-child {
379 margin-top: 0;
380}
381.preview-text :last-child {
382 margin-bottom: 0;
383}
384
385.highlight {
386 background-color: #ff6;
387 padding: .25ex .5ex;
388 margin: -.25ex -.5ex;
389}
390
391.item-id {
392 color: grey;
393 line-height: 2;
394 font-size: 10pt;
395}
396
397/* code and diffs */
398
399.code {
400 border-collapse: collapse;
401 text-align: left;
402 width: 100%;
403}
404
405.code th {
406 font-family: sans-serif;
407 font-size: 1.25em;
408 padding-bottom: .5ex;
409}
410
411.diff-info {
412 font-family: sans-serif;
413 font-size: 1.25em;
414}
415
416.diff-hunk-header {
417 background-color: #eee;
418 color: grey;
419}
420
421.code td {
422 padding: 0 1ex 0;
423}
424
425:target,
426.code tr:hover {
427 background-color: #fff8d2 !important;
428}
429
430.code-linenum {
431 vertical-align: top;
432 text-align: right;
433 color: grey;
434 border-right: 1px solid rgba(0, 0, 0, 0.06);
435}
436
437.code-linenum a {
438 color: inherit;
439}
440
441.code-linenum a:hover {
442 color: #9f9999;
443}
444
445.code-text {
446 white-space: pre-wrap;
447 width: 100%;
448}
449
450.diff-old { background-color: #ffe2dd; }
451.diff-new { background-color: #d1ffd6; }
452
453.code img {
454 max-width: 100%;
455}
456
457/* Pull requests */
458
459#commits:not(:target) ~ #commits-tab,
460#commits:target ~ #files-tab {
461 display: none;
462}
463
464#commits:not(:target) + .tab-links #files-link,
465#commits:target + .tab-links #commits-link {
466 font-weight: bold;
467}
468
469.date-info {
470 font-weight: normal;
471 text-align: left;
472 color: #666;
473}
474
475.compare-commits td:first-child {
476 padding-left: 2ex;
477 white-space: nowrap;
478 text-overflow: ellipsis;
479 overflow: hidden;
480 max-width: 10em;
481}
482
483.commit-title {
484 word-break: break-all;
485}
486
487.pr-tab-links {
488 margin: .5em 0 0.25em;
489}
490
491.merge-instructions {
492 margin-top: .5em;
493}
494
495#merge-instructions:not(:checked) + h4 .toggle-open,
496#merge-instructions:checked + h4 .toggle-closed,
497#merge-instructions:not(:checked) ~ .contents {
498 display: none;
499}
500
501.toggle-link {
502 color: #006eff;
503 font-weight: normal;
504}
505
506.date { font-size: .8em; color: #666;}
507
508.dib { display: inline-block; }
509
510.w-100 { width: 100%; }
511
512.ml2 { margin-left: 2rem; }
513
514.mt1 { margin-top: 0.5rem; }
515
516.float-right { float: right; }
517
518.light-grey { color: #909090; }
519
520select.custom-dropdown {
521 -webkit-appearance: none; /*REMOVES DEFAULT CHROME & SAFARI STYLE*/
522 -moz-appearance: none; /*REMOVES DEFAULT FIREFOX STYLE*/
523
524 -webkit-border-radius: 1rem;
525 border: 1px #e1e1e1 solid;
526 border-radius: 0.5rem;
527 font-size: 1rem;
528 padding: .1rem;
529 width: 30%;
530 cursor: pointer;
531
532 background: #fff url(drop-down-arrow.png) no-repeat right center;
533 background-size: 32px 32px; /*TO ACCOUNT FOR @2X IMAGE FOR RETINA */
534}
535
536select.custom-dropdown:active,
537select.custom-dropdown:hover,
538select.custom-dropdown:focus {
539 outline: 0;
540}
541
542select.custom-dropdown optgroup {
543 margin: 0.5rem;
544}
545
546.fileLocation {
547 border: 1px #dedede solid;
548 border-bottom: none;
549 padding: 0.2rem 0.7rem;
550 background-color: #f6f6f6;
551}
552

Built with git-ssb-web