]>
Commit | Line | Data |
---|---|---|
20d294a5 RBR |
1 | * { |
2 | padding: 0; | |
3 | margin: 0 | |
4 | } | |
54345095 | 5 | html { scroll-behavior: smooth } |
554c7e00 | 6 | body { |
c21740be | 7 | font-size: 1em; |
cb935595 | 8 | font-family: "Hoefler Text", "Times New Roman", serif; |
1203ab0c | 9 | font-feature-settings: "liga" 1, "dlig" 1, "pnum" 1; |
ea3c62fe RBR |
10 | line-height: 1.6; |
11 | letter-spacing: 0.02em; | |
20d294a5 | 12 | padding: 2em; |
554c7e00 | 13 | } |
a94ee76a RBR |
14 | @supports (-webkit-touch-callout: none) { |
15 | body { | |
16 | font-size: 1em; | |
17 | font: -apple-system-body; | |
18 | font-family: "Hoefler Text", "Times New Roman", serif; | |
19 | font-feature-settings: "liga" 1, "dlig" 1, "pnum" 1; | |
20 | line-height: 1.6; | |
21 | letter-spacing: 0.02em; | |
22 | padding: 2em; | |
23 | } | |
24 | } | |
b28d5c2c RBR |
25 | aside { |
26 | clear: both; | |
20d294a5 | 27 | padding: 2em 0; |
b28d5c2c | 28 | } |
7629ba8e | 29 | ::selection { |
7629ba8e | 30 | background-color: #e8e8e8; |
69c55f3c | 31 | color: #00f; |
7629ba8e | 32 | } |
271fa561 | 33 | .h2 { margin-top: 1em } |
f752d89a | 34 | @media only screen and (min-width: 500px) { |
54345095 | 35 | body { overflow-x: auto } |
69c55f3c RBR |
36 | .columned { |
37 | width: max-content; | |
38 | ||
39 | .h2:not(:only-child) { | |
40 | float: left; | |
41 | margin: 0 60px 0 0; | |
42 | ||
43 | h2 { max-width: 14.6em } | |
44 | .h3, | |
45 | li, | |
46 | p { max-width: 24em } | |
47 | pre { max-width: 25em } | |
48 | } | |
49 | ||
50 | .h2:first-of-type { | |
51 | columns: 3; | |
52 | width: 24em; | |
53 | ||
69c55f3c RBR |
54 | h2:empty {display: none} |
55 | h2, | |
56 | pre, | |
57 | ul, | |
58 | p:not(.a) { column-span: all } | |
59 | p { break-after: column } | |
60 | p.a { break-after: avoid } | |
61 | } | |
62 | } | |
f752d89a RBR |
63 | } |
64 | ||
0d649c62 | 65 | .a { margin: 0 0.3em } |
69c55f3c RBR |
66 | pre { |
67 | background-color: #eee; | |
68 | font-family: courier, monospace; | |
69 | font-size: 0.875em; | |
1949f067 | 70 | max-width: 55em; |
69c55f3c RBR |
71 | overflow-x: auto; |
72 | padding: 1em; | |
73 | } | |
36197f91 | 74 | pre[aria-label="rbdr"] { display: none } |
c1bc1a5c | 75 | blockquote, p, article > div { |
c1bc1a5c RBR |
76 | max-width: 45em |
77 | } | |
f752d89a RBR |
78 | blockquote { |
79 | border-left: 4px solid #ccc; | |
80 | padding-left: 10px; | |
81 | } | |
61655f3c RBR |
82 | p { margin: 1em 0 } |
83 | ul { padding-left: 2em } | |
a54114f6 | 84 | br, p:empty { display: none } |
20d294a5 | 85 | h1, h2, h3 { |
f53ac547 | 86 | font-family: "Avenir Next", "Montserrat", "Segoe UI Variable Display", "Noto Sans", "Roboto", "Segoe UI", sans-serif; |
20d294a5 RBR |
87 | font-weight: 900 |
88 | } | |
61655f3c | 89 | h1, h2 { |
4efce86d RBR |
90 | font-size: 2em; |
91 | text-transform: lowercase; | |
92 | } | |
20d294a5 | 93 | h3 { |
4efce86d | 94 | display: inline-block; |
20d294a5 RBR |
95 | font-weight: 600; |
96 | margin-top: 1em | |
97 | } | |
98 | ||
61655f3c | 99 | h1, h2, h3, a { color: #00f } |
b4146376 | 100 | a { text-decoration: underline silver } |
6fb47dda | 101 | .a a:hover { text-decoration: underline #00f } |
20d294a5 RBR |
102 | |
103 | .h2 a { | |
104 | display: inline-block; | |
105 | padding: 0.25em 0; | |
106 | margin: 0.25em 0; | |
107 | } | |
108 | ||
bd38d96a RBR |
109 | header { position: relative } |
110 | main { | |
111 | position: relative; | |
112 | z-index: 1 | |
113 | } | |
20d294a5 RBR |
114 | header h1 { |
115 | font-size: min(7.5rem, 17vw); | |
116 | font-weight: 900; | |
117 | letter-spacing: -0.2em; | |
118 | line-height: 1em; | |
119 | } | |
120 | header h1 a { | |
121 | background: repeating-linear-gradient( | |
122 | 0deg, | |
123 | black, | |
124 | black 1px, | |
125 | white 1px, | |
126 | white 2px | |
127 | ); | |
128 | background-clip: text; | |
129 | color: transparent; | |
130 | display: inline-block; | |
131 | padding-right: 0.2em; | |
132 | text-decoration: none; | |
133 | -webkit-text-stroke: 1px #000; | |
134 | } | |
554c7e00 | 135 | |
3b6787e4 | 136 | canvas { |
36626ad1 | 137 | background-color: #000; |
ad06827e | 138 | border: 1px solid #000; |
20d294a5 | 139 | display: inline-block; |
69c55f3c RBR |
140 | height: 64px; |
141 | width: 64px; | |
967d51a0 BB |
142 | } |
143 | ||
21b1c71d | 144 | @media (prefers-color-scheme: dark) { |
b44cad65 | 145 | body { |
554c7e00 | 146 | background: #000; |
69c55f3c | 147 | color: #fff; |
b44cad65 | 148 | } |
36626ad1 RBR |
149 | canvas { |
150 | background-color: #fff; | |
ad06827e | 151 | border: 1px solid #fff; |
36626ad1 | 152 | } |
61655f3c | 153 | h1, h2, h3, a { color: #5dc1fd } |
eaa68f7f | 154 | a { text-decoration: underline dimgray } |
6fb47dda | 155 | .a a:hover { text-decoration: underline #5dc1fd } |
54345095 | 156 | pre { background-color: #222 } |
20d294a5 RBR |
157 | header h1 a { |
158 | -webkit-text-stroke: 1px #fff; | |
159 | } | |
bb31ec9c | 160 | } |