Created
May 1, 2022 02:20
-
-
Save chaoslogick/44ab0eaa6476693d79b8e9fc0bc856f9 to your computer and use it in GitHub Desktop.
CSS: Better Hacker News
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* 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