From e27f8a9d46843146a603c581766bd8fd13b6e4f6 Mon Sep 17 00:00:00 2001 From: iGor milhit Date: Thu, 15 Aug 2019 21:39:21 +0200 Subject: [PATCH] style: add rules for code and footnotes * NEW Sets a smaller font-size for code and footnotes. * NEW Emphasis code with background color. Co-Authored-by: Igor Milhit --- static/style.css | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/static/style.css b/static/style.css index 05a81ed..874fa9b 100644 --- a/static/style.css +++ b/static/style.css @@ -8,6 +8,16 @@ html, body { font-size: 1.25rem; } +code, .footnotes, .footnote-ref { + font-size: 1rem; +} + +code, pre { + background-color: lightgrey; + border-radius: 5px; + padding: 0.2rem; +} + /* * ************** * * LAYOUT *