Skip to content

Instantly share code, notes, and snippets.

@darrenmeehan
Forked from xypnox/HN.md
Last active January 18, 2021 09:22
Show Gist options
  • Save darrenmeehan/d7ccd863abec1a0c348d2aa6ba920b0d to your computer and use it in GitHub Desktop.
Save darrenmeehan/d7ccd863abec1a0c348d2aa6ba920b0d to your computer and use it in GitHub Desktop.
HN but it is not an eyesore
#hnmain,
html,
#hnmain td {
background-color: #0f111a;
}
#hnmain {
margin: 2rem 0;
}
body {
font-size: 1.5rem !important;
max-width: 800px;
margin: auto;
}
a:link {
color: #D5D6DD;
}
.top a:visited {
color: #D5D6DD;
}
.hnname a {
color: #ff6600 !important;
}
.title {
font-size: 1.5rem;
font-weight: 600;
}
.hnmore a:link,
a:visited,
.title,
.default,
.subtext,
.c00,
.c00 a:link,
.subtext a:link,
.subtext a:visited,
.comhead,
.pagetop,
body,
.c00 .reply a:link,
.reply a:link{
color: #8F93A2
}
.comhead {
display: block;
padding: 0.25rem 0;
}
.subtext,
.c00,
.c00 a:link {
font-size: 16px;
}
.default {
font-size: 14px;
}
.itemlist {
margin: 2rem 0 0;
}
#pagespace {
display:none;
}
.itemlist tr td {
padding: 1rem 0.25rem 0;
}
.itemlist tr td.subtext {
padding: 0 0.25rem 1rem;
}
.votearrow {
margin-top: 0.5rem;
opacity: 0.5;
}
.itemlist tr td.votelinks {
padding: 1rem 0 0;
}
textarea, input {
border: 1px solid #8F93A280;
border-radius: 0.5rem;
padding: 0.5rem;
background: rgba(255, 255, 255, 0.05);
}
input:hover {
background: rgba(255, 255, 255, 0.1);
}
.c00 .reply a:link, .reply a:link {
font-size: 0.75rem;
}

HN but it is not an eyesore

Use Stylus, copy the CSS, tweak colors etc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment