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,25 +2,28 @@ 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 {
outline: 0;
color: #c9c9c9;
&::after {
font-size: 0.85em;
summary {
outline: 0;
color: #c9c9c9;
float: right;
padding-right: 0.5em;
content: "Click to fold/unfold";
padding: 0px;
margin: 0px;
margin-bottom: 10px;
cursor: pointer;
&::after {
font-size: 0.85em;
color: #c9c9c9;
float: right;
padding-right: 0.5em;
content: "Click to fold/unfold";
}
}
}