git ssb

30+

cel / git-ssb-web



Tree: 73f5c0e2cbea24e8a586237edc96377e1fe63c4b

Files: 73f5c0e2cbea24e8a586237edc96377e1fe63c4b / static / styles.css

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

Built with git-ssb-web