oscarryz / manu

Minimalist Blogging Platform that powers https://oscarryz.com
https://oscarryz.com
MIT License
1 stars 1 forks source link

Add font CSS #12

Closed oscarryz closed 5 years ago

oscarryz commented 5 years ago

Fonts from https://fonts.google.com/ Edit: Use 1rem = 16 so, for all the px values calculate _N_px / 16 (e.g 32px -> 2rem - 32/16=2-)

color: rgba(0, 0, 0, 0.6);

font-family: Libre Baskerville; font-style: normal; font-weight: normal; font-size: 16px; line-height: 32px; / or 200% / color: rgba(0, 0, 0, 0.6);

font-family: Libre Baskerville; font-style: normal; font-weight: normal; font-size: 16px; line-height: 32px; / identical to box height, or 200% / color: rgba(255, 0, 0, 0.6);

See also rem vs em

oscarryz commented 5 years ago

Some items are missing but this can be closed now, will add more as we need them.