Commit c34fab9
committed
Respect user font preferences
Technically savvy users are more likely to have a font preference
configured, and developers are more likely to have a preference for a
particular monospace font.
This commit removes the font family and base font size from the
stylesheet so that users can view the documentation with their preferred
fonts.
In particular, this stops forcing the use of the Courier font for
`<code>` elements nested in `<p>` when the Consolas and Menlo fonts are
not installed, which is commonly the case on Linux. This also fixes
mismatching fonts for `<code>` elements nested in `<p>` versus `<code>`
elements nested in `<pre>`.1 parent 1575e97 commit c34fab9
3 files changed
+12
-15
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
| 4 | + | |
| 5 | + | |
4 | 6 | | |
5 | 7 | | |
6 | 8 | | |
| |||
28 | 30 | | |
29 | 31 | | |
30 | 32 | | |
31 | | - | |
| 33 | + | |
| 34 | + | |
32 | 35 | | |
33 | 36 | | |
| 37 | + | |
34 | 38 | | |
35 | | - | |
36 | | - | |
37 | 39 | | |
38 | 40 | | |
39 | 41 | | |
| |||
214 | 216 | | |
215 | 217 | | |
216 | 218 | | |
217 | | - | |
218 | | - | |
219 | | - | |
220 | | - | |
221 | 219 | | |
222 | 220 | | |
223 | 221 | | |
| |||
236 | 234 | | |
237 | 235 | | |
238 | 236 | | |
239 | | - | |
240 | 237 | | |
241 | 238 | | |
242 | 239 | | |
| |||
326 | 323 | | |
327 | 324 | | |
328 | 325 | | |
329 | | - | |
330 | | - | |
331 | 326 | | |
332 | 327 | | |
333 | 328 | | |
| |||
369 | 364 | | |
370 | 365 | | |
371 | 366 | | |
372 | | - | |
373 | 367 | | |
374 | 368 | | |
375 | 369 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| 12 | + | |
12 | 13 | | |
13 | 14 | | |
14 | 15 | | |
| |||
164 | 165 | | |
165 | 166 | | |
166 | 167 | | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
167 | 173 | | |
168 | 174 | | |
169 | 175 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | 20 | | |
24 | 21 | | |
25 | 22 | | |
| |||
44 | 41 | | |
45 | 42 | | |
46 | 43 | | |
47 | | - | |
| 44 | + | |
0 commit comments