Hi, newbie to programming/web in general here - how do I use this CSS to change the colours in GitHub? Is there a section within GitHub I can paste this in?
Re:GitHub Dark Mode is too Dark
by stev0lution on Saturday December 12, 2020 @06:54PM
(#25402931)
I don't know if github has an option for custom css but you can surely use a browser extension such as Stylus ([1], [2]) to change any website you want.
[1] for Firefox: https://addons.mozilla.org/en-US/firefox/addon/styl-us/
[2] for Chromium based browsers: https://chrome.google.com/webstore/detail/stylus/clngdbkpkpe...
``` .link-gray-dark, .news li blockquote, .link-gray, .text-gray, .text-gray-light, .UnderlineNav-item, .blob-code-inner { color: white !important; }
/* code comments are a dark gray by default, so I made them something brighter */ .pl-c { color: orange !important; } ```
As a bonus, if you also can't stand the sidebar on the right of the main page, you can hide it and reclaim the space for more useful content with this:
``` [aria-label="Explore"] { display: none !important; } ```