-
-
Save mcpower/e224e66699a3bfe774e9eee2fe43bb8a to your computer and use it in GitHub Desktop.
My user stylesheet for Advent of Code
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
/* Sans-serif for most content. */ | |
body { font-family: "Ubuntu", "Segoe UI", sans-serif; line-height: 1.3em; } | |
input~span:before, .leaderboard-entry, .privboard-row { font-family: "Source Code Pro", monospace; letter-spacing: -1px; } | |
/* Emphasis = bold, instead of glowy. */ | |
body * { text-shadow: none !important; } | |
article em { font-weight: bold; } | |
/* Center content. */ | |
main>article, main>p, pre.calendar, pre.stats, form, .leaderboard-entry, header { width: 40em !important; margin-left: auto; margin-right: auto; } | |
/* Fade out less important content. */ | |
main>article+p, main>article:not(:last-of-type) { opacity: 0.5; } | |
/* Align the two "titles" (while also aligning the navbars.) */ | |
header h1 { width: 8em; text-align: right; } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment