Code fall back to sans-serif if no monospace font
This commit is contained in:
parent
b2ed9abae9
commit
766b0814d6
2 changed files with 2 additions and 2 deletions
|
@ -53,7 +53,7 @@ pre{
|
|||
* 4. Give the code form by forcing the `code` to honour white-space.
|
||||
*/
|
||||
.line-numbers{
|
||||
font-family:monospace, serif; /* [1] */
|
||||
font-family:monospace, sans-serif; /* [1] */
|
||||
list-style:decimal-leading-zero inside; /* [2] */
|
||||
white-space:nowrap; /* [3] */
|
||||
overflow:auto; /* [3] */
|
||||
|
|
|
@ -163,7 +163,7 @@ code,
|
|||
kbd,
|
||||
pre,
|
||||
samp {
|
||||
font-family: monospace, serif;
|
||||
font-family: monospace, sans-serif;
|
||||
font-size: 1em;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue