diff --git a/src/scss/markdown.scss b/src/scss/markdown.scss index 7731f0b..490d365 100644 --- a/src/scss/markdown.scss +++ b/src/scss/markdown.scss @@ -54,11 +54,9 @@ margin-bottom: 0; } } - p { - &:first-of-type::before { - content: none; - } - &:first-of-type::after { + p:first-of-type { + &::before, + &::after { content: none; } } @@ -67,12 +65,10 @@ margin-top: 1rem; } } +html:not(.dark) .shiki-dark, .dark .shiki-light { display: none; } -html:not(.dark) .shiki-dark { - display: none; -} .item { text-decoration: none; opacity: .6; @@ -90,9 +86,7 @@ html:not(.dark) .shiki-dark { text-decoration: none; border: 0 !important; opacity: 0; - &:hover { - text-decoration: none; - } + &:hover, &:focus { text-decoration: none; }