Created
November 9, 2012 23:36
-
-
Save leeoniya/4049049 to your computer and use it in GitHub Desktop.
hackernews w/max-width
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
@namespace url(http://www.w3.org/1999/xhtml); | |
@-moz-document domain("news.ycombinator.com"){ | |
body > center > table { | |
max-width: 1000px; | |
} | |
.default { | |
padding-right: 30px; | |
text-align: justify; | |
} | |
textarea { | |
width: 97.5%; | |
} | |
body > center > table > tbody > tr > td > table[border]:first-child { | |
width: 100%; | |
} | |
br + br + input[type=submit] { | |
margin-bottom: -20px; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
this stylesheet restricts how wide hackernews can get on your display as well as tweaks some spacing on the site. i work on 2x 1080p displays and running the eyeballs the entire width of the screen to read threads was getting a bit old. * this will probably screw up really deeply nested threads, but feel free to adjust as needed.
this is for the Stylish extension https://addons.mozilla.org/en-US/firefox/addon/stylish/, but you can copy-paste this into Firefox's
userContent.css
in your profile directory. see http://superuser.com/questions/318912/how-to-override-the-css-of-a-site-in-firefox-with-usercontent-css