File tree 3 files changed +30
-1
lines changed
3 files changed +30
-1
lines changed Original file line number Diff line number Diff line change 82
82
/* max-width: initial; */
83
83
/* } */
84
84
85
+ /* Font adjustments */
86
+ /* px2rem($size, $base: 20px) => math.div($size, $base) * 1rem */
87
+ /* html { */
88
+ /* Hack: mkdocs wants to set base `font-size: 62.5%` to base all calculations on `10px` */
89
+ /* But Chrome defines minimal `font-size: 12px` if language is Chinese */
90
+ /* so it just doubles `font-size` to use `20px` base; https://github.com/squidfunk/mkdocs-material/issues/911 */
91
+ /* font-size: 125% */
92
+ /* } */
93
+ @media screen and (min-width : 100em ) {
94
+ /* [screen medium +]: Set base `font-size` to `11px` i.e. `137.5%` */
95
+ html {
96
+ font-size : 137.5%
97
+ }
98
+ }
99
+ @media screen and (min-width : 125em ) {
100
+ /* [screen large +]: Set base `font-size` to `12px` i.e. `150%` */
101
+ html {
102
+ font-size : 137.5%
103
+ }
104
+ }
105
+ /* body { */
106
+ /* mkdocs default: px2rem(12px) */
107
+ /* font-size: 0.5rem */
108
+ /* } */
109
+ /* .md-typeset { */
110
+ /* font-size: 0.7rem; */
111
+ /* } */
112
+
85
113
/* Hide images for light mode */
86
114
/* img[src$="#only-light"] { */
87
115
/* display: none; */
File renamed without changes.
Original file line number Diff line number Diff line change 50
50
icon : material/flare
51
51
name : Light Mode
52
52
font :
53
- text : Nunito
53
+ # text: Nunito
54
+ text : Source Serif Pro
54
55
code : Source Code Pro
55
56
icon :
56
57
logo : material/gamepad-variant
You can’t perform that action at this time.
0 commit comments