feat: use web font
parent
e6eae31c93
commit
58bd2ff46e
|
@ -0,0 +1,42 @@
|
|||
@import "../themes/theme";
|
||||
|
||||
$text-font-stack: 'Muli',
|
||||
Georgia,
|
||||
-apple-system,
|
||||
'Noto Sans',
|
||||
'Noto Sans CJK SC',
|
||||
'PingFang SC',
|
||||
'Hiragino Sans GB',
|
||||
'Microsoft Yahei',
|
||||
'ST Heiti',
|
||||
sans-serif !default;
|
||||
$code-font-stack: Consolas,
|
||||
Monaco,
|
||||
Menlo,
|
||||
"DejaVu Sans Mono",
|
||||
"Bitstream Vera Sans Mono",
|
||||
"Courier New",
|
||||
"Lucida Console",
|
||||
"Lucida Sans Typewriter",
|
||||
"Liberation Mono",
|
||||
"Nimbus Mono L",
|
||||
Monaco,
|
||||
Courier,
|
||||
monospace !default;
|
||||
|
||||
$z-indexes: ("drawer", "modal", "dropdown", "navbar", "header", "gtt", "clipboard", "grid", "search-btn", "search", "menu", "content", "landing", "footer", "taxo", "toc", "gallery-mask", "section-title", "highlight");
|
||||
|
||||
$breakpoints: (
|
||||
'xs': 0,
|
||||
'sm': 600px,
|
||||
'md': 960px,
|
||||
'lg': 1280px,
|
||||
'xl': 1960px,
|
||||
);
|
||||
|
||||
$grid-max-width: 1289px;
|
||||
$grid-nav-height: 50px;
|
||||
$grid-body-width: 769px;
|
||||
$grid-side-width: 240px;
|
||||
$drawer-width: 240px;
|
||||
$menu-title-height: 30px;
|
|
@ -22,6 +22,8 @@ enableNavbar = true
|
|||
enableFooter = true
|
||||
showPoweredBy = true
|
||||
|
||||
fontsLink = "https://fonts.googleapis.com/css2?family=Noto+Sans+SC&family=Noto+Sans&display=swap"
|
||||
|
||||
tocLevels = ["h2", "h3", "h4"]
|
||||
paginateWindow = 1
|
||||
taxoPaginate = 13
|
||||
|
|
|
@ -0,0 +1,2 @@
|
|||
title_font = "\"Montserrat\", Georgia, -apple-system, \"Noto Sans\", \"Noto Sans CJK SC\", \"PingFang SC\", \"Hiragino Sans GB\", \"Microsoft Yahei\", \"ST Heiti\", sans-serif"
|
||||
content_font = "\"muli\", Georgia, -apple-system, \"Noto Sans\", \"Noto Sans CJK SC\", \"PingFang SC\", \"Hiragino Sans GB\", \"Microsoft Yahei\", \"ST Heiti\", sans-serif"
|
|
@ -1 +1 @@
|
|||
Subproject commit aade84fe43ace51f792f40365740a77d87abe68e
|
||||
Subproject commit 174e0e6f2b747102872afd2e2a91e85b581f2f13
|
Loading…
Reference in New Issue