This commit is contained in:
arcan1s
2014-08-25 22:40:27 +04:00
parent 774f567f3f
commit 0e9e31717d
7 changed files with 24 additions and 26 deletions

View File

@ -82,10 +82,10 @@ figure.img figcaption {
}
/* spoiler */
.spoiler > input + .box > p.spoilerbody {
.spoiler > input + .box > span.spoilerbody {
display: none;
}
.spoiler > input:checked + .box > p.spoilerbody {
.spoiler > input:checked + .box > span.spoilerbody {
display: block;
}
.spoiler > input[type="checkbox"] {
@ -111,7 +111,7 @@ figure.img figcaption {
.spoiler > input + .box > span.open {
display: inline;
}
.spoiler p.spoilerbody,
.spoiler span.spoilerbody,
.spoiler {
border-radius: 5px;
-webkit-border-radius: 5px;
@ -123,7 +123,7 @@ figure.img figcaption {
.spoiler {
overflow-x: hidden;
}
.spoiler p.spoilerbody {
.spoiler span.spoilerbody {
min-height: 23px;
margin: 0;
padding: 4px 4px 4px 10px;