]>
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
);
82 background-color: var
(--navbar-bg
);
83 box-shadow: 0 3px 4px rgba
(0, 0, 0, 0.5);
90 justify-content: space-between
;
92 border-bottom: 1px solid var
(--border-color
);
124 padding-bottom: 17.5rem;
130 max-width: var
(--max-width
);
153 .main blockquote > p:first-child {
159 list-style-type: disc
;
164 list-style-type: decimal
;
173 border: 1px solid var
(--c-dark
);
174 border-collapse: collapse
;
182 background-color: var
(--c-bg-dark
);
183 color: var
(--c-light
);
190 td:not
(:first-child
), th:not
(:first-child
) {
191 border-left: 1px solid var
(--c-dark
);
195 background-color: var
(--c-shadow
);
203 background: var
(--jumbotron-bg
);
204 box-shadow: 0 1px 5px rgba
(0, 0, 0, 0.6);
205 color: var
(--jumbotron-text-color
);
206 padding: 4em 0 4em 0;
228 margin: 2em auto
-2em auto
;
246 justify-content: space-around
;
247 align-items: stretch
;
248 max-width: var
(--max-width-box
);
254 text-decoration: none
;
255 color: var
(--jumbotron-text-color
);
259 background-color: var
(--box-color
);
260 border-radius: var
(--box-round
);
264 .box:hover,.box:active {
265 color: var
(--jumbotron-text-color
);
266 background-color: var
(--box-hover-color
);
280 margin-top: var
(--margin-box-fa
);
283 .fa-comments,.fa-question {
284 margin-bottom: var
(--margin-box-fa
);
311 flex-direction: column
;
321 display: inline-block
;
328 border-radius: calc
(var
(--box-round
) / 2);
340 list-style-type: none
;
347 justify-content: space-between
;
348 align-items: baseline
;
368 max-width: var
(--max-width
);
373 .artlist li:not(:first-child) {
374 border-top: 1px solid var
(--border-color
);
383 display: inline-block
;
384 vertical-align: baseline
;
387 color: var
(--art-date-color
);
388 font-feature-settings: "tnum";
389 font-variant-numeric: tabular-nums
;
399 justify-content: space-between
;
407 .art-nav *:nth-child(1) { text-align: left
; }
408 .art-nav *:nth-child(2) { text-align: center
; }
409 .art-nav *:nth-child(3) { text-align: right
; }
413 max-width: calc
(var
(--max-width
) - .7em);
414 display: inline-block
;
415 border-left: .5em solid var
(--c-shadow
);
432 list-style-type: none
;
437 justify-content: stretch
;
453 color: var
(--text-color
);
458 color: var
(--link-color
);
460 .kb-index a:hover h2 {
461 color: var
(--link-hover-color
);
466 /*min-height: 30vh;*/
472 background: var
(--jumbotron-bg
);
473 color: var
(--footer-text-color
);
475 box-shadow: 0 -3px 5px rgba
(150,150,150,.36);
487 justify-content: center
;
488 align-items: flex-start
;
499 .footerchild:last-child {
509 color: var
(--footer-link-color
);
513 color: var
(--footer-hover-color
);
518 display: inline-block
;
521 .footerchild ul, .footerchild ul ul {
525 list-style-type: none
;
534 flex-direction: column
;
542 .footerchild ul li:last-child {
546 .footer-push ul li:last-child {
563 justify-content: space-between
;
564 align-items: flex-start
;
568 display: inline-block
;
571 .footerchild ul li img
,
572 .footerchild ul li .fa-fw {
577 .footer h2, .footer h3 {
585 justify-content: space-between
;
586 background: var
(--copyright-bg
);
588 color: var
(--copyright-text-color
);
594 footer
.copyright div
{
614 .copyright .footer-link {