Improve CW reveal styles.

This commit is contained in:
Nicolas Perriault 2017-04-23 22:17:44 +02:00
parent 6b75c90ef6
commit 7f921591d2
No known key found for this signature in database
GPG Key ID: DA5E4C83904F7A2A

View File

@ -42,9 +42,6 @@ body {
.notification.follow > p {
margin-bottom: 0;
}
.notification .spoiled {
display: none;
}
.panel-heading {
font-weight: bold;
@ -174,15 +171,19 @@ body {
text-align: center;
margin-top: .5em;
font-weight: normal;
background: #222;
background: #252525;
color: #fff;
padding: .3em;
border: 1px solid #444;
border: 1px solid #363636;
cursor: pointer;
}
.spoiled input[type=checkbox] + label + .spoiled-content {
display: none;
}
.spoiled input[type=checkbox]:checked + label + .spoiled-content {
display: block;
height: auto;
opacity: 1;
padding: 10px;
@ -194,9 +195,10 @@ body {
opacity: 0;
padding: 10px;
background: #333;
border: 1px solid #777;
border: 1px solid #444;
border-radius: 4px;
transition: all .6s;
margin-bottom: 5px;
}
/* Draft form */