mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2026-06-30 01:06:00 -04:00
move light/dark class from <body> to <html> and inline restoration script to (hopefully) improve the white flashes
This commit is contained in:
@@ -129,7 +129,7 @@ div.highlight {
|
||||
}
|
||||
|
||||
// Syntax Highlighting (light) - modified from Monokai Light: https://github.com/mlgill/pygments-style-monokailight
|
||||
body.light {
|
||||
html.light {
|
||||
div.highlight,
|
||||
button.copy-button,
|
||||
:not(pre) > code {
|
||||
@@ -215,7 +215,7 @@ body.light {
|
||||
}
|
||||
|
||||
// Syntax Highlighting (dark) - modified from Dracula: https://github.com/dracula/pygments
|
||||
body.dark {
|
||||
html.dark {
|
||||
div.highlight,
|
||||
button.copy-button,
|
||||
:not(pre) > code {
|
||||
|
||||
Reference in New Issue
Block a user