MediaWiki:Gadget-NuclearColors.css

Da Cathopedia, l'enciclopedia cattolica.
Vai alla navigazione Vai alla ricerca

Nota: Dopo aver salvato le preferenze, perché i cambi abbiano effetto, devi bypassare la cache del tuo browser. Mozilla / Firefox / Safari: tieni premuto Shift mentre clicchi Reload, o premi Ctrl-Shift-R (Cmd-Shift-R per Apple Mac); Google Chrome: premi Ctrl o Shift mentre clicchi F5; IE: premi Ctrl mentre clicchi Refresh, o premi Ctrl-F5; Konqueror:: clicca semplicemente il pulsante di Reload, o premi F5; se usi Opera devi cancellare completamente la chache nel menu Tools→Preferences.

/*
 * 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: pink;
	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;
}