Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions _sass/custom/base-font-size.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
/*
Base font size
The theme grows the root font size with the screen (16px phone up to 22px on wide
screens), which makes everything look zoomed in on laptops and desktops. Keep the
scale gentler; every rem-based size follows.
========================================================================== */

html {
font-size: 16px;

@include breakpoint($medium) {
font-size: 16px;
}

@include breakpoint($large) {
font-size: 17px;
}

@include breakpoint($x-large) {
font-size: 18px;
}
}
1 change: 1 addition & 0 deletions _sass/minimal-mistakes.scss
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@
@import "minimal-mistakes/print";

/* Custom styling */
@import "custom/base-font-size";
@import "custom/no-sidebar";
@import "custom/display-author-page.scss";
@import "custom/display-publications.scss";
Expand Down
Loading