diff --git a/src/assets/styles/base/index.css b/src/assets/styles/base/index.css index 35e90e20..c3af590f 100644 --- a/src/assets/styles/base/index.css +++ b/src/assets/styles/base/index.css @@ -419,7 +419,7 @@ article { border-bottom: none; } - & h3 { + & h3:not(+ :not(p)) { margin: 0; } diff --git a/src/assets/styles/pages/post.css b/src/assets/styles/pages/post.css index 1a5bc3ca..a01ac748 100644 --- a/src/assets/styles/pages/post.css +++ b/src/assets/styles/pages/post.css @@ -1,12 +1,5 @@ -article.standalone { - & + div, - & + img { - margin-bottom: var(--spacing-base); - } - - & .associated-media:last-of-type > hr { - display: none; - } +article.standalone .associated-media:last-of-type > hr { + display: none; } p + .associated-media,