Skip to content

Instantly share code, notes, and snippets.

@xypnox

xypnox/HN.md

Last active Jan 25, 2021
Embed
What would you like to do?
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;
}
.pagetop 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 {
height: 3rem !important;
}
.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