MediaWiki:Common.css: Difference between revisions
From The Evection Project
Added CSS to make Template:Spoiler work. |
m Fixed an error. |
||
Line 7: | Line 7: | ||
transition: 0.125s; | transition: 0.125s; | ||
} | } | ||
.spoiler: | .spoiler:active { | ||
background-color: transparent; | background-color: transparent; | ||
transition: 0.125s; | transition: 0.125s; | ||
} | } |
Revision as of 15:21, 19 June 2024
/* CSS placed here will be applied to all skins */ /* This CSS makes Template:Spoiler work */ .spoiler { background-color: var(--bs-body-color); border-radius: 0.1em; transition: 0.125s; } .spoiler:active { background-color: transparent; transition: 0.125s; }