Make Hacker News a bit more beautiful
You can install by clicking on the following link (if you have Stylus installed).
| /* ==UserStyle== | |
| @name Hacker News - Enhancements | |
| @namespace github.com/openstyles/stylus | |
| @version 0.2.0 | |
| @author Florian Goße | |
| @updateURL https://gist.githubusercontent.com/floriangosse/52fd26e8f9b87d5c5f90b58d91fef1a2/raw/00_hackernews-enhancements.user.css | |
| ==/UserStyle== */ | |
| @-moz-document domain("news.ycombinator.com") { | |
| body { | |
| background-color: #fafafa; | |
| } | |
| #hnmain { | |
| max-width: 880px; | |
| box-shadow: 0px 0px 4px 2px #dedede; | |
| border-radius: 4px; | |
| overflow: hidden; | |
| } | |
| tr:nth-child(1) > td > table { | |
| padding: 8px !important; | |
| } | |
| tr:nth-child(3) > td > table { | |
| width: 100%; | |
| padding-left: 4px; | |
| padding-right: 4px; | |
| } | |
| @media (prefers-color-scheme: dark) { | |
| body { | |
| background-color: #060606; | |
| } | |
| #hnmain { | |
| background-color: #0A0A0A; | |
| box-shadow: 0px 0px 4px 2px #222222; | |
| } | |
| a:link { | |
| color: #ffffff; | |
| } | |
| .title { | |
| color: #737373; | |
| } | |
| .hnmore a:link, a:visited { | |
| color: #7e7e7e; | |
| } | |
| .c00, .c00 a:link { | |
| color: #ffffff; | |
| } | |
| } | |
| } |