Skip to content

Instantly share code, notes, and snippets.

@balaclark
Created January 16, 2012 12:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save balaclark/1620584 to your computer and use it in GitHub Desktop.
Save balaclark/1620584 to your computer and use it in GitHub Desktop.
Hacked News (minimal Hacker News user style for Firefox stylish addon)
@namespace url(http://www.w3.org/1999/xhtml);
@-moz-document domain("news.ycombinator.com") {
td[bgcolor="#ff6600"] {
background-color: #efefef !important;
border-radius: 4px;
}
a[href="news"] {
font-weight: 100 !important;
}
table[bgcolor="#f6f6ef"] {
background-color: transparent !important;
}
table[bgcolor="#f6f6ef"] table:first-child {
width: 100% !important;
padding: 5px !important;
}
table[bgcolor="#f6f6ef"] table table {
border-left: solid 1px #efefef !important;
}
body > center > table {
width: 700px !important;
}
.topSel a {
color: inherit !important;
text-decoration: underline !important;
}
body > center > table td.title,
body > center > table center {
padding: 10px 0 5px !important;
}
body > center > table > tbody > tr:nth-child(2) {
display: none;
}
form[action="/r"] textarea[name="text"] {
width: 100% !important;
}
.subtext {
color: #828282 !important;
}
.default p {
text-align: justify !important;
}
td,
.comment font {
color: #111 !important;
line-height: 17px !important;
}
a[href="user?id=pg"] {
color: darkOrange !important;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment