1
0
mirror of https://github.com/Mikaela/cv.git synced 2025-04-05 15:28:10 +02:00

add meta names for colour and theme

This commit is contained in:
Aminda Suomalainen 2025-03-29 09:45:50 +02:00
parent 9e89ad3895
commit 02df23c324
Signed by: Mikaela
GPG Key ID: 99392F62BAE30723
2 changed files with 4 additions and 1 deletions

View File

@ -24,6 +24,9 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests">
<meta http-equiv="x-dns-prefetch-control" content="off">
<meta name="color-scheme" content="dark light">
<meta name="theme-color" media="(prefers-color-scheme: dark)" content="#ffb700">
<meta name="theme-color" media="(prefers-color-scheme: light)" content="#fdfdfd">
<link rel="stylesheet prefetch" href="{{ "/assets/main.css" | relative_url }}">
<link rel="icon prefetch" href="{{site.icon}}">
<link rel="me prefetch" href="{{ site.url }}">

View File

@ -21,7 +21,7 @@ $base-font-family: $serif-font-family;
@import "{{ site.theme }}";
:root {
color-scheme: light dark !important;
color-scheme: dark light !important;
}
* {