summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2025-08-17 16:27:32 +0200
committerThomas Voss <mail@thomasvoss.com> 2025-08-17 16:27:32 +0200
commitc60c00b323d990ce47b94fb1f9ad189fc0fe5791 (patch)
treed0815e9c16e4c2c8bdd560ed2e18b603a79aae0d
parent13f03a3caa53f89978e745143c948227b3d0655c (diff)
Minor CSS tweaksHEADmaster
-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%);