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; background: #fbfbfb;
border: 1px solid #c9c9c9; border: 1px solid #c9c9c9;
border-radius: 3px; border-radius: 3px;
padding: 0.25em;
margin-bottom: 1.0em; margin-bottom: 1.0em;
padding: 12px 12px 0 12px;
pre.src { pre.src {
margin-top: 12px; margin-top: 12px;
margin-bottom: 0; margin-bottom: 0;
} }
}
summary { summary {
outline: 0; outline: 0;
color: #c9c9c9; color: #c9c9c9;
padding: 0px;
margin: 0px;
margin-bottom: 10px;
cursor: pointer;
&::after { &::after {
font-size: 0.85em; font-size: 0.85em;
@ -24,3 +26,4 @@ summary {
content: "Click to fold/unfold"; content: "Click to fold/unfold";
} }
} }
}