Skip to content

Instantly share code, notes, and snippets.

@michaelmcdonald
Created February 6, 2019 11:56
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 michaelmcdonald/dc0c9458e058fdd03e6b21563488c4ea to your computer and use it in GitHub Desktop.
Save michaelmcdonald/dc0c9458e058fdd03e6b21563488c4ea to your computer and use it in GitHub Desktop.
Anki Large and Colorful Buttons Plugin CSS Modifications
/* All buttons at the bottom of the review screen
(including the "Edit" and the "More" button) */
button {
height: 32px;
font-size: 14px;
border: solid 1px rgba(0, 0, 0, 0.2);
border-radius: 6px;
-webkit-appearance: none;
outline: none;
}
/* the "Show Answer" button */
#ansbut {
width: 360px !important;
background-color: #16bc69 !important;
}
/* All rating buttons */
#middle button {
width: 96px;
color: white;
margin: 0 4px;
}
/* the "Good" button */
#defease {
background-color: #4CAF50 !important;
color: white;
}
/* the "Again" button */
button[onclick*="ease1"] {
background-color: #D32F2F !important;
color: white;
}
/* the "Hard" button */
button[onclick*="ease2"]:not(#defease) {
background-color: #455A64 !important;
color: white;
}
/* the "Easy" button */
button[onclick*="ease3"]:not(#defease),
button[onclick*="ease4"]:not(#defease) {
background-color: #03A9F4 !important;
color: white;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment