Render blockquotes in a figure
Render cite and caption too.
This commit is contained in:
parent
25eaca442c
commit
e04e7dafa3
5 changed files with 33 additions and 3 deletions
|
|
@ -29,6 +29,25 @@
|
|||
> a:has(img:only-child) {
|
||||
grid-column: wide-gutter-start / wide-gutter-end;
|
||||
}
|
||||
|
||||
.figure__caption--blockquote {
|
||||
font-size: inherit;
|
||||
margin-inline-start: var(--space-m);
|
||||
|
||||
blockquote + & {
|
||||
margin-block-start: var(--space-m);
|
||||
}
|
||||
|
||||
&::before {
|
||||
color: var(--text-color-secondary);
|
||||
content: "--";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
.figure--main-column {
|
||||
grid-column: main-start / main-end;
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue