improve loading time;improve unstyled content flash
This commit is contained in:
@ -37,7 +37,7 @@
|
||||
--visited-link: #be95ff;
|
||||
--highlight: #33b1ff;
|
||||
|
||||
background: url('/assets/bg.svg');
|
||||
background: #202020 url('/assets/bg.svg');
|
||||
background-size: 30px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
|
@ -11,8 +11,14 @@
|
||||
(run "echo > /tmp/footnote_count")
|
||||
`(html (:lang "en")
|
||||
(head ()
|
||||
(style #[[
|
||||
:root {
|
||||
background: #202020;
|
||||
}
|
||||
body {display: none}]])
|
||||
(link (:rel preload :href "/assets/style.css" :as style))
|
||||
(link (:rel preload :href "/assets/bg.svg" :as image))
|
||||
(link (:rel "stylesheet" :href "/assets/style.css" :type "text/css"))
|
||||
(link (:rel preload :href "/assets/style.css"))
|
||||
(meta (:http-equiv "content-type" :content "text/html; charset=utf-8"))
|
||||
(meta (:name "viewport" :content "width=device-width, initial-scale=1"))
|
||||
(meta (:name "author" :content ~author))
|
||||
|
Reference in New Issue
Block a user