Skip to content

Upgrade-friendly way of adjusting font sizes globally #1219

Answered by mmistakes
ohadschn asked this question in Q&A
Discussion options

You must be logged in to vote

The way Jekyll handles _sass files you have to actually override the entire folder for it to accept any of your changes. So even if you override _reset.scss it won't take. And as you pointed out that's a large file and probably something you don't want to mess with if possible.

There's actually a simpler solution. Because of the way CSS works, you can add all of your custom overrides or "new" CSS to a single file, assets/css/main.scss.

This file has 2 lines, and the chances of it changing are slim to none since all it does is import another Sass partial that contains all of the theme's components and modules.

So what you can do is add any overriding/new CSS after the @import minimal-mista…

Replies: 22 comments 3 replies

Comment options

You must be logged in to vote
3 replies
@tensaurus
Comment options

@TobiasSchaffner
Comment options

@kbroch-rivosinc
Comment options

Answer selected by mmistakes
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
10 participants
Converted from issue

This discussion was converted from issue #1219 on December 09, 2020 03:39.