|
14 | 14 | ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, Liberation Mono, |
15 | 15 | Courier New, monospace; |
16 | 16 | --ifm-font-family-base: |
17 | | - ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, |
18 | | - Roboto, Helvetica Neue, Arial, Noto Sans, sans-serif, Apple Color Emoji, |
19 | | - Segoe UI Emoji, Segoe UI Symbol, Noto Color Emoji; |
20 | | - |
| 17 | + -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', |
| 18 | + Arial, sans-serif; |
| 19 | + --ifm-heading-font-family: |
| 20 | + -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', |
| 21 | + Arial, sans-serif; |
| 22 | + |
| 23 | + --ifm-font-size-base: 100%; |
| 24 | + --ifm-line-height-base: 1.75; |
21 | 25 | --ifm-code-font-size: 85%; |
22 | 26 |
|
23 | 27 | --ifm-heading-font-weight: 700; |
24 | | - --ifm-heading-line-height: 1.618; |
| 28 | + --ifm-heading-line-height: 1.25; |
25 | 29 | --ifm-heading-margin-top: 1.618rem; |
26 | 30 |
|
27 | 31 | --ifm-color-primary: hsl( |
|
143 | 147 | } |
144 | 148 |
|
145 | 149 | h1 { |
146 | | - font-size: 2.618rem; |
147 | | - letter-spacing: -0.02em; |
| 150 | + font-family: var(--ifm-heading-font-family); |
| 151 | + font-size: 2.75rem; |
| 152 | + letter-spacing: -0.022em; |
148 | 153 | margin-top: 0; |
149 | | - margin-left: -0.09rem; |
| 154 | + margin-bottom: 0.5rem; |
| 155 | + margin-left: -0.05rem; |
| 156 | + font-weight: 700; |
| 157 | + line-height: 1.15; |
150 | 158 | } |
151 | 159 |
|
152 | 160 | h2 { |
153 | | - font-size: 1.618rem; |
154 | | - letter-spacing: -0.02em; |
155 | | - margin-left: -0.09rem; |
| 161 | + font-family: var(--ifm-heading-font-family); |
| 162 | + font-size: 2rem; |
| 163 | + letter-spacing: -0.018em; |
| 164 | + margin-top: 2.25rem; |
| 165 | + margin-bottom: 0.5rem; |
| 166 | + margin-left: -0.04rem; |
| 167 | + font-weight: 700; |
| 168 | + line-height: 1.22; |
| 169 | + border-bottom: none; |
| 170 | + padding-bottom: 0; |
156 | 171 | } |
157 | 172 |
|
158 | 173 | h3 { |
159 | | - font-size: 1.382rem; |
160 | | - letter-spacing: -0.01em; |
| 174 | + font-family: var(--ifm-heading-font-family); |
| 175 | + font-size: 1.5rem; |
| 176 | + letter-spacing: -0.014em; |
| 177 | + margin-top: 2rem; |
| 178 | + margin-bottom: 0.5rem; |
| 179 | + font-weight: 700; |
| 180 | + line-height: 1.3; |
161 | 181 | } |
162 | 182 |
|
163 | 183 | h4 { |
164 | | - font-size: 1.145rem; |
| 184 | + font-family: var(--ifm-heading-font-family); |
| 185 | + font-size: 1.25rem; |
| 186 | + letter-spacing: -0.012em; |
| 187 | + margin-top: 1.75rem; |
| 188 | + margin-bottom: 0.5rem; |
| 189 | + font-weight: 700; |
| 190 | + line-height: 1.35; |
165 | 191 | } |
166 | 192 |
|
167 | 193 | h5 { |
168 | | - font-size: 1rem; |
| 194 | + font-family: var(--ifm-heading-font-family); |
| 195 | + font-size: 1.125rem; |
| 196 | + letter-spacing: -0.01em; |
| 197 | + margin-top: 1.5rem; |
| 198 | + margin-bottom: 0.5rem; |
| 199 | + font-weight: 700; |
| 200 | + line-height: 1.4; |
169 | 201 | } |
170 | 202 |
|
171 | 203 | h6 { |
172 | | - font-size: 0.85rem; |
| 204 | + font-family: var(--ifm-heading-font-family); |
| 205 | + font-size: 1rem; |
| 206 | + letter-spacing: -0.008em; |
| 207 | + margin-top: 1.25rem; |
| 208 | + margin-bottom: 0.5rem; |
| 209 | + font-weight: 700; |
| 210 | + line-height: 1.45; |
173 | 211 | } |
174 | 212 |
|
175 | 213 | p { |
176 | 214 | font-size: 1rem; |
177 | 215 | line-height: 1.75; |
| 216 | + margin-bottom: 1.5rem; |
| 217 | + letter-spacing: -0.003em; |
| 218 | +} |
| 219 | + |
| 220 | +article p { |
| 221 | + font-size: 1rem; |
| 222 | + line-height: 1.75; |
| 223 | + color: var(--ifm-font-color-base); |
| 224 | + margin-bottom: 1.5rem; |
| 225 | + letter-spacing: -0.003em; |
178 | 226 | } |
179 | 227 |
|
180 | 228 | @media (min-width: 90rem) { |
@@ -459,6 +507,20 @@ article { |
459 | 507 | text-wrap: pretty; |
460 | 508 | } |
461 | 509 |
|
| 510 | +article > div > * + h2 { |
| 511 | + margin-top: 3.5rem; |
| 512 | +} |
| 513 | + |
| 514 | +article > div > * + h3 { |
| 515 | + margin-top: 3rem; |
| 516 | +} |
| 517 | + |
| 518 | +article h2 + p, |
| 519 | +article h3 + p, |
| 520 | +article h4 + p { |
| 521 | + margin-top: 1rem; |
| 522 | +} |
| 523 | + |
462 | 524 | article img, |
463 | 525 | article video:not(.video-player video), |
464 | 526 | .video-player { |
|
0 commit comments