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

From fattwiki
m (add link styling)
mNo edit summary
Line 21: Line 21:
  margin-top: 1em;
  margin-top: 1em;
}
}
.spoiler-block a {
.spoiler-warning-text a {
  color: black !important;
  color: black !important;
  text-decoration: underline;
  text-decoration: underline;
}
}

Revision as of 01:34, 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 {
 margin-top: 1em;
}
.spoiler-warning-text a {
 color: black !important;
 text-decoration: underline;
}