Files: a82d9b053001af225a6db818036079f377f481d0 / style.css
12263 bytesRaw
1 | /* functional */ |
2 | |
3 | html, body { |
4 | margin: 0; |
5 | font-size: 14px; line-height: 20px; |
6 | color: #333; |
7 | } |
8 | |
9 | p { |
10 | margin-bottom: 10px; |
11 | } |
12 | |
13 | a { |
14 | color: #0088cc; |
15 | text-decoration: none; |
16 | } |
17 | |
18 | a:hover, |
19 | a:focus { |
20 | color: #005580; |
21 | text-decoration: underline; |
22 | } |
23 | |
24 | pre { |
25 | width: 100%; |
26 | display: block; |
27 | } |
28 | |
29 | code { |
30 | display: inline-block; |
31 | vertical-align: bottom; |
32 | } |
33 | |
34 | code, pre { |
35 | overflow: auto; |
36 | word-break: break-all; |
37 | word-wrap: break-word; |
38 | white-space: pre; |
39 | white-space: -moz-pre-wrap; |
40 | white-space: pre-wrap; |
41 | white-space: pre\9; |
42 | } |
43 | |
44 | code, pre { |
45 | font-size: 12px; |
46 | color: #333333; |
47 | } |
48 | |
49 | code { |
50 | color: #d14; |
51 | background-color: #f7f7f9; |
52 | } |
53 | |
54 | pre { |
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 | |
84 | input, 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 | |
92 | input { |
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 | |
102 | input.search { |
103 | margin-right: 5px; |
104 | height: 14px; |
105 | width: 96px; |
106 | background: #f5f5f5; |
107 | } |
108 | |
109 | button.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 | |
165 | h1, h2, h3, h4, h5, h6 { |
166 | font-size: 1.2em; |
167 | margin-top: .35ex; |
168 | } |
169 | |
170 | p { |
171 | margin-top: .35ex; |
172 | } |
173 | |
174 | hr { |
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 | |
272 | textarea { |
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 | |
282 | textarea: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 | |
355 | img.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 { |
420 | width: 26px; |
421 | height: 26px; |
422 | border-radius: 2px; |
423 | } |
424 | |
425 | .profile { |
426 | padding: .5ex; |
427 | } |
428 | |
429 | .profile__info { |
430 | margin-left: .5em; |
431 | } |
432 | |
433 | /* lightbox - used in message-confirm */ |
434 | |
435 | .lightbox { |
436 | margin-top: 5em; |
437 | margin-bottom: 3em; |
438 | width: 90%; |
439 | max-width: 600px; |
440 | z-index: 5; |
441 | margin-left: auto; |
442 | margin-right: auto; |
443 | } |
444 | |
445 | .lightbox .message-confirm { |
446 | box-shadow: 0px 0px 1500px 1500px rgba(0, 0, 0, 0.1); |
447 | } |
448 | |
449 | /* searchprompt */ |
450 | |
451 | form.search { |
452 | float: right; |
453 | } |
454 | |
455 | .header__profile { |
456 | margin: .7em; |
457 | } |
458 | |
459 | /* gitssb */ |
460 | |
461 | .git-table-wrapper { |
462 | max-height: 12em; |
463 | overflow: auto; |
464 | word-break: break-all; |
465 | margin: 1em 0; |
466 | } |
467 | |
468 | .git-table-wrapper table { |
469 | width: 100%; |
470 | } |
471 | |
472 | /* aesthetic */ |
473 | |
474 | body, input, button, p, li, h1, h2, h3, h4, h5, h6, textarea { |
475 | font-family: "Source Sans Pro", sans-serif; |
476 | } |
477 | |
478 | |
479 | .btn { |
480 | margin-right: 4px; |
481 | display: inline-block; |
482 | *display: inline; |
483 | padding: 4px 12px; |
484 | margin-bottom: 0; |
485 | *margin-left: .3em; |
486 | font-size: 14px; |
487 | line-height: 20px; |
488 | color: #333333; |
489 | text-align: center; |
490 | text-shadow: 0 1px 1px rgba(255, 255, 255, 0.75); |
491 | vertical-align: middle; |
492 | cursor: pointer; |
493 | background-color: #f5f5f5; |
494 | *background-color: #e6e6e6; |
495 | background-image: -moz-linear-gradient(top, #ffffff, #e6e6e6); |
496 | background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), to(#e6e6e6)); |
497 | background-image: -webkit-linear-gradient(top, #ffffff, #e6e6e6); |
498 | background-image: -o-linear-gradient(top, #ffffff, #e6e6e6); |
499 | background-image: linear-gradient(to bottom, #ffffff, #e6e6e6); |
500 | background-repeat: repeat-x; |
501 | border: 1px solid #cccccc; |
502 | *border: 0; |
503 | border-color: #e6e6e6 #e6e6e6 #bfbfbf; |
504 | border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); |
505 | border-bottom-color: #b3b3b3; |
506 | -webkit-border-radius: 4px; |
507 | -moz-border-radius: 4px; |
508 | border-radius: 4px; |
509 | filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#ffe6e6e6', GradientType=0); |
510 | filter: progid:DXImageTransform.Microsoft.gradient(enabled=false); |
511 | *zoom: 1; |
512 | -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05); |
513 | -moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05); |
514 | box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05); |
515 | } |
516 | |
517 | |
518 | .btn:hover, |
519 | .btn:focus, |
520 | .btn:active, |
521 | .btn.active, |
522 | .btn.disabled, |
523 | .btn[disabled] { |
524 | color: #333333; |
525 | background-color: #e6e6e6; |
526 | *background-color: #d9d9d9; |
527 | } |
528 | |
529 | .btn:active, |
530 | .btn.active { |
531 | background-color: #cccccc \9; |
532 | } |
533 | |
534 | .btn:first-child { |
535 | *margin-left: 0; |
536 | } |
537 | |
538 | .btn:hover, |
539 | .btn:focus { |
540 | color: #333333; |
541 | text-decoration: none; |
542 | background-position: 0 -15px; |
543 | -webkit-transition: background-position 0.1s linear; |
544 | -moz-transition: background-position 0.1s linear; |
545 | -o-transition: background-position 0.1s linear; |
546 | transition: background-position 0.1s linear; |
547 | } |
548 | |
549 | .btn:focus { |
550 | outline: thin dotted #333; |
551 | outline: 5px auto -webkit-focus-ring-color; |
552 | outline-offset: -2px; |
553 | } |
554 | |
555 | .btn.active, |
556 | .btn:active { |
557 | background-image: none; |
558 | outline: 0; |
559 | -webkit-box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05); |
560 | -moz-box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05); |
561 | box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05); |
562 | } |
563 | |
564 | .btn-primary { |
565 | color: #ffffff; |
566 | text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); |
567 | background-color: #006dcc; |
568 | *background-color: #0044cc; |
569 | background-image: -moz-linear-gradient(top, #0088cc, #0044cc); |
570 | background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#0088cc), to(#0044cc)); |
571 | background-image: -webkit-linear-gradient(top, #0088cc, #0044cc); |
572 | background-image: -o-linear-gradient(top, #0088cc, #0044cc); |
573 | background-image: linear-gradient(to bottom, #0088cc, #0044cc); |
574 | background-repeat: repeat-x; |
575 | border-color: #0044cc #0044cc #002a80; |
576 | border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); |
577 | filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff0088cc', endColorstr='#ff0044cc', GradientType=0); |
578 | filter: progid:DXImageTransform.Microsoft.gradient(enabled=false); |
579 | } |
580 | |
581 | .btn-primary:hover, |
582 | .btn-primary:focus, |
583 | .btn-primary:active, |
584 | .btn-primary.active, |
585 | .btn-primary.disabled, |
586 | .btn-primary[disabled] { |
587 | color: #ffffff; |
588 | background-color: #0044cc; |
589 | *background-color: #003bb3; |
590 | } |
591 | |
592 | .btn-primary:active, |
593 | .btn-primary.active { |
594 | background-color: #003399 \9; |
595 | } |
596 | |
597 | .btn-success { |
598 | color: #ffffff; |
599 | text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); |
600 | background-color: #5bb75b; |
601 | *background-color: #51a351; |
602 | background-image: -moz-linear-gradient(top, #62c462, #51a351); |
603 | background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#62c462), to(#51a351)); |
604 | background-image: -webkit-linear-gradient(top, #62c462, #51a351); |
605 | background-image: -o-linear-gradient(top, #62c462, #51a351); |
606 | background-image: linear-gradient(to bottom, #62c462, #51a351); |
607 | background-repeat: repeat-x; |
608 | border-color: #51a351 #51a351 #387038; |
609 | border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); |
610 | filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff62c462', endColorstr='#ff51a351', GradientType=0); |
611 | filter: progid:DXImageTransform.Microsoft.gradient(enabled=false); |
612 | } |
613 | |
614 | .btn-success:hover, |
615 | .btn-success:focus, |
616 | .btn-success:active, |
617 | .btn-success.active, |
618 | .btn-success.disabled, |
619 | .btn-success[disabled] { |
620 | color: #ffffff; |
621 | background-color: #51a351; |
622 | *background-color: #499249; |
623 | } |
624 | |
625 | .btn-success:active, |
626 | .btn-success.active { |
627 | background-color: #408140 \9; |
628 | } |
629 | |
630 | .btn-danger { |
631 | color: #ffffff; |
632 | text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); |
633 | background-color: #da4f49; |
634 | *background-color: #bd362f; |
635 | background-image: -moz-linear-gradient(top, #ee5f5b, #bd362f); |
636 | background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ee5f5b), to(#bd362f)); |
637 | background-image: -webkit-linear-gradient(top, #ee5f5b, #bd362f); |
638 | background-image: -o-linear-gradient(top, #ee5f5b, #bd362f); |
639 | background-image: linear-gradient(to bottom, #ee5f5b, #bd362f); |
640 | background-repeat: repeat-x; |
641 | border-color: #bd362f #bd362f #802420; |
642 | border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); |
643 | filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffee5f5b', endColorstr='#ffbd362f', GradientType=0); |
644 | filter: progid:DXImageTransform.Microsoft.gradient(enabled=false); |
645 | } |
646 | |
647 | .btn-danger:hover, |
648 | .btn-danger:focus, |
649 | .btn-danger:active, |
650 | .btn-danger.active, |
651 | .btn-danger.disabled, |
652 | .btn-danger[disabled] { |
653 | color: #ffffff; |
654 | background-color: #bd362f; |
655 | *background-color: #a9302a; |
656 | } |
657 | |
658 | .btn-danger:active, |
659 | .btn-danger.active { |
660 | background-color: #942a25 \9; |
661 | } |
662 | |
663 | |
664 |
Built with git-ssb-web