mirror of
https://github.com/gcushen/hugo-academic.git
synced 2025-07-26 19:15:16 +02:00
fix(scss): prevent HLJS default text and bg colors getting overrided
This commit is contained in:
parent
753da251dd
commit
30e85a648b
2 changed files with 5 additions and 2 deletions
|
@ -203,8 +203,11 @@ a:focus {
|
|||
pre,
|
||||
code {
|
||||
font-family: $sta-font-mono, monospace;
|
||||
color: #c7254e;
|
||||
}
|
||||
|
||||
pre,
|
||||
code:not(.hljs) {
|
||||
color: #c7254e;
|
||||
/* Match bg of default highlight theme. */
|
||||
background-color: rgb(248, 248, 248);
|
||||
}
|
||||
|
|
|
@ -45,7 +45,7 @@ body.dark,
|
|||
}
|
||||
|
||||
.dark pre,
|
||||
.dark code {
|
||||
.dark code:not(.hljs) {
|
||||
color: rgb(139, 233, 253);
|
||||
background-color: rgb(68, 71, 90);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue