style: widen article reading layout
This commit is contained in:
@@ -199,6 +199,10 @@
|
||||
color: var(--color-ink);
|
||||
}
|
||||
|
||||
.article-prose :where(p, ul, ol, blockquote, details, .callout, [data-callout]) {
|
||||
max-width: 72ch;
|
||||
}
|
||||
|
||||
.prose :where(a) {
|
||||
color: var(--color-accent);
|
||||
text-decoration-thickness: 1px;
|
||||
@@ -266,6 +270,10 @@
|
||||
margin: 2.5rem 0 1rem;
|
||||
}
|
||||
|
||||
.article-prose :where(p:has(> img:only-child)) {
|
||||
max-width: none;
|
||||
}
|
||||
|
||||
.prose :where(p:has(> img:only-child) + em),
|
||||
.prose :where(p:has(> img:only-child) + strong) {
|
||||
display: block;
|
||||
|
||||
Reference in New Issue
Block a user