diff --git a/_sass/_article.scss b/_sass/_article.scss index 3846f77..1fefe2b 100644 --- a/_sass/_article.scss +++ b/_sass/_article.scss @@ -2,7 +2,7 @@ color-scheme: light dark; } -code { +p code { margin-bottom: 1px; padding: 2px 0.25em 1px; border-radius: 0.2em; @@ -11,32 +11,6 @@ code { border: 0.5px solid light-dark(rgb(212, 212, 212), rgb(44, 46, 51)); } -p code { - font-size: 90%; - white-space: nowrap; -} - -pre code { - display: block; - padding: 15px; - background-color: #2d2d2d; - color: #f8f8f2; - border-radius: 5px; - overflow-x: auto; -} - -pre code::before { - content: " "; - display: block; - height: 1rem; -} - -pre code::after { - content: " "; - display: block; - height: 1rem; -} - kbd { display: inline-block; padding: 3px 5px; @@ -47,4 +21,4 @@ kbd { border-radius: 3px; box-shadow: inset 0 -1px 0 light-dark(#bbb, #666); line-height: 1.4; -} +} \ No newline at end of file