git ssb

30+

cel / git-ssb-web



Tree: 3f3db7f933ef4c0d691241e3d7321484a300da28

Files: 3f3db7f933ef4c0d691241e3d7321484a300da28 / static / styles.css

7555 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-url {
225 font-size: small;
226 border: none;
227 border-radius: 4px;
228 float: right;
229 margin: 0;
230 margin-top: 0.2rem;
231 padding: 0 0.4rem;
232 max-width: 50%;
233
234 background-color: #eaeaea;
235 color: #6f6f6f;
236}
237.clone-url:hover {
238 color: #000;
239}
240
241nav {
242 margin: .5em 0 1ex 0;
243 clear: left;
244}
245
246nav a {
247 border-radius: .5ex;
248 padding: 0 1ex 0 0;
249 display: inline-block;
250 margin-right: .5ex;
251}
252nav a:hover {
253 color: #333;
254}
255
256nav a.active {
257 font-weight: bold;
258}
259
260.raw-link {
261 float: right;
262 display: inline-block;
263}
264
265.header-align {
266 margin-top: .25em;
267}
268
269/* files list */
270
271table.files {
272 border: 1px #dedede solid;
273}
274
275.files td:first-child {
276 padding: 0 1ex;
277 width: .7rem;
278}
279
280/* user page */
281
282.user-id {
283 float: right;
284 font-weight: normal;
285 font-size: small;
286 display: inline-block;
287 margin: 0;
288}
289
290h2 .user-id {
291 padding-top: .5em;
292}
293
294h3 .user-id {
295 padding-top: .25em;
296}
297
298/* new issue form */
299
300.wide-input {
301 width: 99%;
302 display: block;
303 font-size: inherit;
304 line-height: inherit;
305}
306
307/* issues */
308
309.issue-state {
310}
311
312.issue-state-open {
313}
314
315.issue-state-closed {
316 color: black ;
317}
318
319/* issue */
320
321.issue-status {
322 margin-right: .75ex;
323 border-radius: .2em;
324}
325
326.open {
327 font-weight: bold;
328}
329
330.btn.open:hover {
331}
332
333.closed {
334}
335
336.mention-preview {
337 overflow: hidden;
338 white-space: nowrap;
339 text-overflow: ellipsis;
340}
341
342.tab-links label,
343.tab-links a {
344 padding: 1ex;
345 color: #333;
346}
347
348#tab1:checked ~ .tab-links .tab1-link,
349#tab2:checked ~ .tab-links .tab2-link {
350 text-decoration: underline;
351}
352
353#tab1:not(:checked) ~ .tab1,
354.tab2 {
355 display: none;
356}
357
358.tab1,
359#tab2:checked ~ .tab2 {
360 display: block;
361}
362
363.preview-text {
364 border: 1px solid #c0bdba;
365 min-height: 6em;
366 margin: .25ex 0;
367 padding: .25ex;
368}
369
370.preview-text :first-child {
371 margin-top: 0;
372}
373.preview-text :last-child {
374 margin-bottom: 0;
375}
376
377.highlight {
378 background-color: #ff6;
379 padding: .25ex .5ex;
380 margin: -.25ex -.5ex;
381}
382
383.item-id {
384 color: grey;
385 line-height: 2;
386 font-size: 10pt;
387}
388
389/* code and diffs */
390
391.code {
392 border-collapse: collapse;
393 text-align: left;
394 width: 100%;
395}
396
397.code th {
398 font-family: sans-serif;
399 font-size: 1.25em;
400 padding-bottom: .5ex;
401}
402
403.diff-info {
404 font-family: sans-serif;
405 font-size: 1.25em;
406}
407
408.diff-hunk-header {
409 background-color: #eee;
410 color: grey;
411}
412
413.code td {
414 padding: 0 1ex 0;
415}
416
417:target,
418.code tr:hover {
419 background-color: #fff8d2 !important;
420}
421
422.code-linenum {
423 vertical-align: top;
424 text-align: right;
425 color: grey;
426 border-right: 1px solid rgba(0, 0, 0, 0.06);
427}
428
429.code-linenum a {
430 color: inherit;
431}
432
433.code-linenum a:hover {
434 color: #9f9999;
435}
436
437.code-text {
438 white-space: pre-wrap;
439 width: 100%;
440}
441
442.diff-old { background-color: #ffe2dd; }
443.diff-new { background-color: #d1ffd6; }
444
445.code img {
446 max-width: 100%;
447}
448
449/* Pull requests */
450
451#commits:not(:target) ~ #commits-tab,
452#commits:target ~ #files-tab {
453 display: none;
454}
455
456#commits:not(:target) + .tab-links #files-link,
457#commits:target + .tab-links #commits-link {
458 font-weight: bold;
459}
460
461.date-info {
462 font-weight: normal;
463 text-align: left;
464 color: #666;
465}
466
467.compare-commits td:first-child {
468 padding-left: 2ex;
469 white-space: nowrap;
470 text-overflow: ellipsis;
471 overflow: hidden;
472 max-width: 10em;
473}
474
475.commit-title {
476 word-break: break-all;
477}
478
479.pr-tab-links {
480 margin: .5em 0 0.25em;
481}
482
483.merge-instructions {
484 margin-top: .5em;
485}
486
487#merge-instructions:not(:checked) + h4 .toggle-open,
488#merge-instructions:checked + h4 .toggle-closed,
489#merge-instructions:not(:checked) ~ .contents {
490 display: none;
491}
492
493.toggle-link {
494 color: #006eff;
495 font-weight: normal;
496}
497
498.date { font-size: .8em; color: #666;}
499
500.dib { display: inline-block; }
501
502.w-100 { width: 100%; }
503
504.ml2 { margin-left: 2rem; }
505
506.mt1 { margin-top: 0.5rem; }
507
508.float-right { float: right; }
509
510.light-grey { color: #909090; }
511
512select.custom-dropdown {
513 -webkit-appearance: none; /*REMOVES DEFAULT CHROME & SAFARI STYLE*/
514 -moz-appearance: none; /*REMOVES DEFAULT FIREFOX STYLE*/
515
516 -webkit-border-radius: 1rem;
517 border: 1px #e1e1e1 solid;
518 border-radius: 0.5rem;
519 font-size: 1rem;
520 padding: .1rem;
521 width: 30%;
522 cursor: pointer;
523
524 background: #fff url(drop-down-arrow.png) no-repeat right center;
525 background-size: 32px 32px; /*TO ACCOUNT FOR @2X IMAGE FOR RETINA */
526}
527
528select.custom-dropdown:active,
529select.custom-dropdown:hover,
530select.custom-dropdown:focus {
531 outline: 0;
532}
533
534select.custom-dropdown optgroup {
535 margin: 0.5rem;
536}
537
538.fileLocation {
539 border: 1px #dedede solid;
540 border-bottom: none;
541 padding: 0.2rem 0.7rem;
542 background-color: #f6f6f6;
543}
544

Built with git-ssb-web