Fix slide preview styles might overwrite code block styles
This commit is contained in:
parent
c7a36dadcf
commit
af9e2fe664
1 changed files with 6 additions and 2 deletions
|
@ -24,13 +24,17 @@
|
||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.markdown-body.slides section[data-markdown] code {
|
||||||
|
text-align: left;
|
||||||
|
}
|
||||||
|
|
||||||
.markdown-body.slides section[data-markdown]::before {
|
.markdown-body.slides section[data-markdown]::before {
|
||||||
content: '';
|
content: '';
|
||||||
display: block;
|
display: block;
|
||||||
padding-bottom: 56.23%;
|
padding-bottom: 56.23%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.markdown-body.slides section[data-markdown] div:first-child {
|
.markdown-body.slides section[data-markdown] > div:first-child {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 50%;
|
top: 50%;
|
||||||
left: 1em;
|
left: 1em;
|
||||||
|
@ -40,7 +44,7 @@
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
.markdown-body.slides section[data-markdown] ul {
|
.markdown-body.slides section[data-markdown] > ul {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue