refactor: make code block shadows consistent with new admonitions (#5215)

This commit is contained in:
Sébastien Lorber 2021-07-23 18:11:40 +02:00 committed by GitHub
parent 083037d7a5
commit a7a5ea3466
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 10 additions and 18 deletions

View file

@ -7,6 +7,9 @@
.playgroundContainer {
margin-bottom: var(--ifm-leading);
border-radius: var(--ifm-global-radius);
box-shadow: var(--ifm-global-shadow-lw);
overflow: hidden;
}
.playgroundHeader {
@ -22,8 +25,6 @@
.playgroundHeader:first-of-type {
background: var(--ifm-color-emphasis-600);
color: var(--ifm-color-content-inverse);
border-top-left-radius: var(--ifm-global-radius);
border-top-right-radius: var(--ifm-global-radius);
}
.playgroundEditor {
@ -34,11 +35,6 @@
}
.playgroundPreview {
border: 1px solid var(--ifm-color-emphasis-200);
padding: 1rem;
}
.playgroundPreview:last-of-type, .playgroundEditor:last-of-type {
border-bottom-left-radius: var(--ifm-global-radius);
border-bottom-right-radius: var(--ifm-global-radius);
background-color: var(--ifm-pre-background);
}