Remove flash for dark theme on loading #139
This commit is contained in:
parent
5c94f0297f
commit
179923826f
2 changed files with 80 additions and 51 deletions
|
@ -16,6 +16,23 @@
|
|||
{{ end -}}
|
||||
|
||||
{{ partial "favicons.html" . }}
|
||||
|
||||
<style>
|
||||
body {
|
||||
visibility: hidden;
|
||||
opacity: 0;
|
||||
}
|
||||
</style>
|
||||
|
||||
<noscript>
|
||||
<style>
|
||||
body {
|
||||
visibility: visible;
|
||||
opacity: 1;
|
||||
}
|
||||
</style>
|
||||
</noscript>
|
||||
|
||||
{{ partial "resource.html" (dict "context" . "type" "css" "filename" "css/main.css") }}
|
||||
|
||||
{{ if .Site.Params.copyCodeButton | default true }}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue