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

From fattwiki
No edit summary
No edit summary
Line 4: Line 4:
.spoiler-block.spoiler-hidden .spoiler-warning-text {
.spoiler-block.spoiler-hidden .spoiler-warning-text {
  display:flex;
  display:flex;
}
.spoiler-block.spoiler-toggled {
float:left;
}
}
.spoiler-block.spoiler-toggled .spoiler-text {
.spoiler-block.spoiler-toggled .spoiler-text {

Revision as of 01:20, 23 July 2022

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

.spoiler-block.spoiler-toggled {
 float:left;
}
.spoiler-block.spoiler-toggled .spoiler-text {
 display: block;
}
.spoiler-block.spoiler-toggled .spoiler-warning-text {
 display: none;
}
.spoiler-block img {
 border-radius:100px;
}
.spoiler-block.spoiler-toggled .spoiler-warning {
 margin-right: 0.5em;
 margin-bottom: 0.5em;
}