Created
October 20, 2023 16:43
-
-
Save chriskrycho/e623c7fdc8db8bdc3ed0606704f50750 to your computer and use it in GitHub Desktop.
My custom style sheet for danluu.com
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
html { | |
font: 17px/1.4 Palatino; | |
} | |
body { | |
max-width: 36rem; | |
margin-left: clamp(1rem, 20%, calc(50% - 21rem)); | |
margin-right: clamp(1rem, 20%, calc(50% - 21rem)); | |
} | |
pre { | |
background: #f8f8f8; | |
padding-top: 1em; | |
overflow: scroll; | |
white-space: pre; | |
} | |
code { | |
background: #f8f8f8; | |
} | |
pre code { | |
font-size: 14px; | |
} | |
sup { | |
line-height: 0; | |
font-size: 0.8em; | |
font-family: Sans-Serif; | |
vertical-align: 0.5em; | |
} | |
blockquote { | |
font-style: italic; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment