Skip to content

Commit 469b163

Browse files
authored
make text smaller with font overrides in main.scss (#30)
- [x] add main.scss - [x] set font defaults to smaller values
1 parent f106725 commit 469b163

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

assets/css/main.scss

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
---
2+
# upgrade-friendly font size adjustment for Minimal Mistakes
3+
# see https://github.com/mmistakes/minimal-mistakes/issues/1219
4+
---
5+
@import "minimal-mistakes";
6+
7+
html {
8+
font-size: 14px; // change to whatever
9+
10+
@include breakpoint($medium) {
11+
font-size: 14px; // change to whatever
12+
}
13+
14+
@include breakpoint($large) {
15+
font-size: 16px; // change to whatever
16+
}
17+
18+
@include breakpoint($x-large) {
19+
font-size: 18px; // change to whatever
20+
}
21+
}

0 commit comments

Comments
 (0)