From c5000d395dccc7b7eb58b485a5afccfddc68b277 Mon Sep 17 00:00:00 2001 From: Thomas Dehaeze Date: Thu, 26 Nov 2020 19:57:17 +0100 Subject: [PATCH] Improve detail block --- scss/partials/_details.scss | 27 +++++++++++++++------------ 1 file changed, 15 insertions(+), 12 deletions(-) diff --git a/scss/partials/_details.scss b/scss/partials/_details.scss index eff7e0b..061cb3a 100644 --- a/scss/partials/_details.scss +++ b/scss/partials/_details.scss @@ -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"; + } } }