From 4ac3d4c5b54ffd34de548ee562fa9a72af710bb3 Mon Sep 17 00:00:00 2001 From: Yorick Barbanneau Date: Sat, 7 Mar 2020 00:38:30 +0100 Subject: [PATCH] Arrange pre and code rules --- static/css/style.css | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/static/css/style.css b/static/css/style.css index e3d9b90..11d2721 100644 --- a/static/css/style.css +++ b/static/css/style.css @@ -694,17 +694,14 @@ mark { background-color: #ffc336 } -code, -tt { +code { position: relative; margin: 0 0.333em; - padding: 0.333em 0.666em; + padding: 0.222em 0.666em; font-family: 'Fira Mono', monospace, sans-serif; - font-size: 0.75em; + font-size: 0.80em; white-space: pre; - background: #343642; - color: #C1C2C3; - top: -2px + background: #faf9f7; } pre { @@ -715,7 +712,6 @@ pre { font-family: Fira Mono, monospace, sans-serif; white-space: pre; box-sizing: border-box; - font-size: .80em; width:110%; margin-left: -5% }