git ssb

30+

cel / git-ssb-web



Tree: 03fddf861e3f80b369a338ba5adc6b18288c8ab3

Files: 03fddf861e3f80b369a338ba5adc6b18288c8ab3 / static / styles.css

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

Built with git-ssb-web