From 1dff5366ecb4537a3455a915c6b7f913333ef104 Mon Sep 17 00:00:00 2001 From: Akshay Date: Thu, 16 Apr 2020 13:41:16 +0530 Subject: fresh styles for captioned images --- docs/style.css | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'docs') diff --git a/docs/style.css b/docs/style.css index 9f749e2..379e56f 100644 --- a/docs/style.css +++ b/docs/style.css @@ -96,6 +96,10 @@ h4, h5, h6 { margin-bottom: 2rem; } +figcaption { + text-align: center; +} + table { width: 100%; border-collapse: collapse; @@ -120,16 +124,14 @@ td { } pre, code { - color: var(--black); font-family: monospace; } pre { overflow: auto; - padding: 1.3rem; + padding: 1rem; border: 2px solid var(--dark-white); border-radius: 0.4rem; - margin: 1rem -1.3rem; } code { -- cgit v1.2.3