diff --git a/website/src/components/Figure/styles.module.css b/website/src/components/Figure/styles.module.css index e77d557c1f..d064b22dec 100644 --- a/website/src/components/Figure/styles.module.css +++ b/website/src/components/Figure/styles.module.css @@ -1,5 +1,18 @@ /* Figures (with captions) */ -figcaption { - text-align: center; +figure { + box-shadow: var(--ifm-global-shadow-lw); + border-radius: var(--ifm-global-radius); + padding: var(--ifm-pre-padding); +} + +figure * + * { + margin-block-start: var(--ifm-pre-padding); +} + +figcaption { + /* background: black; */ + /* text-align: center; */ + font-size: 90%; + padding-inline: var(--ifm-pre-padding); + border-inline-start: 5px solid var(--ifm-color-primary); } -/* End figures (with captions) */