Created
May 27, 2013 00:52
-
-
Save graue/5654626 to your computer and use it in GitHub Desktop.
My userContent.css for Firefox (makes Hacker News comments and Humbug messages more readable)
This file contains hidden or 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
@-moz-document url-prefix(https://news.ycombinator.com) { | |
.comment { | |
font-family: Alegreya, serif !important; | |
font-size: 15pt !important; | |
} | |
.comment code { | |
font-family: Inconsolata-g, fixed !important; | |
font-size: 10pt !important; | |
} | |
} | |
@-moz-document url-prefix(https://humbughq.com) { | |
body { | |
background-color: #ebebeb !important; | |
} | |
.sidebar-nav { | |
background-color: inherit !important; | |
} | |
.message_content { | |
line-height: 18px !important; | |
margin-left: 42px !important; | |
margin-right: -42px !important; | |
} | |
.messagebox { | |
padding: 8px 60px 8px 5px !important; | |
border-bottom: 1px solid #ebebeb !important; | |
} | |
.inline_profile_picture { | |
width: 36px !important; | |
height: 36px !important; | |
background-size: 36px !important; | |
border-radius: 4px !important; | |
} | |
.bookend { | |
padding-top: 18px !important; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
To use this, go into ~/.mozilla/firefox/abc3defg.default, make a 'chrome' subdirectory and put this there.
Replace 'abc3defg' with whatever your profile is called — it will be a sequence of meaningless letters and numbers like that.
(Edit: the directory to look in is different on Mac and Windows. See this article. Note that the article has an error: the file is called userContent.css, not userChrome.css.)