Just some simple CSS styles for Hacker News that I use to keep the default look and feel, but improve usability a bit.
Last active
July 15, 2016 06:42
-
-
Save spdustin/c6f40d752776dac06d17f6b409e72ee1 to your computer and use it in GitHub Desktop.
HN Styles
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
/* 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