From f86a2dcf62ec05ab31176be69a7a8687637a75c0 Mon Sep 17 00:00:00 2001 From: Quinton Miller Date: Tue, 7 Nov 2023 22:39:15 +0800 Subject: [PATCH] fixup2 --- _sass/components/_book-authors.scss | 7 ++----- _sass/components/_book-presenter.scss | 2 +- _sass/mixins/_blockflow.scss | 4 ++-- 3 files changed, 5 insertions(+), 8 deletions(-) diff --git a/_sass/components/_book-authors.scss b/_sass/components/_book-authors.scss index cd19af89..b6423952 100644 --- a/_sass/components/_book-authors.scss +++ b/_sass/components/_book-authors.scss @@ -18,14 +18,11 @@ grid-area: main; } - > p { - max-width: 43ch; - } - > .book-author-icon { grid-area: icon; width: 6ch; - height: 6ch; + aspect-ratio: 1; + object-fit: cover; clip-path: content-box circle(50%); } } diff --git a/_sass/components/_book-presenter.scss b/_sass/components/_book-presenter.scss index f09cc0be..3930730c 100644 --- a/_sass/components/_book-presenter.scss +++ b/_sass/components/_book-presenter.scss @@ -1,5 +1,5 @@ .book-presenter { - font-size: 120%; + font-size: var(--font-size-lead); display: grid; grid-template-areas: "cover" diff --git a/_sass/mixins/_blockflow.scss b/_sass/mixins/_blockflow.scss index afe5f9e6..c61c28a6 100644 --- a/_sass/mixins/_blockflow.scss +++ b/_sass/mixins/_blockflow.scss @@ -5,13 +5,13 @@ + * { margin-block-start: var(--block-flow, $width); - &:is(hr) { + &:is(hr, .full-width-rule) { margin-block-start: var(--block-flow-md); } } } - :where(& > hr + *) { + :where(& > :is(hr, .full-width-rule) + *) { margin-block-start: var(--block-flow-md); }