]>
Witch of Git - web/blog/blob - _includes/style.css
2 * { box-sizing: border-box
; }
5 html
{ font-size: 1.4em; line-height: 1.5; color: #444; }
6 body
{ padding: 1em; max-width: 700px; margin: 0 auto
; min-height: 100vh; }
7 header
{ margin-bottom: 1em; }
8 footer
{ margin-top: 1em; }
12 h1
, h2
, h3
, h4
, h5
, h6
{ margin-bottom: 0; }
14 .c-sun { color: #f78123; }
15 .dec-none { text-decoration: none
; }
18 border-left: solid
10px #bbb;
25 /* @TODO: Make this width managing simpler? */
26 img
{ max-width: 800px; border-radius: 4px; }
27 @media (max-width: 825px) { img
{ max-width: calc
(100vw - 1em); } }
29 figcaption
> :first-child
, aside
> :first-child
{ margin-top: 0; }
30 figcaption
> :last-child
, aside
> :first-child
{ margin-bottom: 0; }
31 figcaption
{ font-style: italic
; }
34 border: 1px solid black
;
39 aside
.warning
{ background: #ffecbf; }
43 .row { display: flex
; flex-direction: row
; }
44 .col { display: flex
; flex-direction: column
; }
45 .hgroup { display: flex
; flex-direction: row
; }
46 @media (max-width: 500px) { .hgroup
{ flex-direction: column
; } }
47 .row.hcenter { justify-content: center
; }
48 .col.hcenter { align-items: center
; }
49 .baseline { align-items: baseline
; }
50 .spacer { flex-grow: 1; }
51 .ls-none { list-style: none
; padding: 0; margin: 0; }
53 /* Barebones un-highlighted code blocks */
56 width: calc
(100% + 8em);
58 display: inline-block
;
61 box-sizing: border-box
;
67 @media (max-width: calc
(700px + 9em)) {
68 pre
> code
{ margin: 0 -1em; width: calc
(100% + 2em); }