Skip to content

Instantly share code, notes, and snippets.

@spdustin
Last active July 15, 2016 06:42
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 spdustin/c6f40d752776dac06d17f6b409e72ee1 to your computer and use it in GitHub Desktop.
Save spdustin/c6f40d752776dac06d17f6b409e72ee1 to your computer and use it in GitHub Desktop.
HN Styles

HN Styles

Just some simple CSS styles for Hacker News that I use to keep the default look and feel, but improve usability a bit.

/* Make ems great again */
body { font-size: 100%; }
td { font-size: 1em; }
input { font-size: 1em; }
textarea { font-size: 1em; }
.default { font-size: 1em; }
.title { font-size: 1em; }
.yclinks { font-size: .8em; }
.pagetop { font-size: .8em; }
.comhead { font-size: .8em; }
.comment { font-size: .9em; }
/* Move voting links down next to comment itself */
.comment-tree .votelinks a { position: relative; top: 1.5em; }
/* Move comment collapse to left of username */
.togg { float: left; padding: 0 .5em 0 0; }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment