Merge pull request #211 from kidonng/folded-line-style

Make folded lines more recognizable
This commit is contained in:
Enix 2022-02-16 14:33:37 +08:00 committed by GitHub
commit 395d7ad0fb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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