From 05caa58505643a215944c67d0fbf33d4fae30f21 Mon Sep 17 00:00:00 2001 From: ch0ccyra1n Date: Wed, 7 Sep 2022 14:18:57 -0700 Subject: [PATCH] add tag and author font fixes --- static/css/style.css | 43 ++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 40 insertions(+), 3 deletions(-) diff --git a/static/css/style.css b/static/css/style.css index f95c8ec..a9e39d2 100644 --- a/static/css/style.css +++ b/static/css/style.css @@ -8,12 +8,31 @@ text-decoration: none; color: #FF535D; } - code { + pre, code { background-color: #3B3C43; color: #E7DBDA; } + .author-name { + background-color: #B5ADAD; + border-radius: 4px; + padding: 5px 10px; + font-family: 'Liberation Mono', monospace; + } + + .author-name:hover { + background-color: #CEC4C4; + } + .tag { + background-color: #34353B; + border-radius: 4px; + padding: 5px 10px; + font-family: 'Liberation Mono', monospace; + } + + .tag:hover { + background-color: #2D2E33; + } } - /* Light Mode */ @media (prefers-color-scheme: light) { body { @@ -23,10 +42,28 @@ text-decoration: none; color: #FF535D; } - code { + pre, code { background-color: #A9A2A2; color: #1f2023; } + .author-name { + background-color: #34353B; + border-radius: 4px; + padding: 5px 10px; + font-family: 'Liberation Mono', monospace; + } + .author-name:hover { + background-color: #2D2E33; + } + .tag { + background-color: #B5ADAD; + border-radius: 4px; + padding: 5px 10px; + font-family: 'Liberation Mono', monospace; + } + .tag:hover { + background-color: #CEC4C4; + } } /* Universal */