Skip to content

Instantly share code, notes, and snippets.

@haliphax
Last active September 16, 2020 22:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save haliphax/488886413c5e62a7208e8585886898e1 to your computer and use it in GitHub Desktop.
Save haliphax/488886413c5e62a7208e8585886898e1 to your computer and use it in GitHub Desktop.
Nexus Clash Accessible User Styles
/*
When importing this into Stylus, the name of the User Style is used
for URL matching. As such, use this name for the sylesheet:
www.nexusclash.com/modules.php?name=Game
*/
input, select, textarea {
background-color: #000;
border: 1px solid #000;
color: #fff;
margin: .5em;
padding: .5em;
}
input:hover, select:hover, textarea:hover {
background-color: #700;
}
select {
background-color: #007;
}
textarea, input[type="text"], input[type="checkbox"], input[type="radio"] {
background-color: #fff;
color: #000;
}
input[type="checkbox"], input[type="radio"] {
appearance: none;
vertical-align: middle;
padding: .5em;
margin: 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment