mirror of
https://github.com/snachodog/just-the-docs.git
synced 2025-04-17 00:22:24 -06:00
Fix native font stack precedence issue on Windows systems.
This commit is contained in:
parent
5915b2fef5
commit
7cfc63e138
@ -2,7 +2,7 @@
|
|||||||
//// Typography
|
//// Typography
|
||||||
////
|
////
|
||||||
|
|
||||||
//$body-font-family: -apple-system, BlinkMacSystemFont, "helvetica neue", helvetica, roboto, noto, "segoe ui", arial, sans-serif;
|
//$body-font-family: -apple-system, BlinkMacSystemFont, "helvetica neue", "segoe ui", helvetica, roboto, noto, arial, sans-serif;
|
||||||
//$mono-font-family: "SFMono-Regular", Menlo, Consolas, Monospace;
|
//$mono-font-family: "SFMono-Regular", Menlo, Consolas, Monospace;
|
||||||
//$root-font-size: 16px; // Base font-size for rems
|
//$root-font-size: 16px; // Base font-size for rems
|
||||||
//$body-line-height: 1.4;
|
//$body-line-height: 1.4;
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
//
|
//
|
||||||
|
|
||||||
$body-font-family: -apple-system, BlinkMacSystemFont, "helvetica neue",
|
$body-font-family: -apple-system, BlinkMacSystemFont, "helvetica neue",
|
||||||
helvetica, roboto, noto, "segoe ui", arial, sans-serif !default;
|
"segoe ui", helvetica, roboto, noto, arial, sans-serif !default;
|
||||||
$mono-font-family: "SFMono-Regular", Menlo, Consolas, Monospace !default;
|
$mono-font-family: "SFMono-Regular", Menlo, Consolas, Monospace !default;
|
||||||
$root-font-size: 16px !default; // Base font-size for rems
|
$root-font-size: 16px !default; // Base font-size for rems
|
||||||
$body-line-height: 1.4 !default;
|
$body-line-height: 1.4 !default;
|
||||||
|
@ -21,7 +21,7 @@ nav_order: 1
|
|||||||
By default, Just the Docs uses a native system font stack for sans-serif fonts:
|
By default, Just the Docs uses a native system font stack for sans-serif fonts:
|
||||||
|
|
||||||
```scss
|
```scss
|
||||||
-apple-system, BlinkMacSystemFont, "helvetica neue", helvetica, roboto, noto, "segoe ui", arial, sans-serif
|
-apple-system, BlinkMacSystemFont, "helvetica neue", "segoe ui", helvetica, roboto, noto, arial, sans-serif
|
||||||
```
|
```
|
||||||
|
|
||||||
ABCDEFGHIJKLMNOPQRSTUVWXYZ
|
ABCDEFGHIJKLMNOPQRSTUVWXYZ
|
||||||
|
Loading…
x
Reference in New Issue
Block a user