diff options
| author | littleblack111 <littleblack11111@gmail.com> | 2023-10-04 22:32:34 +0800 |
|---|---|---|
| committer | littleblack111 <littleblack11111@gmail.com> | 2023-10-04 22:32:34 +0800 |
| commit | 914c855691637764ea58723c9246d5daf5e3e329 (patch) | |
| tree | 974896821103e5da6b05fe68ae8693ce8bf74ea1 /src/css/style.css | |
| parent | 36e9fbac37f8492783fd88a5afdf698355679d1c (diff) | |
new image
Diffstat (limited to 'src/css/style.css')
| -rw-r--r-- | src/css/style.css | 29 |
1 files changed, 24 insertions, 5 deletions
diff --git a/src/css/style.css b/src/css/style.css index a4e608fb..d9bf3c56 100644 --- a/src/css/style.css +++ b/src/css/style.css @@ -97,6 +97,10 @@ body { } /* transition */ +* { + transition: all 0.3s; +} + *:hover { transition: all 0.3s } @@ -117,7 +121,7 @@ header { align-items:center; /* background: color(0, 0, 0, .1); */ z-index: 1000; - background-color: #331E38; + background: rgba(128, 128, 128, 0.2) } .navBar a { @@ -144,19 +148,21 @@ header { bottom: 0; width: 100%; height: 1mm; - background: #F4E8C1; + background: rgba(128, 128, 128, 0.2); border-radius: 1mm; transform: scaleX(0); - transition: transform 0.3s; + transition: all 0.3s; } .navBar a:hover::after { - transform: scaleX(1); + transform: scaleX(1.1); } .navBar a:hover { background: rgba(255, 255, 255, 0.2); - transition: background 1s + -webkit-backdrop-filter: blur(5px); + backdrop-filter: blur(5px); + transition: all 1s } .navBar a.active::after { @@ -171,6 +177,19 @@ header { transform: scaleX(1); } +.navBar:active, +.navBar:hover, +header:active, +header:hover, +#navBarHeader:hover, +#navBarHeader:active +{ + transform: scale(1.005); + -webkit-backdrop-filter: blur(5px); + backdrop-filter: blur(5px); + transition: all 0.5s +} + /* other ================================================== */ .contents { |
