diff options
| author | Fuwn <[email protected]> | 2024-01-23 22:57:30 -0800 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2024-01-23 22:57:30 -0800 |
| commit | e8db79db8cdd296e7a3cb51881d6f7e4e7b3a71a (patch) | |
| tree | 92c9a0d2b769656e408bd5e5496cf02f49a534c6 /src/app.html | |
| parent | feat(locale): localise badges (diff) | |
| download | due.moe-e8db79db8cdd296e7a3cb51881d6f7e4e7b3a71a.tar.xz due.moe-e8db79db8cdd296e7a3cb51881d6f7e4e7b3a71a.zip | |
refactor(html): preload stylesheets
Diffstat (limited to 'src/app.html')
| -rw-r--r-- | src/app.html | 27 |
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 --> |