Template:Spoiler block/Draft/style.css: Difference between revisions

From fattwiki
No edit summary
No edit summary
Line 1: Line 1:
:not(.mw-collapsed) ~ .spoiler-block > .warning {
.spoiler-block.spoiler-hidden .spoiler-text {
  display: none !important;
  display:none;
}
}
.mw-collapsed ~ .spoiler-block > .warning {
.spoiler-block.spoiler-hidden .spoiler-warning-text {
  display: flex;
display:flex;
}
.spoiler-block.spoiler-toggled .spoiler-text {
display: block;
}
.spoiler-block.spoiler-toggled .spoiler-warning-text {
  display: none;
}
}

Revision as of 04:46, 16 July 2022

.spoiler-block.spoiler-hidden .spoiler-text {
 display:none;
}
.spoiler-block.spoiler-hidden .spoiler-warning-text {
 display:flex;
}
.spoiler-block.spoiler-toggled .spoiler-text {
 display: block;
}
.spoiler-block.spoiler-toggled .spoiler-warning-text {
 display: none;
}