mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-22 16:56:50 +00:00
Code fall back to sans-serif if no monospace font
This commit is contained in:
parent
b2ed9abae9
commit
766b0814d6
@ -53,7 +53,7 @@ pre{
|
|||||||
* 4. Give the code form by forcing the `code` to honour white-space.
|
* 4. Give the code form by forcing the `code` to honour white-space.
|
||||||
*/
|
*/
|
||||||
.line-numbers{
|
.line-numbers{
|
||||||
font-family:monospace, serif; /* [1] */
|
font-family:monospace, sans-serif; /* [1] */
|
||||||
list-style:decimal-leading-zero inside; /* [2] */
|
list-style:decimal-leading-zero inside; /* [2] */
|
||||||
white-space:nowrap; /* [3] */
|
white-space:nowrap; /* [3] */
|
||||||
overflow:auto; /* [3] */
|
overflow:auto; /* [3] */
|
||||||
|
@ -163,7 +163,7 @@ code,
|
|||||||
kbd,
|
kbd,
|
||||||
pre,
|
pre,
|
||||||
samp {
|
samp {
|
||||||
font-family: monospace, serif;
|
font-family: monospace, sans-serif;
|
||||||
font-size: 1em;
|
font-size: 1em;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user