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

From fattwiki
(Created page with ".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; } .spoiler-block img { border-radius:100px; } .spoiler-block.spoiler-toggled .spoiler-warning { margin-right: 0.5em; margin-bottom: 0.5em; }")
 
m (try to preserve spacing between spoiler blocks)
 
(7 intermediate revisions by the same user not shown)
Line 2: Line 2:
  display:none;
  display:none;
}
}
.spoiler-block.spoiler-hidden .spoiler-warning-text {
.spoiler-block.spoiler-toggled .spoiler-warning {
  display:flex;
  float:left;
}
}
.spoiler-block.spoiler-toggled .spoiler-text {
.spoiler-block.spoiler-toggled .spoiler-text {
Line 17: Line 17:
  margin-right: 0.5em;
  margin-right: 0.5em;
  margin-bottom: 0.5em;
  margin-bottom: 0.5em;
}
.spoiler-block + style + .spoiler-block, .spoiler-block + link + .spoiler-block {
margin-top: 1em;
}
.spoiler-warning-text a {
color: black !important;
text-decoration: underline;
}
}

Latest revision as of 17:12, 15 October 2022

.spoiler-block.spoiler-hidden .spoiler-text {
 display:none;
}
.spoiler-block.spoiler-toggled .spoiler-warning {
 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;
}
.spoiler-block + style + .spoiler-block, .spoiler-block + link + .spoiler-block {
 margin-top: 1em;
}
.spoiler-warning-text a {
 color: black !important;
 text-decoration: underline;
}