swissChili | e392aeb | 2020-08-10 15:52:10 -0700 | [diff] [blame] | 1 | html, |
| 2 | body |
| 3 | { |
| 4 | font-family: /*'Segoe UI', 'Roboto', 'San Francisco', 'IBM Plex Sans',*/ sans-serif; |
| 5 | } |
| 6 | |
| 7 | body |
| 8 | { |
| 9 | display: grid; |
| 10 | place-items: center center |
| 11 | } |
| 12 | |
| 13 | |
| 14 | h4 code |
| 15 | { |
| 16 | font-size: 1.5em; |
| 17 | } |
| 18 | |
| 19 | code |
| 20 | { |
| 21 | background: #f2f4f4; |
| 22 | border-radius: 5px; |
| 23 | padding: 3px 5px 3px 5px; |
| 24 | } |
| 25 | |
| 26 | .container |
| 27 | { |
| 28 | width: 60em; |
| 29 | } |
| 30 | |
| 31 | .nav |
| 32 | { |
| 33 | font-size: 1.5rem; |
| 34 | display: flex; |
| 35 | flex-direction: row; |
| 36 | |
| 37 | .wide |
| 38 | { |
| 39 | flex: 1; |
| 40 | font-weight: bold; |
| 41 | } |
| 42 | } |
| 43 | |
| 44 | .split |
| 45 | { |
| 46 | display: grid; |
| 47 | grid-template-columns: 16em auto; |
| 48 | } |
| 49 | |
| 50 | video |
| 51 | { |
| 52 | width: 100%; |
| 53 | } |
| 54 | |
| 55 | @media screen and (max-width: 58em) |
| 56 | { |
| 57 | .split |
| 58 | { |
| 59 | display: flex; |
| 60 | flex-direction: column; |
| 61 | } |
| 62 | |
| 63 | .container |
| 64 | { |
| 65 | width: calc(100% - 2em); |
| 66 | margin: 1em; |
| 67 | } |
| 68 | } |