MediaWiki:Gadget-NuclearColors.css
Questa pagina definisce alcuni parametri di aspetto e comportamento generale di tutte le pagine. Per personalizzarli vedi Aiuto:Stile utente.
Nota: dopo aver salvato è necessario pulire la cache del proprio browser per vedere i cambiamenti (per le pagine globali è comunque necessario attendere qualche minuto). Per Mozilla / Firefox / Safari: fare clic su Ricarica tenendo premuto il tasto delle maiuscole, oppure premere Ctrl-F5 o Ctrl-R (Command-R su Mac); per Chrome: premere Ctrl-Shift-R (Command-Shift-R su un Mac); per Konqueror: premere il pulsante Ricarica o il tasto F5; per Opera può essere necessario svuotare completamente la cache dal menù Strumenti → Preferenze; per Internet Explorer: mantenere premuto il tasto Ctrl mentre si preme il pulsante Aggiorna o premere 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;
}