fix: style for video answers (#39090)

Vertically centers the radio buttons.
Fixes answer backgrounds.
Corrects answer padding on night mode.
This commit is contained in:
Oliver Eyton-Williams
2020-06-18 10:17:13 +02:00
committed by GitHub
parent 9954c3d0bc
commit 80223e5e39
2 changed files with 11 additions and 1 deletions

View File

@@ -39,6 +39,13 @@
overflow: auto;
}
/* Without this, the above selector takes precedence and messes up the answer
padding in night mode */
.night .video-quiz-option > pre {
padding: 0;
margin: 0;
}
.night :not(pre) > code[class*='language-'],
.night pre[class*='language-'] {
background: var(--primary-background);