mirror of
https://github.com/facebook/docusaurus.git
synced 2025-07-30 06:50:36 +02:00
refactor: make code block shadows consistent with new admonitions (#5215)
This commit is contained in:
parent
083037d7a5
commit
a7a5ea3466
3 changed files with 10 additions and 18 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue