diff --git a/src/components/Head.astro b/src/components/Head.astro
index a67bf64..870b12e 100644
--- a/src/components/Head.astro
+++ b/src/components/Head.astro
@@ -27,9 +27,9 @@ const { cdn, commentURL = '', imageHostURL = '', customGoogleAnalyticsURL = '',
-
-
-
+
+
+
@@ -92,6 +92,14 @@ const { cdn, commentURL = '', imageHostURL = '', customGoogleAnalyticsURL = '',
{yandex && }
{baidu && }
+
+
+
{
googleAnalyticsID && (
diff --git a/src/components/ThemeToggle.astro b/src/components/ThemeToggle.astro
index a749e7f..23c3e4c 100644
--- a/src/components/ThemeToggle.astro
+++ b/src/components/ThemeToggle.astro
@@ -1,19 +1,3 @@
-
-
-
+
diff --git a/src/styles/global.css b/src/styles/global.css
index 764000b..f08393c 100644
--- a/src/styles/global.css
+++ b/src/styles/global.css
@@ -4,10 +4,15 @@
--uno-colors-background: theme('colors.background');
}
html {
- --at-apply: 'antialiased scroll-smooth text-62.5%';
+ --at-apply: 'min-h-screen min-h-dvh scroll-smooth antialiased text-62.5%';
}
body {
- --at-apply: 'bg-background min-h-dvh c-primary text-1.6rem';
+ --at-apply: 'min-h-screen min-h-dvh bg-background text-primary text-1.6rem';
+}
+@supports not (view-transition-name: none) {
+ body {
+ --at-apply: 'transition-all duration-500 ease-in-out';
+ }
}
h1, h2, h3 {
text-rendering: optimizeLegibility;
@@ -43,11 +48,13 @@ html:not(.dark) {
--from: 100% 0 0 0;
}
::view-transition-new(root) {
+ transition: none;
animation: reveal 1s cubic-bezier(0.4, 0, 0.2, 1);
clip-path: inset(0 0 0 0);
z-index: 2;
}
::view-transition-old(root) {
- z-index: -1;
+ transition: none;
animation: none;
+ z-index: -1;
}