Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make changing font size easier #15

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Make changing font size easier #15

wants to merge 1 commit into from

Conversation

KraftwerkBeard
Copy link

Default for 1em is 16px.
By setting body.font-size you can alter this default. In this case then 1em would equal 14px.
Changed all other font-size values to use em rather than pixel. All em values are calculated based on 1em = 14px to maintain consistent output with original stylesheet.

Now you can change just the body.font-size value to whatever px size is comfortable for your editing environment, and the relative sizing between Markdown Elements stays consistent with the original default styles.

Default for 1em is 16px.
By setting body.font-size you can alter this default. In this case then 1em would equal 14px.
Changed all other font-size values to use em rather than pixel. All em values are calculated based on 1em = 14px to maintain consistent output with original stylesheet.

Now you can change just the body.font-size value to whatever px size is comfortable for your editing environment, and the relative sizing between Markdown Elements stays consistent with the original default styles.
@KOTRET
Copy link

KOTRET commented Sep 1, 2016

then better use rem instead of em?

@UlionTse
Copy link

UlionTse commented Aug 4, 2017

Add Latex ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants