From f8ee6ef722e6c560c4a1c879e04dbdf0b01f0316 Mon Sep 17 00:00:00 2001 From: littleblack111 Date: Sun, 5 Nov 2023 17:17:00 +0800 Subject: updates --- src/css/404.css | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) (limited to 'src/css/404.css') diff --git a/src/css/404.css b/src/css/404.css index d7a69316..6143f73c 100644 --- a/src/css/404.css +++ b/src/css/404.css @@ -6,6 +6,12 @@ body { padding: 0; margin: 0; + transition: transform 0.5s; +} + +body:hover { + transform: scale(1.1); + transition: transform 0.5s; } #notfound { @@ -56,7 +62,6 @@ body { letter-spacing: -20px; } - .notfound .notfound-404 h2 { font-family: 'Montserrat', sans-serif; position: absolute; @@ -89,6 +94,14 @@ body { .notfound a:hover { color: #8400ff; + transform: scale(1.01); + box-shadow: 0 0 25mm #8400ff; + transition: transform 0.5s; +} + +.notfound:hover:has(a:hover) a:not(:hover) { + transform: scale(0.99); + transition: transition 0.5s; } @media only screen and (max-width: 767px) { -- cgit v1.2.3