Improve detail block

This commit is contained in:
Thomas Dehaeze 2020-11-26 19:57:17 +01:00
parent a7c77da875
commit c5000d395d

View File

@ -2,19 +2,21 @@ details {
background: #fbfbfb;
border: 1px solid #c9c9c9;
border-radius: 3px;
padding: 0.25em;
margin-bottom: 1.0em;
padding: 12px 12px 0 12px;
pre.src {
margin-top: 12px;
margin-bottom: 0;
}
}
summary {
summary {
outline: 0;
color: #c9c9c9;
padding: 0px;
margin: 0px;
margin-bottom: 10px;
cursor: pointer;
&::after {
font-size: 0.85em;
@ -23,4 +25,5 @@ summary {
padding-right: 0.5em;
content: "Click to fold/unfold";
}
}
}