diff --git a/assets/main.css b/assets/main.css index 0342bf3..97b957d 100644 --- a/assets/main.css +++ b/assets/main.css @@ -545,6 +545,11 @@ body { max-width: 65ch; } +.prose :where(p):not(:where([class~="not-prose"] *)) { + margin-top: 1.25em; + margin-bottom: 1.25em; +} + .prose :where([class~="lead"]):not(:where([class~="not-prose"] *)) { color: var(--tw-prose-lead); font-size: 1.25em; @@ -897,11 +902,6 @@ body { line-height: 1.75; } -.prose :where(p):not(:where([class~="not-prose"] *)) { - margin-top: 1.25em; - margin-bottom: 1.25em; -} - .prose :where(video):not(:where([class~="not-prose"] *)) { margin-top: 2em; margin-bottom: 2em; @@ -1369,8 +1369,14 @@ body { border-radius: 0.5rem; } -.rounded-md { - border-radius: 0.375rem; +.rounded-l-md { + border-top-left-radius: 0.375rem; + border-bottom-left-radius: 0.375rem; +} + +.rounded-r-md { + border-top-right-radius: 0.375rem; + border-bottom-right-radius: 0.375rem; } .border-\[0\.5px\] { @@ -1401,14 +1407,6 @@ body { padding: 1.5rem; } -.p-1\.5 { - padding: 0.375rem; -} - -.p-1 { - padding: 0.25rem; -} - .px-8 { padding-left: 2rem; padding-right: 2rem; diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 4e0b6e5..d0907af 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -35,19 +35,17 @@ {{ $pages := where site.RegularPages "Type" "in" site.Params.mainSections }} {{ if and (gt (len $pages) 1) (in $pages . ) }} -