Created
December 24, 2024 09:39
-
-
Save jpalala/216e467e3620c036d44b7657fa4699d4 to your computer and use it in GitHub Desktop.
Sassy Enough.CSS
This file contains 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
body { | |
font: 22px/1.6 system-ui,sans-serif; | |
margin: auto; | |
max-width: 35em; | |
padding: 0 1em; | |
} | |
img, video { | |
max-width: 100%; | |
height: auto; | |
} | |
@media (max-width: 1140px) { | |
body { | |
font-size: 20px; | |
} | |
} | |
@media (max-width: 740px) { | |
body { | |
font-size: 18px; | |
} | |
} | |
@media (max-width: 466px) { | |
body { | |
font-size: 16px; | |
} | |
} | |
code, kbd { | |
font-family: ui-monospace,SFMono-Regular,Monaco,monospace; | |
} | |
pre { | |
font-family: ui-monospace,SFMono-Regular,Monaco,monospace; | |
background-color: #f8f8ff; | |
font-size: smaller; | |
overflow: auto; | |
padding: 1em; | |
} | |
table { | |
border-collapse: collapse; | |
width: 100%; | |
} | |
td, th { | |
padding: .5em; | |
border: 1px solid; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment