Merge pull request #320 from a-dma/fix-pre
Fix <pre> HTML tag to follow theme settings
This commit is contained in:
commit
74b2f0329a
1 changed files with 8 additions and 1 deletions
|
@ -239,7 +239,14 @@ code {
|
||||||
}
|
}
|
||||||
|
|
||||||
pre {
|
pre {
|
||||||
background: #212020;
|
[data-theme=dark] & {
|
||||||
|
background-color: $dark-background-secondary;
|
||||||
|
}
|
||||||
|
|
||||||
|
[data-theme=light] & {
|
||||||
|
background-color: $light-background-secondary;
|
||||||
|
}
|
||||||
|
|
||||||
padding: 10px 10px 10px 20px;
|
padding: 10px 10px 10px 20px;
|
||||||
border-radius: 8px;
|
border-radius: 8px;
|
||||||
font-size: 0.95rem;
|
font-size: 0.95rem;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue