]>
jfr.im git - irc/freenode/web-7.0.git/blob - static/css/style.css
12 --navbar-bg: var
(--c-dark
);
13 --jumbotron-bg: var
(--c-bg-dark
);
14 --copyright-bg: var
(--c-dark
);
17 --link-color: var
(--c-hl-dark
);
18 --link-hover-color: var
(--c-hl-light
);
19 --footer-link-color: var
(--c-light
);
20 --footer-hover-color: #fff;
23 --text-color: var
(--c-dark
);
24 --footer-text-color: var
(--c-light
);
25 --copyright-text-color: var
(--c-light
);
26 --jumbotron-text-color: var
(--c-light
);
27 --art-date-color: color
(var
(--c-dark
) tint
(50%));
30 --border-color: var
(--c-dark
);
31 --box-color: var
(--c-bg-light
);
32 --box-hover-color: var
(--c-dark
);;
37 --max-width-box: 800px;
40 @custom-media --max-sm all and
(max-width: 600px);
41 @custom-media --max-md all and
(max-width: 800px);
42 @custom-media --max-rem all and
(max-width: 60rem);
44 /* reset css for browser compat */
48 box-sizing: border-box
;
53 font-family: 'Open Sans', sans-serif
;
54 font-feature-settings: "lnum";
55 font-variant-numeric: lining-nums
;
56 color: var
(--text-color
);
67 color: var
(--link-color
);
68 text-decoration: none
;
72 color: var
(--link-hover-color
);
80 color: var
(--c-light
);
83 background-color: var
(--navbar-bg
);
84 box-shadow: 0 3px 4px rgba
(0, 0, 0, 0.5);
91 justify-content: space-between
;
93 border-bottom: 1px solid var
(--border-color
);
109 #nav-logo { order: 10; }
110 #nav-pia { order: 30; }
112 #nav-jump { order: 1000; }
121 background-color: var
(--c-bg-dark
);
124 color: var
(--c-light
);
131 display: inline-block
;
151 #nav-searchbox:not
(:focus
) {
152 display: inline-block
;
158 background: transparent
;
162 #nav-searchbox:focus
{
172 padding-right: 2.5em;
176 #nav-searchbox:focus
+ #nav-label
{
179 pointer-events: none
;
196 margin-bottom: -.47ex;
206 padding-bottom: 17.5rem;
212 max-width: var
(--max-width
);
239 .main blockquote > p:first-child {
245 list-style-type: disc
;
250 list-style-type: decimal
;
259 border: 1px solid var
(--c-dark
);
260 border-collapse: collapse
;
268 background-color: var
(--c-bg-dark
);
269 color: var
(--c-light
);
276 td:not
(:first-child
), th:not
(:first-child
) {
277 border-left: 1px solid var
(--c-dark
);
281 background-color: var
(--c-shadow
);
289 background: var
(--jumbotron-bg
);
290 box-shadow: 0 1px 5px rgba
(0, 0, 0, 0.6);
291 color: var
(--jumbotron-text-color
);
292 padding: 4em 0 4em 0;
314 margin: 2em auto
-2em auto
;
332 justify-content: space-around
;
333 align-items: stretch
;
334 max-width: var
(--max-width-box
);
340 text-decoration: none
;
341 color: var
(--jumbotron-text-color
);
345 background-color: var
(--box-color
);
346 border-radius: var
(--box-round
);
350 .box:hover,.box:active {
351 color: var
(--jumbotron-text-color
);
352 background-color: var
(--box-hover-color
);
366 margin-top: var
(--margin-box-fa
);
369 .fa-comments,.fa-question {
370 margin-bottom: var
(--margin-box-fa
);
397 flex-direction: column
;
407 display: inline-block
;
414 border-radius: calc
(var
(--box-round
) / 2);
426 list-style-type: none
;
433 justify-content: space-between
;
434 align-items: baseline
;
454 max-width: var
(--max-width
);
459 .artlist li:not(:first-child) {
460 border-top: 1px solid var
(--border-color
);
469 display: inline-block
;
470 vertical-align: baseline
;
473 color: var
(--art-date-color
);
474 font-feature-settings: "tnum";
475 font-variant-numeric: tabular-nums
;
485 justify-content: space-between
;
493 .art-nav *:nth-child(1) { text-align: left
; }
494 .art-nav *:nth-child(2) { text-align: center
; }
495 .art-nav *:nth-child(3) { text-align: right
; }
499 display: inline-block
;
500 border-left: .5em solid var
(--c-shadow
);
517 list-style-type: none
;
522 justify-content: stretch
;
538 color: var
(--text-color
);
543 color: var
(--link-color
);
545 .kb-index a:hover h2 {
546 color: var
(--link-hover-color
);
551 /*min-height: 30vh;*/
557 background: var
(--jumbotron-bg
);
558 color: var
(--footer-text-color
);
560 box-shadow: 0 -3px 5px rgba
(150,150,150,.36);
572 justify-content: center
;
573 align-items: flex-start
;
584 .footerchild:last-child {
594 color: var
(--footer-link-color
);
598 color: var
(--footer-hover-color
);
603 display: inline-block
;
606 .footerchild ul, .footerchild ul ul {
610 list-style-type: none
;
619 flex-direction: column
;
627 .footerchild ul li:last-child {
631 .footer-push ul li:last-child {
648 justify-content: space-between
;
649 align-items: flex-start
;
653 display: inline-block
;
656 .footerchild ul li img
,
657 .footerchild ul li .fa-fw {
662 .footer h2, .footer h3 {
670 justify-content: space-between
;
671 background: var
(--copyright-bg
);
673 color: var
(--copyright-text-color
);
679 footer
.copyright div
{
699 .copyright .footer-link {