Skip to content

Commit 88f6c4f

Browse files
committed
use "monospace" as the final fallback code font
All the code samples on the home page are in an ugly serifed font for me. The CSS currently has: font-family: Monaco, Bitstream Vera Sans Mono, Lucida Console, Terminal; which means that unless you have one of exactly that set of fonts installed, you get browser default. The fix is to add "monospace" to the end of the list.
1 parent e20929e commit 88f6c4f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

_sass/_main.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1117,7 +1117,7 @@ table tr th {
11171117
}
11181118
code,
11191119
pre {
1120-
font-family: Monaco, Bitstream Vera Sans Mono, Lucida Console, Terminal;
1120+
font-family: Monaco, Bitstream Vera Sans Mono, Lucida Console, Terminal, monospace;
11211121
color: #333;
11221122
font-size: 12px;
11231123
}

0 commit comments

Comments
 (0)