Created
December 11, 2023 04:55
-
-
Save diamondburned/26a88119a388b9d3c5ad5dc96128c81e to your computer and use it in GitHub Desktop.
Advent of Code CSS but actually good
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
* { | |
box-sizing: border-box; | |
} | |
body { | |
margin: 0 auto; | |
padding: 1em 1.5em; | |
min-height: 100vh; | |
max-width: 800px; | |
min-width: auto; | |
font-family: monospace; | |
font-weight: 400; | |
} | |
html { | |
background: #0f0f23; | |
} | |
header { | |
overflow: auto; | |
padding-bottom: 0.5em; | |
margin-bottom: 1.5em; | |
} | |
body > pre { | |
color: white; | |
font-size: 0.9em; | |
} | |
article { | |
width: auto; | |
} | |
article h2 + * { | |
white-space: break-spaces; | |
} | |
#sponsor { | |
display: none; | |
} | |
#aoc-extension { | |
position: absolute; | |
width: 100%; | |
left: 0; | |
overflow: auto; | |
} | |
#aoc-extension-graphs > div { | |
height: 40vh; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment