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