Skip to content

Instantly share code, notes, and snippets.

@mcpower
Forked from lynn/aoc-2018.css
Last active November 28, 2019 21:28
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mcpower/e224e66699a3bfe774e9eee2fe43bb8a to your computer and use it in GitHub Desktop.
Save mcpower/e224e66699a3bfe774e9eee2fe43bb8a 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, 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