diff --git a/assets/css/style.css b/assets/css/style.css index 01ac7a1..ecde5e2 100644 --- a/assets/css/style.css +++ b/assets/css/style.css @@ -43,11 +43,11 @@ body { line-height: 1.6; } -/* 首頁 Hero:滿版 cover(勿用 108%/vw 限高,否則上下留黑) */ +/* 首頁 Hero:隨寬度 16:9 等比縮放(圖已更新,不需 108% 放大) */ header#origin { width: 100%; - height: 100dvh; - min-height: 100dvh; + height: min(56.25vw, 100dvh); + min-height: 0; background-image: url('../images/header.jpg'); background-position: center center; background-repeat: no-repeat; diff --git a/assets/css/tablet.css b/assets/css/tablet.css index 6700fa7..211660b 100644 --- a/assets/css/tablet.css +++ b/assets/css/tablet.css @@ -64,7 +64,7 @@ gap: clamp(12px, 2vw, 20px); } - header { + header.inner-page-header { background-size: cover; background-position: center center; } diff --git a/assets/images/header.jpg b/assets/images/header.jpg index 1b45ee2..6678dc8 100644 Binary files a/assets/images/header.jpg and b/assets/images/header.jpg differ