MediaWiki:Gadget-NuclearColors.css
Nota: dopo aver pubblicato, potrebbe essere necessario pulire la cache del proprio browser per vedere i cambiamenti.
- Firefox / Safari: tieni premuto il tasto delle maiuscole Shift e fai clic su Ricarica, oppure premi Ctrl-F5 o Ctrl-R (⌘-R su Mac)
- Google Chrome: premi Ctrl-Shift-R (⌘-Shift-R su un Mac)
- Internet Explorer / Edge: tieni premuto il tasto Ctrl e fai clic su Aggiorna, oppure premi Ctrl-F5
- Opera: premi Ctrl-F5.
/*
* This stylesheet dramatically increases your attention on dangerous actions.
* In other words, prevents your wiki from being destroyed from the most nasty bug: *you*.
*
* P.S.
* If you are that sort of user, also look at the "SureSureSure" gadget.
*/
/*
* The rollback button should be associated to a terrible idea.
* Think about a nuclear button: there is a reason if it's NOT designed as a lamp switch.
*/
.mw-rollback-link a {
background-color: red;
color: white;
}
/* The undo button should be associated to a certain level of pain too */
.mw-history-undo a {
background-color: yellow;
color: black;
}
/* Your truly unique friend here: a cute thanks button */
a.mw-thanks-thank-link {
background-color: green;
color: white;
}
/* Add here everything above */
.mw-rollback-link a,
.mw-history-undo a,
a.mw-thanks-thank-link {
opacity: 0.5;
transition: 1s opacity;
}
/* Add here everything above */
.mw-rollback-link a:hover,
.mw-history-undo a:hover,
a.mw-thanks-thank-link:hover {
opacity: 1;
transition: 1s opacity;
}