doc: better font stack for monospace in docs
There appear to be rendering issues with inconsistent glyph width when using the Monaco font on non-macOS machines. This change updates the native CSS font stack to use the same font stack as Boostrap does, minus the Monaco font. PR-URL: https://github.com/nodejs/node/pull/21036 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Yazhong Liu <yorkiefixer@gmail.com> Reviewed-By: Gus Caplan <me@gus.host> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
This commit is contained in:
parent
694ac6de5b
commit
0baad8f0eb
@ -35,7 +35,7 @@ h1, h2, h3, h4, h5, h6 {
|
||||
}
|
||||
|
||||
pre, tt, code, .pre, span.type, a.type {
|
||||
font-family: Monaco, Consolas, "Lucida Console", monospace;
|
||||
font-family: SFMono-Regular, Menlo, Consolas, "Liberation Mono", "Courier New", monospace;
|
||||
font-size: .9em;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user