move light/dark class from <body> to <html> and inline restoration script to (hopefully) improve the white flashes

This commit is contained in:
2021-12-15 13:49:56 -05:00
parent c2789e24d4
commit 766362a9da
14 changed files with 61 additions and 67 deletions
@@ -17,7 +17,7 @@ css: |
div#content a#octocat svg {
vertical-align: text-bottom;
}
body.dark div#content a#octocat svg path {
html.dark div#content a#octocat svg path {
fill: #d3d3d3;
}
draft: false