Move blog.css styles to styles/blog/ files

This commit is contained in:
Eryn Wells 2023-09-24 08:43:10 -07:00
parent dbb202d7f9
commit 2331e37e62
3 changed files with 116 additions and 79 deletions

View file

@ -0,0 +1,19 @@
/* Eryn Wells <eryn@erynwells.me> */
a:has(> img) {
grid-column: content-start / content-end;
}
@media (max-width: 639px) {
a:has(> img) {
grid-column: gutter-start / gutter-end;
}
}
main {
gap: var(--body-item-spacing) 0;
}
main > article > :not(:last-child) {
margin-block-end: var(--body-item-spacing);
}