MediaWiki:Common.css: Difference between revisions

From The Evection Project

m Fixed an error.
m Updated comment.
 
Line 1: Line 1:
/* CSS placed here will be applied to all skins */
/* CSS placed here will be applied to all skins */


/* This CSS makes Template:Spoiler work */
/* This CSS makes redaction for spoilers. Surround spoilers in <span class="spoiler"></span> tags to engage the effect, and click and hold on redacted text to see it.  */
.spoiler {
.spoiler {
background-color: var(--bs-body-color);
background-color: var(--bs-body-color);

Latest revision as of 15:49, 19 June 2024

/* CSS placed here will be applied to all skins */

/* This CSS makes redaction for spoilers. Surround spoilers in <span class="spoiler"></span> tags to engage the effect, and click and hold on redacted text to see it.  */
.spoiler {
	background-color: var(--bs-body-color);
	border-radius: 0.1em;
	transition: 0.125s;
}
.spoiler:active {
	background-color: transparent;
	transition: 0.125s;
}