Skip to content

Instantly share code, notes, and snippets.

@ankit
Created September 20, 2010 08:39
Show Gist options
  • Save ankit/587613 to your computer and use it in GitHub Desktop.
Save ankit/587613 to your computer and use it in GitHub Desktop.
Custom CSS for Hacker News. Some additions on top of original styling by sam33r
/*
For news.ycombinator.com
*/
td.title {
padding-top: 20px;
color: #f0f0f0;
}
body {
background-color: #f0f0f0;
}
body center table {
background-color: #f0f0f0;
}
a:hover {
color: #1486d1;
}
span.pagetop {
font-family: Helvetica, Arial, sans-serif;
color: transparent;
margin-left: 1px;
}
span.pagetop a {
color: #666;
}
span.yclinks {
display: none;
}
tr td center a {
padding-top: 20px;
float: left;
}
tbody:last {
display: none;
}
body>center>table>tbody>tr:last-child {
display: none;
}
td>a>img {
display: none;
}
td.title a {
font-family: Helvetica, Arial, sans-serif;
font-size: 24px;
margin-left: 2px;
}
td.subtext {
padding-bottom: 10px;
}
/* This causes an error in stylebot. Until debugged, commented out
a[href^=http://ycombinator.com] {
display: none;
}
*/
/*
For news.ycombinator.com/submit, /user, /edit, /x, /reply
*/
span.yclinks {
display: block;
}
tbody:last {
display: block;
}
body>center>table>tbody>tr:last-child {
display: block;
}
td>a>img {
display: block;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment