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 ++++++++++++++- src/css/ghrepo.css | 7 +++---- 2 files changed, 17 insertions(+), 5 deletions(-) (limited to 'src') 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) { diff --git a/src/css/ghrepo.css b/src/css/ghrepo.css index 8726c6dd..b0585e88 100644 --- a/src/css/ghrepo.css +++ b/src/css/ghrepo.css @@ -28,7 +28,7 @@ box-sizing: border-box; /* background-image: url(/images/backgroundNightCity.jpg); */ background: transparent; - + transition: transform 0.5s; } @@ -40,7 +40,7 @@ body { } main { -margin-top: 3em + margin-top: 3em } .bgWrap { @@ -318,7 +318,6 @@ input:active, border-radius: 30px; border: 2px solid var(--accent); color: var(--text); - transform: scale(1); -webkit-transition: background 0.5s, transform 0.5s, border 0.5s, all 0.5s; transition: background 0.5s, transform 0.5s, border 0.5, all 0.3s; } @@ -329,8 +328,8 @@ input:active, border-radius: 16px; transform: scale(1.1); box-shadow: 0 0 50mm rgba(0, 156, 255,.7); - transition: background 0.5s, transform 0.5s, border 0.5s, all 0.5s; -webkit-transition: background 0.5s, transform 0.5s, border 0.5s, all 0.5s; + transition: background 0.5s, transform 0.5s, border 0.5s, all 0.5s; } .repo-list p { -- cgit v1.2.3