diff options
| author | littleblack111 <littleblack11111@gmail.com> | 2023-11-05 17:17:00 +0800 |
|---|---|---|
| committer | littleblack111 <littleblack11111@gmail.com> | 2023-11-05 17:17:00 +0800 |
| commit | f8ee6ef722e6c560c4a1c879e04dbdf0b01f0316 (patch) | |
| tree | 76bec38fe12617f8bdfca67b8ee2e6f0cad1d804 /src/css | |
| parent | 9feaf6948e339778447482b5739072361cbc9d55 (diff) | |
updates
Diffstat (limited to 'src/css')
| -rw-r--r-- | src/css/404.css | 15 | ||||
| -rw-r--r-- | src/css/ghrepo.css | 7 |
2 files changed, 17 insertions, 5 deletions
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 { |
