summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/style.css28
1 files changed, 4 insertions, 24 deletions
diff --git a/src/style.css b/src/style.css
index 1f9c785..6ce0d86 100644
--- a/src/style.css
+++ b/src/style.css
@@ -10,26 +10,10 @@
--faint: color-mix(in hwb, var(--fg) 75%, var(--bg));
}
-@keyframes move-out {
- from { transform: translateY(0%); }
- to { transform: translateY(-100%); }
-}
-
-@keyframes move-in {
- from { transform: translateY(100%); }
- to { transform: translateY(0%); }
-}
-
-@view-transition {
- navigation: auto;
-}
-
-::view-transition-old(root) {
- animation: 0.4s ease-in both move-out;
-}
-
-::view-transition-new(root) {
- animation: 0.4s ease-in both move-in;
+@media not (prefers-reduced-motion: reduce) {
+ @view-transition {
+ navigation: auto;
+ }
}
@media (max-width: 750px) {
@@ -63,10 +47,6 @@
}
}
-h1, h2 {
- text-wrap: balance;
-}
-
body {
text-align: justify;
width: min(800px, 90%);