Created
November 23, 2021 09:31
-
-
Save edwinmasripan/3b57b42a5034f1eb4ff7e59eef609cec to your computer and use it in GitHub Desktop.
Adaptive Font Settings for Oxygen Builder
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| Zero-rize all the fonts on Oxygen Builder. | |
| */ | |
| h1 {font-size:4em} | |
| h2 {font-size:3em} | |
| h3 {font-size:2em} | |
| h4 {font-size:1.5em} | |
| h1,h2,h3,h4 {letter-spacing:-.01em; line-height:0.95em;} | |
| p {font-size:.83em; margin: 0 0 1.5em} | |
| @media (max-width:1200px){ | |
| h1 {font-size: clamp(2.7em,8vw,4em); } | |
| h2 {font-size: clamp(2em,8vw,3em); } | |
| h3 {font-size: clamp(1.3em,8vw,2em); } | |
| h4 {font-size: clamp(1em,8vw,1.5em); } | |
| p {font-size: clamp(.67em,4vw,.833em) !important; } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment