Fix the alignment of the post title <h1>

This commit is contained in:
Eryn Wells 2023-09-30 11:06:30 -07:00
parent fe176e4dfd
commit 090eef5bee
5 changed files with 37 additions and 32 deletions

View file

@ -114,14 +114,6 @@
grid-column: content-start / content-end;
}
header > span.series {
margin-inline-start: 0.5em;
}
header > span.series::before {
margin-inline-end: 0.25em;
}
img {
height: auto;
max-width: 100%;
@ -143,6 +135,18 @@
grid-column: wide-content-start / wide-content-end;
}
main > header > span.series {
margin-inline-start: 0.5em;
}
main > header > span.series::before {
margin-inline-end: 0.25em;
}
main > :is(h1, h2, h3, h4, h5, h6):not(:first-child) {
padding-block-start: 0.5em;
}
nav.bulleted>li:first-child::before {
margin-inline: 0;
}
@ -171,7 +175,7 @@
margin-inline-start: 0;
margin-block-start: calc(var(--body-item-spacing) / 2);
}
table {
border-collapse: collapse;
margin-inline: auto;
@ -258,14 +262,6 @@
grid-column: content-start / content-end;
}
.page > header > :is(h1, h2, h3, h4, h5, h6) {
grid-column: 1;
}
.page > header > time {
grid-column: 2;
}
.page > article > * {
grid-column: gutter-start / gutter-end;
}

View file

@ -152,7 +152,9 @@
font-weight: normal;
}
p { line-height: var(--line-height); }
p {
line-height: var(--line-height);
}
.title {