diff options
author | Yuqian Yang <crupest@crupest.life> | 2025-01-22 17:55:46 +0800 |
---|---|---|
committer | Yuqian Yang <crupest@crupest.life> | 2025-01-22 17:55:46 +0800 |
commit | 90fe34f049a06db6a591c428b5fa02a6c57f22e3 (patch) | |
tree | 3e6c6158e9413949b9e13ab9cfb47d3811851da4 /docker/nginx/sites/www/src/style.css | |
parent | 2e0ef8f99a5a607cfc5f99fcbf7bee9765255ea5 (diff) | |
download | crupest-90fe34f049a06db6a591c428b5fa02a6c57f22e3.tar.gz crupest-90fe34f049a06db6a591c428b5fa02a6c57f22e3.tar.bz2 crupest-90fe34f049a06db6a591c428b5fa02a6c57f22e3.zip |
fix(www): slogan bug, close #32.
Diffstat (limited to 'docker/nginx/sites/www/src/style.css')
-rw-r--r-- | docker/nginx/sites/www/src/style.css | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/docker/nginx/sites/www/src/style.css b/docker/nginx/sites/www/src/style.css index 4dae7ea..f2d4ccc 100644 --- a/docker/nginx/sites/www/src/style.css +++ b/docker/nginx/sites/www/src/style.css @@ -12,7 +12,6 @@ html { body { width: 100%; margin: 0; - box-sizing: border-box; display: flex; flex-direction: column; } @@ -54,7 +53,7 @@ a { to { opacity: 1; - transform: translateY(0); + transform: translateX(0); } } @@ -68,10 +67,9 @@ a { } .slogan-container { - width: 100%; - position: fixed; - z-index: 1; + width: 100vw; top: 0; + position: fixed; } .slogan { |