Skip to content

Instantly share code, notes, and snippets.

@chaoslogick
Created May 1, 2022 02:20
Show Gist options
  • Save chaoslogick/44ab0eaa6476693d79b8e9fc0bc856f9 to your computer and use it in GitHub Desktop.
Save chaoslogick/44ab0eaa6476693d79b8e9fc0bc856f9 to your computer and use it in GitHub Desktop.
CSS: Better Hacker News
/* Simple CSS for a better hacker news
* Removes comments and voting
*/
#hnmain {
min-width: 640px;
width: 90vw;
max-width: 100%;
}
.rank { margin: 0 12px; }
.votearrow { display: none; }
.title {
padding-bottom: 12px;
overflow: visible;
font-size: 18px;
}
.subtext { display: none; }
.morelink {
padding: 6px 12px !important;
border: none !important;
border-radius: 0 !important;
transition: background-color 120ms ease-out;
}
.morelink:hover {
background-color: #ff6600 !important;
transition: background-color 120ms ease-out;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment