From b73ee74de8f3389091490c4166a9868143e4d804 Mon Sep 17 00:00:00 2001 From: jffarge Date: Wed, 8 Sep 2021 09:34:59 +0200 Subject: [PATCH] docs: :lipstick: quick css fixes Signed-off-by: jffarge --- website/src/css/custom.scss | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/website/src/css/custom.scss b/website/src/css/custom.scss index 47406518..98b2ec10 100644 --- a/website/src/css/custom.scss +++ b/website/src/css/custom.scss @@ -148,9 +148,13 @@ code { } img { - max-width: 500px; + max-width: 100%; display: block; margin: auto; + + @include desktopWide { + max-width: 500px; + } } } @@ -375,6 +379,10 @@ code[class^="codeBlockLines"] { .token-line { color: var(--ifm-color-primary-light) !important; } + + html[data-theme="dark"] & { + background-color: var(--ifm-color-primary-darker) !important; + } } button[class^="copyButton"] {