Last active
November 4, 2016 12:46
-
-
Save paulera/51338dec7fd9844b490c42011f836b3d to your computer and use it in GitHub Desktop.
Dark theme for devRant. Still a work in progress. Requires TamperMonkey / GreaseMonkey
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
// ==UserScript== | |
// @name devRant dark theme listing mode | |
// @namespace cosmicspace | |
// @version 0.1 | |
// @description Make devRant listing black. Because white bg sucks. | |
// @author https://www.devrant.io/users/paulera | |
// @match www.devrant.io/* | |
// @grant GM_addStyle | |
// ==/UserScript== | |
(function() { | |
'use strict'; | |
// it requires | |
// @grant GM_addStyle | |
// to be added to the script header so you can use the function | |
GM_addStyle ( | |
".rantlist-bg * { background-color: #101010 ! important; } " + | |
".rantlist-title { color: #a0a0a0; } " + | |
".mobile-install-banner { display: none; } " + | |
".addcomment-btn { width: 179px; bottom: 20px; } " + | |
".btn-vote-circle { border: none } " + | |
".btn-vote-circle, .btn-vote-circle .icon { background-color: #333 ! important; } " + | |
".vote-state-upvoted .plusone, .vote-state-upvoted .plusone .icon { background-color: #007030 ! important; } " + | |
".vote-state-downvoted .minusone, .vote-state-downvoted .minusone .icon { background-color: #903030 ! important; } " + | |
".profile-avatar-circle { border: solid 2px #d0d0d0 } " + | |
".addrant-btn { bottom: 20px; left:20px } " | |
); | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment