From c853c6c09ed4532e8f2e23149cbccfc44dc0b258 Mon Sep 17 00:00:00 2001 From: Kid Date: Sun, 13 Feb 2022 17:10:30 +0800 Subject: [PATCH] Make folded lines more recognizable --- src/styles/index.scss | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/styles/index.scss b/src/styles/index.scss index 5d9cfa7..6d9754f 100644 --- a/src/styles/index.scss +++ b/src/styles/index.scss @@ -143,6 +143,8 @@ $minimal-z-index: max( } &.gitako-code-fold-active { + background-color: var(--gitako-neutral-muted); + .gitako-code-fold-handler { &::before { transform: rotate(-90deg); @@ -154,6 +156,12 @@ $minimal-z-index: max( var(--gitako-fg-subtle) ); } + + .blob-code::after { + color: var(--gitako-fg-muted); + content: '⋯'; + margin: 0.1em 0.2em 0px; + } } // hide folded sections, except for print