git ssb

0+

ev / minbase



Tree: f1cc08ac986f18880000b780dae6fb2043e76948

Files: f1cc08ac986f18880000b780dae6fb2043e76948 / style.css

12283 bytesRaw
1/* functional */
2
3html, body {
4 margin: 0;
5 font-size: 14px; line-height: 20px;
6 color: #333;
7}
8
9p {
10 margin-bottom: 10px;
11}
12
13a {
14 color: #0088cc;
15 text-decoration: none;
16}
17
18a:hover,
19a:focus {
20 color: #005580;
21 text-decoration: underline;
22}
23
24pre {
25 width: 100%;
26 display: block;
27}
28
29code {
30 display: inline-block;
31 vertical-align: bottom;
32}
33
34code, pre {
35overflow: auto;
36word-break: break-all;
37word-wrap: break-word;
38white-space: pre;
39white-space: -moz-pre-wrap;
40white-space: pre-wrap;
41white-space: pre\9;
42}
43
44code, pre {
45 font-size: 12px;
46 color: #333333;
47}
48
49code {
50 color: #d14;
51 background-color: #f7f7f9;
52}
53
54pre {
55 margin: 0 0 10px;
56 font-size: 13px;
57 line-height: 20px;
58 background-color: #f5f5f5;
59 border: 1px solid #ccc;
60 border: 1px solid rgba(0, 0, 0, 0.15);
61 border-radius: 4px;
62}
63
64.navbar a {
65 color: #999;
66 text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
67}
68
69.navbar a:hover, .navbar a:focus {
70 color: #fff;
71 text-decoration: none;
72}
73
74.navbar {
75 background: #1b1b1b;
76 background: linear-gradient(#222, #111);
77 border-bottom: 1px solid #252525;
78}
79
80.screen {
81 background: #f7f7f9;
82}
83
84input, textarea {
85 box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
86 transition: border linear 0.2s, box-shadow linear 0.2s;
87 border: 1px solid #eee;
88 color: #555;
89 border-radius: 4px;
90}
91
92input {
93 width: 206px;
94 height: 20px;
95 padding: 4px 6px;
96 font-size: 14px;
97 line-height: 20px;
98 color: #555555;
99 vertical-align: middle;
100}
101
102input.search {
103 margin-right: 5px;
104 height: 14px;
105 width: 96px;
106 background: #f5f5f5;
107}
108
109button.btn-search {
110 margin-right: 1em;
111}
112
113.message, .message > * {
114 animation: fadein .5s;
115}
116
117
118@keyframes fadein {
119 from { opacity: 0; }
120 to { opacity: 1; }
121}
122
123.message, .message-confirm {
124 display: block;
125 position: relative;
126 flex-basis: 0;
127 border: 1px solid #eee;
128 max-width: 100%;
129 padding: .5em;
130 margin-top: .25em;
131 margin-bottom: .25em;
132 background: white;
133 border-radius: 4px;
134}
135
136.title {
137 border-bottom: 1px solid #eee;
138}
139
140.navbar {
141 width: 100%;
142 position: fixed;
143 z-index: 1000;
144 margin: 0;
145 padding-top: .3em;
146 padding-bottom: .1;
147 left: 0; right: 0;
148 top: 0;
149}
150
151.navbar .internal {
152 max-width: 645px;
153 margin-left: auto;
154 margin-right: auto;
155}
156
157.navbar li {
158 margin-top: .3em;
159 float: left;
160 padding-right: .6em;
161 padding-left: .3em;
162 list-style-type: none;
163}
164
165h1, h2, h3, h4, h5, h6 {
166 font-size: 1.2em;
167 margin-top: .35ex;
168}
169
170p {
171 margin-top: .35ex;
172}
173
174hr {
175 border: solid #eee;
176 clear: both;
177 border-width: 1px 0 0;
178 height: 0;
179 margin-bottom: .9em;
180}
181
182.screen {
183 width: 100%;
184 position: absolute;
185 top: 2.7em; bottom: 0;
186 left: 0; right: 0;
187 overflow-y: hidden;
188}
189
190@media only screen and (max-width: 500px) {
191 .screen {
192 top: 4em;
193 }
194}
195
196.column {
197 display: flex;
198 flex-direction: column;
199 min-height:0px;
200}
201
202.row {
203 display: flex;
204 flex-direction: row;
205 min-height:0px;
206}
207
208.end {
209 justify-content: flex-end;
210}
211
212.wrap {
213 display: flex;
214 flex-direction: row;
215 flex-wrap: wrap;
216}
217
218.no-shrink {
219 flex-shrink: 0;
220}
221
222.expand {
223 justify-content: space-between;
224}
225
226.scroll-y {
227 overflow-y: auto;
228 min-height: 0px;
229}
230
231.scroll-x {
232 overflow-x: auto;
233 min-width: 0px;
234}
235
236.wide {
237 width: 100%;
238}
239
240/* scrolling feeds, threads */
241
242.scroller {
243 width: 100%;
244 flex: 1;
245}
246
247.scroller__content {
248 max-width: 640px;
249 margin-left: auto;
250 margin-right: auto;
251}
252
253.scroller__wrapper {
254 width: 100%;
255}
256
257
258/* compose */
259
260.compose {
261 max-width: 640px;
262 margin-left: auto;
263 margin-right: auto;
264 margin-top: 1.5em;
265}
266
267.theme {
268 height: 20em;
269 width: 100%;
270}
271
272textarea {
273 box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
274 transition: border linear 0.2s, box-shadow linear 0.2s;
275 padding: 4px 6px;
276 font-size: 1em;
277 margin: 0;
278 margin-bottom: .3em;
279 border-radius: 4px;
280}
281
282textarea:focus, {
283 border-color: rgba(82, 168, 236, 0.8);
284 box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(82, 168, 236, 0.6);
285}
286
287/* messages */
288
289
290.message_content {
291 margin-top: 5px;
292 padding-top: 3px;
293}
294
295.message_content > span, .message_content > div {
296 width: 100%;
297}
298
299.message_content--mini div > span {
300 display: inline-block;
301}
302
303.message_meta {
304 margin-left: auto;
305}
306
307.edited {
308 float: right;
309}
310
311.message .innercontent {
312 width: 100%;
313 display: none;
314}
315
316.message .innercontent:nth-last-child(2) {
317 display: block;
318}
319
320.message_meta > * {
321 margin-left: .5ex;
322}
323
324.message_actions {
325 margin-left: auto;
326 margin-top: auto;
327}
328
329.message img {
330 max-width: 98%;
331 border: 1px solid #ccc;
332 padding: 4px;
333}
334
335.message > .title > .avatar {
336 margin-left: 0;
337}
338
339.message_content {
340 padding: .5ex;
341}
342
343.actions > :not(:last-child) {
344 padding-right: 5px;
345}
346
347.emoji {
348 height: 14px;
349 width: 14px;
350 vertical-align: top;
351 border: none;
352 padding: 0;
353}
354
355img.emoji {
356 border: none;
357 padding: none;
358}
359
360
361/* -- suggest box */
362
363.suggest-box > * {
364 display: block;
365}
366
367.suggest-box ul {
368 padding: 0;
369 list-style-type: none;
370 padding-left: 0;
371 margin: 0;
372}
373
374.suggest-box .selected {
375 background: #ddd;
376}
377
378.suggest-box {
379 width: max-content;
380 background: white;
381}
382
383/* emoji */
384
385.suggest-box img {
386 height: 20px;
387 width: 20px;
388}
389
390/* avatar */
391
392.avatar--profile {
393 float: left;
394}
395
396.avatar--profile img {
397 border: none;
398 width: 5em;
399 height: 5em;
400 margin-right: 5px;
401 vertical-align: top;
402 border-radius: 4px;
403}
404
405.avatar--thumbnail {
406 float: left;
407}
408
409.avatar--thumbnail img {
410 border: none;
411 width: 2.5em;
412 height: 2.5em;
413 vertical-align: top;
414 margin-right: .5ex;
415 margin-bottom: .1ex;
416 border-radius: 4px;
417}
418
419.avatar--tiny img {
420 border: none;
421 width: 26px;
422 height: 26px;
423 border-radius: 2px;
424}
425
426.profile {
427 padding: .5ex;
428}
429
430.profile__info {
431 margin-left: .5em;
432}
433
434/* lightbox - used in message-confirm */
435
436.lightbox {
437 margin-top: 5em;
438 margin-bottom: 3em;
439 width: 90%;
440 max-width: 600px;
441 z-index: 5;
442 margin-left: auto;
443 margin-right: auto;
444}
445
446.lightbox .message-confirm {
447 box-shadow: 0px 0px 1500px 1500px rgba(0, 0, 0, 0.1);
448}
449
450/* searchprompt */
451
452form.search {
453 float: right;
454}
455
456.header__profile {
457 margin: .7em;
458}
459
460/* gitssb */
461
462.git-table-wrapper {
463 max-height: 12em;
464 overflow: auto;
465 word-break: break-all;
466 margin: 1em 0;
467}
468
469.git-table-wrapper table {
470 width: 100%;
471}
472
473/* aesthetic */
474
475body, input, button, p, li, h1, h2, h3, h4, h5, h6, textarea {
476 font-family: "Source Sans Pro", sans-serif;
477}
478
479
480.btn {
481 margin-right: 4px;
482 display: inline-block;
483 *display: inline;
484 padding: 4px 12px;
485 margin-bottom: 0;
486 *margin-left: .3em;
487 font-size: 14px;
488 line-height: 20px;
489 color: #333333;
490 text-align: center;
491 text-shadow: 0 1px 1px rgba(255, 255, 255, 0.75);
492 vertical-align: middle;
493 cursor: pointer;
494 background-color: #f5f5f5;
495 *background-color: #e6e6e6;
496 background-image: -moz-linear-gradient(top, #ffffff, #e6e6e6);
497 background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), to(#e6e6e6));
498 background-image: -webkit-linear-gradient(top, #ffffff, #e6e6e6);
499 background-image: -o-linear-gradient(top, #ffffff, #e6e6e6);
500 background-image: linear-gradient(to bottom, #ffffff, #e6e6e6);
501 background-repeat: repeat-x;
502 border: 1px solid #cccccc;
503 *border: 0;
504 border-color: #e6e6e6 #e6e6e6 #bfbfbf;
505 border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
506 border-bottom-color: #b3b3b3;
507 -webkit-border-radius: 4px;
508 -moz-border-radius: 4px;
509 border-radius: 4px;
510 filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#ffe6e6e6', GradientType=0);
511 filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
512 *zoom: 1;
513 -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
514 -moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
515 box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
516}
517
518
519.btn:hover,
520.btn:focus,
521.btn:active,
522.btn.active,
523.btn.disabled,
524.btn[disabled] {
525 color: #333333;
526 background-color: #e6e6e6;
527 *background-color: #d9d9d9;
528}
529
530.btn:active,
531.btn.active {
532 background-color: #cccccc \9;
533}
534
535.btn:first-child {
536 *margin-left: 0;
537}
538
539.btn:hover,
540.btn:focus {
541 color: #333333;
542 text-decoration: none;
543 background-position: 0 -15px;
544 -webkit-transition: background-position 0.1s linear;
545 -moz-transition: background-position 0.1s linear;
546 -o-transition: background-position 0.1s linear;
547 transition: background-position 0.1s linear;
548}
549
550.btn:focus {
551 outline: thin dotted #333;
552 outline: 5px auto -webkit-focus-ring-color;
553 outline-offset: -2px;
554}
555
556.btn.active,
557.btn:active {
558 background-image: none;
559 outline: 0;
560 -webkit-box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05);
561 -moz-box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05);
562 box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05);
563}
564
565.btn-primary {
566 color: #ffffff;
567 text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
568 background-color: #006dcc;
569 *background-color: #0044cc;
570 background-image: -moz-linear-gradient(top, #0088cc, #0044cc);
571 background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#0088cc), to(#0044cc));
572 background-image: -webkit-linear-gradient(top, #0088cc, #0044cc);
573 background-image: -o-linear-gradient(top, #0088cc, #0044cc);
574 background-image: linear-gradient(to bottom, #0088cc, #0044cc);
575 background-repeat: repeat-x;
576 border-color: #0044cc #0044cc #002a80;
577 border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
578 filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff0088cc', endColorstr='#ff0044cc', GradientType=0);
579 filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
580}
581
582.btn-primary:hover,
583.btn-primary:focus,
584.btn-primary:active,
585.btn-primary.active,
586.btn-primary.disabled,
587.btn-primary[disabled] {
588 color: #ffffff;
589 background-color: #0044cc;
590 *background-color: #003bb3;
591}
592
593.btn-primary:active,
594.btn-primary.active {
595 background-color: #003399 \9;
596}
597
598.btn-success {
599 color: #ffffff;
600 text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
601 background-color: #5bb75b;
602 *background-color: #51a351;
603 background-image: -moz-linear-gradient(top, #62c462, #51a351);
604 background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#62c462), to(#51a351));
605 background-image: -webkit-linear-gradient(top, #62c462, #51a351);
606 background-image: -o-linear-gradient(top, #62c462, #51a351);
607 background-image: linear-gradient(to bottom, #62c462, #51a351);
608 background-repeat: repeat-x;
609 border-color: #51a351 #51a351 #387038;
610 border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
611 filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff62c462', endColorstr='#ff51a351', GradientType=0);
612 filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
613}
614
615.btn-success:hover,
616.btn-success:focus,
617.btn-success:active,
618.btn-success.active,
619.btn-success.disabled,
620.btn-success[disabled] {
621 color: #ffffff;
622 background-color: #51a351;
623 *background-color: #499249;
624}
625
626.btn-success:active,
627.btn-success.active {
628 background-color: #408140 \9;
629}
630
631.btn-danger {
632 color: #ffffff;
633 text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
634 background-color: #da4f49;
635 *background-color: #bd362f;
636 background-image: -moz-linear-gradient(top, #ee5f5b, #bd362f);
637 background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ee5f5b), to(#bd362f));
638 background-image: -webkit-linear-gradient(top, #ee5f5b, #bd362f);
639 background-image: -o-linear-gradient(top, #ee5f5b, #bd362f);
640 background-image: linear-gradient(to bottom, #ee5f5b, #bd362f);
641 background-repeat: repeat-x;
642 border-color: #bd362f #bd362f #802420;
643 border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
644 filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffee5f5b', endColorstr='#ffbd362f', GradientType=0);
645 filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
646}
647
648.btn-danger:hover,
649.btn-danger:focus,
650.btn-danger:active,
651.btn-danger.active,
652.btn-danger.disabled,
653.btn-danger[disabled] {
654 color: #ffffff;
655 background-color: #bd362f;
656 *background-color: #a9302a;
657}
658
659.btn-danger:active,
660.btn-danger.active {
661 background-color: #942a25 \9;
662}
663
664
665

Built with git-ssb-web