From 799d16c59578dd87c4e226ab99b051661c783f99 Mon Sep 17 00:00:00 2001 From: Rhiannon Morris Date: Fri, 28 Aug 2020 22:21:56 +0200 Subject: [PATCH] add some style for figures in the description --- style/shiny/single.css | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/style/shiny/single.css b/style/shiny/single.css index c7ed498..c7f668d 100644 --- a/style/shiny/single.css +++ b/style/shiny/single.css @@ -101,6 +101,21 @@ body { align-items: baseline; } +#info figure { + width: min-content; + margin: 0.25em auto; +} + +#info .light-bg { + background: hsl(0deg, 0%, 100%, 75%); + padding: 5px; + border-radius: 8px; +} + +#info .floating { + float: right; +} + #info h2, #info ul, #info p { margin: 0.35em; }