fix: 首頁Hero等比縮放無放大
This commit is contained in:
@@ -43,11 +43,11 @@ body {
|
|||||||
line-height: 1.6;
|
line-height: 1.6;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* 首頁 Hero:滿版 cover(勿用 108%/vw 限高,否則上下留黑) */
|
/* 首頁 Hero:隨寬度 16:9 等比縮放(圖已更新,不需 108% 放大) */
|
||||||
header#origin {
|
header#origin {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100dvh;
|
height: min(56.25vw, 100dvh);
|
||||||
min-height: 100dvh;
|
min-height: 0;
|
||||||
background-image: url('../images/header.jpg');
|
background-image: url('../images/header.jpg');
|
||||||
background-position: center center;
|
background-position: center center;
|
||||||
background-repeat: no-repeat;
|
background-repeat: no-repeat;
|
||||||
|
|||||||
@@ -64,7 +64,7 @@
|
|||||||
gap: clamp(12px, 2vw, 20px);
|
gap: clamp(12px, 2vw, 20px);
|
||||||
}
|
}
|
||||||
|
|
||||||
header {
|
header.inner-page-header {
|
||||||
background-size: cover;
|
background-size: cover;
|
||||||
background-position: center center;
|
background-position: center center;
|
||||||
}
|
}
|
||||||
|
|||||||
Binary file not shown.
|
Before Width: | Height: | Size: 808 KiB After Width: | Height: | Size: 803 KiB |
Reference in New Issue
Block a user