MediaWiki:Common.css:修訂間差異
建立基礎頁面 |
建立基礎頁面 |
||
| (未顯示同一使用者於中間所作的 4次修訂) | |||
| 第19行: | 第19行: | ||
box-sizing: border-box; | box-sizing: border-box; | ||
} | } | ||
.infobox-section { | |||
background: #dfe8f5; | |||
color: #202122; | |||
font-weight: bold; | |||
text-align: center; | |||
font-size: 95%; | |||
letter-spacing: 0.02em; | |||
} | |||
.infobox-title-en { | .infobox-title-en { | ||
display: block; | display: block; | ||
| 第439行: | 第449行: | ||
.mp-columns > div { | .mp-columns > div { | ||
flex: 1 1 20em; | flex: 1 1 20em; | ||
} | |||
/* ---------- site logo (banner) ---------- */ | |||
.mw-logo-wordmark { | |||
display: block; | |||
height: 64px !important; | |||
width: auto !important; | |||
max-width: 100%; | |||
} | |||
.mw-logo-container { | |||
max-width: none !important; | |||
} | |||
/* Vector 2022 header: give the bigger logo enough room */ | |||
.vector-header-container .mw-header, | |||
.vector-header-container .vector-sticky-header { | |||
min-height: 76px; | |||
} | |||
/* Minerva (mobile) branding logo */ | |||
.branding-box img { | |||
height: 40px !important; | |||
width: auto !important; | |||
max-width: 100%; | |||
opacity: 1 !important; | |||
} | |||
@media (max-width: 720px) { | |||
.mw-logo-wordmark { | |||
height: 44px !important; | |||
} | |||
.mw-logo-container { | |||
max-width: 100% !important; | |||
} | |||
.branding-box img { | |||
height: 38px !important; | |||
} | |||
} | } | ||
| 第444行: | 第489行: | ||
@media (max-width: 720px) { | @media (max-width: 720px) { | ||
.infobox { | .infobox { | ||
float: none; | float: none !important; | ||
width: 100%; | width: 100% !important; | ||
max-width: 100% !important; | |||
margin: 0.5em 0 1em; | margin: 0.5em 0 1em; | ||
} | |||
.infobox td, | |||
.infobox th, | |||
.infobox caption { | |||
word-break: break-word; | |||
overflow-wrap: break-word; | |||
} | |||
.mainpage-hero { | |||
padding: 1.6em 0.9em 1.5em; | |||
} | } | ||
.mainpage-hero-title { | .mainpage-hero-title { | ||
font-size: 1.9em; | font-size: 1.9em; | ||
line-height: 1.25; | |||
} | |||
.mainpage-hero-sub { | |||
font-size: 1em; | |||
} | |||
.mp-card { | |||
flex: 1 1 100%; | |||
padding: 0.9em 1em; | |||
} | |||
.mp-columns > div { | |||
flex: 1 1 100%; | |||
} | |||
.email-verify-actions { | |||
flex-direction: column; | |||
align-items: stretch; | |||
gap: 0.6em; | |||
} | |||
.email-verify-button { | |||
text-align: center; | |||
} | |||
.mw-parser-output input.mw-ui-input, | |||
.mw-parser-output input[type="text"], | |||
.mw-parser-output input[type="search"], | |||
.mw-parser-output input[type="email"], | |||
.mw-parser-output input[type="password"], | |||
.mw-parser-output textarea { | |||
max-width: 100%; | |||
box-sizing: border-box; | |||
} | } | ||
} | } | ||
/* ---------- automatic line colours for | /* ---------- automatic line colours for [[路線名]] links ---------- */ | ||
.mw-parser-output a[title="金沙綫"]:not(.new), | .mw-parser-output a[title="金沙綫"]:not(.new), | ||
.mw-parser-output a[title="金沙綫"]:visited { | .mw-parser-output a[title="金沙綫"]:visited { | ||