style image blocks along with body elements

This commit is contained in:
elisejakob
2024-05-20 21:36:18 +02:00
parent adfb4da749
commit 10227ff8e3
5 changed files with 94 additions and 14 deletions

View File

@ -1,6 +1,19 @@
.body {
padding-bottom: var(--spacing-section-bottom);
h1,
h2,
h3,
h4,
h5,
h6,
p,
ul,
ol,
blockquote {
margin: 0 auto;
}
h1,
h2,
h3,
@ -8,7 +21,7 @@
h5,
h6 {
margin: 2rem 0 1rem;
max-width: 36em;
max-width: var(--size-width-p);
}
h5,
@ -20,7 +33,7 @@
p {
margin-bottom: 1.4em;
font-size: var(--font-size-body);
max-width: 36em;
max-width: var(--size-width-p);
}
ul,
@ -105,6 +118,6 @@
figcaption {
font-size: var(--font-size-caption);
padding: .6rem 0;
max-width: 36rem;
max-width: var(--size-width-p);
}
}