diff options
author | 135e2 <[email protected]> | 2022-06-01 22:56:49 +0800 |
---|---|---|
committer | 135e2 <[email protected]> | 2022-06-03 11:31:20 +0800 |
commit | 3304d9d2648bceecdb3d6604d84087ca74db1255 (patch) | |
tree | 49f1cc77f922dadf48bb495327b1b1e1e54a8f01 | |
parent | c02c983166effdb5db4578e4ab45f58762f082d4 (diff) | |
download | chromate-3304d9d2648bceecdb3d6604d84087ca74db1255.tar.gz chromate-3304d9d2648bceecdb3d6604d84087ca74db1255.tar.bz2 chromate-3304d9d2648bceecdb3d6604d84087ca74db1255.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 54ec4c0..7c957ec 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> |