From 348b36941c257c8325fcef975ceac731bf33d664 Mon Sep 17 00:00:00 2001 From: Rawley Date: Thu, 10 Mar 2022 14:24:15 +0000 Subject: [PATCH] Updated code class styles --- static/index.css | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/static/index.css b/static/index.css index 23e62df..4cb9a21 100644 --- a/static/index.css +++ b/static/index.css @@ -70,13 +70,6 @@ li { padding-bottom: 6px; } -span { - background-color: #6272a4; - color: #50fa7b; - padding-left: 2px; - padding-right: 2px; -} - a { text-decoration: none; position: relative; @@ -164,6 +157,14 @@ a:hover:after { content: "' "; } +/* For code snippets */ +.code { + background-color: #44475a; + color: #50fa7b; + padding: 3px; + font-family: monospace; +} + @media (prefers-color-scheme: dark) { body { color: #f8f8f2;