diff options
author | 135e2 <[email protected]> | 2022-06-01 22:56:49 +0800 |
---|---|---|
committer | 135e2 <[email protected]> | 2022-06-01 23:13:28 +0800 |
commit | e1bf74a07c9652beb0928a540f2b2abc507a4b66 (patch) | |
tree | c599133567025de1b481ef02f627f30b18c7ee65 | |
parent | a887b07a021540fdbb931693d6fb07edd113e31a (diff) | |
download | chromate-e1bf74a07c9652beb0928a540f2b2abc507a4b66.tar.gz chromate-e1bf74a07c9652beb0928a540f2b2abc507a4b66.tar.bz2 chromate-e1bf74a07c9652beb0928a540f2b2abc507a4b66.zip |
fix: set initial media attributes
Set default bulma theme while loading css to avoid switching website theme regularly at loading stage.
-rw-r--r-- | layout/_partial/head.ejs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/layout/_partial/head.ejs b/layout/_partial/head.ejs index ed4f8d7..9c255b8 100644 --- a/layout/_partial/head.ejs +++ b/layout/_partial/head.ejs @@ -33,6 +33,6 @@ <!-- Scripts and styles --> <%- css('css/style.min.css') %> - <link rel="stylesheet" id="bulma-light" href="https://cdn.jsdelivr.net/npm/bulma/css/bulma.min.css"> - <link rel="stylesheet" id="bulma-dark" href="https://cdn.jsdelivr.net/npm/[email protected]/darkly/bulmaswatch.min.css"> + <link media="all" rel="stylesheet" id="bulma-light" href="https://cdn.jsdelivr.net/npm/bulma/css/bulma.min.css"> + <link media="none" rel="stylesheet" id="bulma-dark" href="https://cdn.jsdelivr.net/npm/[email protected]/darkly/bulmaswatch.min.css"> </head>
\ No newline at end of file |