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"] {