MediaWiki:Common.css: Difference between revisions
From The Evection Project
m Removed tagline. |
m Updated comment. |
||
(2 intermediate revisions by the same user not shown) | |||
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 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; | |||
} |
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; }