From f6f51dd83b3561f3cf74d9138debafe05af754d2 Mon Sep 17 00:00:00 2001 From: ppoffice Date: Sat, 29 Aug 2020 00:30:36 -0400 Subject: [PATCH] chore(style): visual update of code blocks --- include/style/codeblock.styl | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/include/style/codeblock.styl b/include/style/codeblock.styl index dbbc7ba..0cae04f 100644 --- a/include/style/codeblock.styl +++ b/include/style/codeblock.styl @@ -8,10 +8,14 @@ figure.highlight width: 100% position: relative margin: 1em 0 1em !important + border-radius: $radius &.folded .highlight-body height: 0 + + .copy + opacity: .7 pre, table tr:hover color: inherit @@ -46,7 +50,7 @@ figure.highlight font-size: .8em * - color: $grey + color: inherit span font-weight: 500