style 調整調整圖片說明列
This commit is contained in:
@@ -152,3 +152,64 @@ section.archive-block p:last-child {
|
||||
text-align: center;
|
||||
margin-top: 8px;
|
||||
}
|
||||
|
||||
/* ---------- 首頁 home-page:閱讀寬度與字級(弱化對 vw 的依賴) ---------- */
|
||||
|
||||
/* 用 px 鎖上限,避免 72rem 隨根字級/無障礙字級變大(例如實測出 ~1390px) */
|
||||
.home-page .container {
|
||||
max-width: min(1200px, calc(100% - 2rem));
|
||||
width: 100%;
|
||||
margin-inline: auto;
|
||||
padding: 2.5rem 1.25rem;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
.home-page #start .intro-text {
|
||||
max-width: 42rem;
|
||||
margin-inline: auto;
|
||||
}
|
||||
|
||||
.home-page #start .intro-text p.intro-text,
|
||||
.home-page #start .core-description,
|
||||
.home-page #start .call-to-action {
|
||||
font-size: 1.0625rem;
|
||||
line-height: 1.75;
|
||||
color: #4a4a4a;
|
||||
margin: 0 0 1.125rem;
|
||||
}
|
||||
|
||||
.home-page #start .intro-text p:last-child {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.home-page #story > p.intro-text {
|
||||
max-width: 44rem;
|
||||
margin-inline: auto;
|
||||
margin-bottom: 1.25rem;
|
||||
font-size: 1.0625rem;
|
||||
line-height: 1.75;
|
||||
color: #4a4a4a;
|
||||
}
|
||||
|
||||
.home-page .merged-storyline .story-node p {
|
||||
font-size: 1rem;
|
||||
line-height: 1.75;
|
||||
}
|
||||
|
||||
.home-page .merged-storyline .story-node h3 {
|
||||
font-size: 1.0625rem;
|
||||
}
|
||||
|
||||
@media (max-width: 640px) {
|
||||
|
||||
.home-page .container {
|
||||
padding: 1.75rem 1rem;
|
||||
}
|
||||
|
||||
.home-page #start .intro-text p.intro-text,
|
||||
.home-page #start .core-description,
|
||||
.home-page #start .call-to-action,
|
||||
.home-page #story > p.intro-text {
|
||||
font-size: 1rem;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user