fix(styles): adjust service page image margin and prose heading spacing
Removes bottom margin from floated service page images (pages.css) and tightens h2/h3 top margin in prose from 2em to 1.75em (blog.css).
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
.prose { padding-block: var(--space-xl); }
|
||||
.prose h2, .prose h3 { margin-top: 2em; }
|
||||
.prose h2, .prose h3 { margin-top: 1.75em; }
|
||||
.prose img { border-radius: var(--radius-md); margin-block: var(--space-lg); }
|
||||
.prose a { overflow-wrap: anywhere; text-decoration: none; }
|
||||
.prose p a, .prose td a { color: var(--color-accent-strong); text-decoration: none; }
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
.service-page > p > img, .service-page > img { float: right; margin: .5rem 0 1.5rem 2rem; max-height: 230px; max-width: 300px; object-fit: cover; }
|
||||
.service-page > p > img, .service-page > img { float: right; margin: .5rem 0 0 2rem; max-height: 230px; max-width: 300px; object-fit: cover; }
|
||||
.service-page h3 { font-size: 2rem; }
|
||||
@media (max-width: 700px) {
|
||||
.service-page > p > img, .service-page > img { float: none; margin: 1.5rem 0; max-width: 100%; width: 100%; }
|
||||
|
||||
Reference in New Issue
Block a user