diff --git a/styles/global.css b/styles/global.css index ee26f237..6ebe1102 100644 --- a/styles/global.css +++ b/styles/global.css @@ -4,9 +4,7 @@ @import url("theme.css"); /* Override Nextra so content gets more breathing room */ -.nextra-content h2 ~ p { - margin-top: 1.0rem -} +.nextra-content h2 ~ p, .nextra-content h3 ~ p { margin-top: 1.0rem; } @@ -45,7 +43,7 @@ span.shasum { border-radius: 4px; padding: 0.5rem; } -:is(html[class~="dark"]) span.shasum { +html.dark span.shasum { background-color: var(--op-neutral-700) !important; } span.shasum code { @@ -54,3 +52,4 @@ span.shasum code { border: none; background-color: transparent !important; } +