Skip to content

Instantly share code, notes, and snippets.

@lynn
Last active November 28, 2020 12:13
Show Gist options
  • Save lynn/3d389c0ab5057da18b41c2a9e5a62c85 to your computer and use it in GitHub Desktop.
Save lynn/3d389c0ab5057da18b41c2a9e5a62c85 to your computer and use it in GitHub Desktop.
My user stylesheet for Advent of Code
/* 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, form, .leaderboard-entry { width: 40em !important; margin: auto; }
header div { text-align: center; margin: auto; }
/* Fade out less important content. */
main>article+p, main>article:not(:last-of-type) { opacity: 0.5; }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment