aboutsummaryrefslogtreecommitdiff
path: root/src/app.html
diff options
context:
space:
mode:
authorFuwn <[email protected]>2024-01-23 22:57:30 -0800
committerFuwn <[email protected]>2024-01-23 22:57:30 -0800
commite8db79db8cdd296e7a3cb51881d6f7e4e7b3a71a (patch)
tree92c9a0d2b769656e408bd5e5496cf02f49a534c6 /src/app.html
parentfeat(locale): localise badges (diff)
downloaddue.moe-e8db79db8cdd296e7a3cb51881d6f7e4e7b3a71a.tar.xz
due.moe-e8db79db8cdd296e7a3cb51881d6f7e4e7b3a71a.zip
refactor(html): preload stylesheets
Diffstat (limited to 'src/app.html')
-rw-r--r--src/app.html27
1 files changed, 23 insertions, 4 deletions
diff --git a/src/app.html b/src/app.html
index fa352543..bb9c69ac 100644
--- a/src/app.html
+++ b/src/app.html
@@ -3,7 +3,11 @@
<head>
<!-- HTML -->
<meta charset="utf-8" />
- <meta name="viewport" property="viewport" content="width=device-width" />
+ <meta
+ name="viewport"
+ property="viewport"
+ content="width=device-width, initial-scale=1, shrink-to-fit=no"
+ />
<meta name="theme-color" property="theme-color" content="#060506" />
<meta
name="description"
@@ -45,9 +49,24 @@
<link rel="manifest" href="%sveltekit.assets%/manifest.json" />
<!-- Stylesheets -->
- <link rel="stylesheet" type="text/css" href="https://latex.now.sh/style.css" />
- <link rel="stylesheet" type="text/css" href="https://skybox.sh/css/palettes/base16-dark.css" />
- <link rel="stylesheet" type="text/css" href="https://skybox.sh/css/risotto.css" />
+ <link
+ rel="preload"
+ as="style"
+ onload="this.onload=null;this.rel='stylesheet';"
+ href="https://latex.now.sh/style.css"
+ />
+ <link
+ rel="preload"
+ as="style"
+ onload="this.onload=null;this.rel='stylesheet';"
+ href="https://skybox.sh/css/palettes/base16-dark.css"
+ />
+ <link
+ rel="preload"
+ as="style"
+ onload="this.onload=null;this.rel='stylesheet';"
+ href="https://skybox.sh/css/risotto.css"
+ />
<!-- <link rel="stylesheet" type="text/css" href="https://skybox.sh/css/custom.css"> -->
<!-- Icons -->