From 419d982bb29dd8a3904e6591796cc7ebc9190fd8 Mon Sep 17 00:00:00 2001 From: Arun Isaac Date: Mon, 28 Feb 2022 18:00:36 +0530 Subject: website: Use reduced font size to indicate code and samp. Use a slightly reduced font size instead of background color to indicate code. This is the style used by the skribilo documentation, and is much less in your face. * website/style.css (code): Unset background-color, padding-left and padding-right. (code, samp): Set font-size to 0.8em. --- website/style.css | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) (limited to 'website') diff --git a/website/style.css b/website/style.css index 4f310ce..01c655e 100644 --- a/website/style.css +++ b/website/style.css @@ -6,17 +6,13 @@ body { padding: 0 10px; } -pre, code { - background-color: #f0f0f0; -} - pre { + background-color: #f0f0f0; padding: 1em; } -code { - padding-left: 0.2em; - padding-right: 0.2em; +code, samp { + font-size: 0.8em; } /* Make the SVG badges clickable. */ -- cgit v1.2.3