From 37a7420618e35d12078db966816e9f3da540a084 Mon Sep 17 00:00:00 2001 From: Maik de Kruif Date: Wed, 22 Sep 2021 21:02:45 +0200 Subject: [PATCH] Add gray background on dark theme for better contrast --- themes/maik-blog/assets/scss/_main.scss | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/themes/maik-blog/assets/scss/_main.scss b/themes/maik-blog/assets/scss/_main.scss index 2b4f098..88c87bd 100644 --- a/themes/maik-blog/assets/scss/_main.scss +++ b/themes/maik-blog/assets/scss/_main.scss @@ -135,6 +135,15 @@ figure { max-width: 100%; margin: 25px 0; + img { + border-radius: 8px; + padding: 5px; + + .dark-theme & { + background-color: #ffffff4f; + } + } + &.left { margin-right: auto; }