From 0a724f6f97ae00a5195373f3f789184fce94375d Mon Sep 17 00:00:00 2001 From: Max Leiter Date: Tue, 22 Mar 2022 21:24:11 -0700 Subject: [PATCH] client: improved code styles in markdown --- client/styles/globals.css | 2 +- client/styles/markdown.css | 10 +--------- 2 files changed, 2 insertions(+), 10 deletions(-) diff --git a/client/styles/globals.css b/client/styles/globals.css index 63af768a..496cb987 100644 --- a/client/styles/globals.css +++ b/client/styles/globals.css @@ -87,7 +87,7 @@ a.reset { pre, code { - font-family: var(--font-mono); + font-family: var(--font-mono) !important; } kbd { diff --git a/client/styles/markdown.css b/client/styles/markdown.css index ede485e2..dc4fdabc 100644 --- a/client/styles/markdown.css +++ b/client/styles/markdown.css @@ -95,17 +95,9 @@ input[type="checkbox"]:focus { } article *:not(pre) > code { - font-weight: 600; + font-weight: 500; font-family: var(--font-sans); font-size: 1rem; - padding: 0 3px; -} - -article *:not(pre) > code::before, -article *:not(pre) > code::after { - content: "\`"; - color: var(--gray); - user-select: none; } article pre {