From c876987d3252417fd01b48ca98a1dd071b087962 Mon Sep 17 00:00:00 2001 From: eug-vs Date: Sat, 9 Apr 2022 13:02:13 +0300 Subject: feat: improve font in code tags --- style.css | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/style.css b/style.css index b8fa85a..1111602 100644 --- a/style.css +++ b/style.css @@ -56,10 +56,10 @@ blockquote { font-style: italic; } code { - font-family: Menlo, Monaco, 'Lucida Console', Consolas, monospace; - font-size: 85%; + font-family: monospace; + font-size: 130%; margin: 0; - padding: 2px; + padding: 3px; background: #1d2021; border-radius: 4px; } @@ -79,6 +79,9 @@ pre code { div.sourceCode { border: 1px solid rgba(255, 255, 255, 0.12); } +code.sourceCode { + padding: 0; +} hr { background-color: #1a1a1a; border: none; -- cgit v1.2.3