Skip to content

Instantly share code, notes, and snippets.

@gg7
Last active August 29, 2015 14:00
Show Gist options
  • Save gg7/4d42ebf916357d3c2187 to your computer and use it in GitHub Desktop.
Save gg7/4d42ebf916357d3c2187 to your computer and use it in GitHub Desktop.
https://i.imgur.com/kN6itL0.png -- My fork of "Jellybeans Hacker News (w/ unicode arrows)"
@-moz-document domain("news.ycombinator.com") {
* { font-family: sans-serif !important; }
body { margin: 0; font-size: 16pt !important; }
.title { font-size: 20pt !important; }
.pagetop, .comment, .comhead, .subtext, td, p,
.pagetop *, .comment *, .comhead *, .subtext * { font-size: 14pt !important; }
font { color:inherit !important; font-family:inherit !important; font-size:inherit !important; text-shadow: black 0px 1px 3px !important; }
center > a:first-child { padding:2px 5px; position: relative; top: 2px; }
center > a:nth-child(3) { padding:3px 5px ; }
center > a:first-child:before {content:"▲"; font-family: monospace; font-weight:bold; }
center > a:nth-child(3):before {content:"▼"; font-family: monospace; font-weight:bold; }
a img[src$="grayarrow.gif"], .votearrow { display: none; }
body, body > center > table{ width: 99% !important; }
.title { text-shadow: black 0px 1px 3px !important; }
.default a, .title a:link, .comment a:link{ text-shadow: black 0px 1px 3px !important; }
.title a, .comment a,
.comhead, .yclinks a, .default, .subtext a, .subtext span,
.default .comhead a, .subtext a { text-shadow: black 0px 1px 3px !important; }
::-moz-selection { background:#adadad; }
center > a:first-child:before,
center > a:nth-child(3):before,
.title, .title a:link,
.comment, .comment a:link { color:#eee8d5 !important; }
.comhead, .title a:visited, .comment a:visited { color:#636363 !important; }
.comhead a { color:#268bd2 !important; }
.subtext > span[id] { color: #99AD6A !important; }
.subtext > a { color: #597BC5 !important; }
.default a[href^="reply"],
.yclinks a { color: #CF6A4C !important; }
body > center > table > tbody > tr:first-child > td{ background-color:#CF6A4C !important; }
body, body > center > table{ background-color: #151515 !important; }
/* more space before the domain */
body > center > table > tbody > tr:nth-child(3) > td > table:nth-child(1) > tbody > tr:nth-child(1) > td.title > a { margin-right: 5px; }
/* remove the header */
body > center > table > tbody > tr:nth-child(1) { display: none; }
/* remove the comment box */
body > center > table > tbody > tr:nth-child(3) > td > table:nth-child(1) > tbody > tr:nth-child(4) { display: none; }
/* remove comment box on permalinks */
form[action="/r"] {
display: none;
}
/* remove empty space */
body > center > table > tbody > tr:nth-child(3) > td > br { display: none; }
/* remove 'reply' link */
span.comment > p:last-child { display: none; }
td.default > p:last-child { display: none; }
/* make toggle buttons larger */
span.toggle_button { font-size: 17px !important; }
/* nice quotation blocks */
pre {
border-left: 3px solid #008000;
max-width: 10000px !important;
margin-top: 0px !important;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment