docs: 💄 quick css fixes

Signed-off-by: jffarge <jf@dagger.io>
This commit is contained in:
jffarge 2021-09-08 09:34:59 +02:00
parent ea2c74bb4b
commit b73ee74de8

View File

@ -148,9 +148,13 @@ code {
} }
img { img {
max-width: 500px; max-width: 100%;
display: block; display: block;
margin: auto; margin: auto;
@include desktopWide {
max-width: 500px;
}
} }
} }
@ -375,6 +379,10 @@ code[class^="codeBlockLines"] {
.token-line { .token-line {
color: var(--ifm-color-primary-light) !important; color: var(--ifm-color-primary-light) !important;
} }
html[data-theme="dark"] & {
background-color: var(--ifm-color-primary-darker) !important;
}
} }
button[class^="copyButton"] { button[class^="copyButton"] {