From dd63c2085030a3f3b4112cdf29605e5f647d3c95 Mon Sep 17 00:00:00 2001 From: diamondburned Date: Fri, 22 Mar 2024 05:45:19 -0700 Subject: [PATCH] Style tweaks --- server/frontend/styles/_main.scss | 10 ++++++---- server/frontend/styles/_problems.scss | 7 +++++++ 2 files changed, 13 insertions(+), 4 deletions(-) diff --git a/server/frontend/styles/_main.scss b/server/frontend/styles/_main.scss index 49ddede..f36407b 100644 --- a/server/frontend/styles/_main.scss +++ b/server/frontend/styles/_main.scss @@ -42,10 +42,7 @@ $highlight-glow-primary: 0 0 0.2em var(--glow-color-primary); --glow-color-primary: #{$primary-500}; --glow-text-color-primary: #{$primary-300}; - --card-background-color: #{rgba( - mix($black, $grey-900, 25%), - $card-opacity-dark - )}; + --card-background-color: #{rgba(mix($black, $grey-900, 25%), $card-opacity-dark)}; --nav-background-color: #{rgba($primary-900, 0.75)}; --article-card-color: #{$grey-900}; --bubble-color: #{$grey-300}; @@ -82,6 +79,11 @@ pre > code { font-size: inherit; } +code, +kbd { + padding: 0.2em 0.5em; +} + h1, h2, h3 { diff --git a/server/frontend/styles/_problems.scss b/server/frontend/styles/_problems.scss index 923cd5f..b6bb538 100644 --- a/server/frontend/styles/_problems.scss +++ b/server/frontend/styles/_problems.scss @@ -71,4 +71,11 @@ flex: 0; } } + + section.part { + ol, + ul { + margin-left: 1.5em; + } + } }