MediaWiki:Common.css: Difference between revisions
No edit summary |
No edit summary |
||
| Line 53: | Line 53: | ||
flex-wrap: wrap !important; | flex-wrap: wrap !important; | ||
gap: 24px !important; | gap: 24px !important; | ||
padding: | padding: 20px 25px !important; | ||
} | } | ||
| Line 59: | Line 59: | ||
flex: 1 1 280px !important; | flex: 1 1 280px !important; | ||
min-width: 260px !important; | min-width: 260px !important; | ||
max-width: | } | ||
/* 3 columns on desktop */ | |||
@media (min-width: 1024px) { | |||
.column { | |||
flex: 1 1 calc(33% - 16px) !important; | |||
max-width: calc(33% - 16px) !important; | |||
} | |||
} | |||
/* 2 columns on tablet */ | |||
@media (min-width: 600px) and (max-width: 1023px) { | |||
.column { | |||
flex: 1 1 calc(50% - 12px) !important; | |||
max-width: calc(50% - 12px) !important; | |||
} | |||
} | |||
/* 1 column on mobile */ | |||
@media (max-width: 599px) { | |||
.row { | |||
flex-direction: column !important; | |||
gap: 16px !important; | |||
padding: 16px 12px !important; | |||
} | |||
.column { | |||
width: 100% !important; | |||
max-width: 100% !important; | |||
} | |||
} | } | ||
| Line 74: | Line 102: | ||
object-fit: cover !important; | object-fit: cover !important; | ||
display: block !important; | display: block !important; | ||
} | |||
@media (max-width: 599px) { | |||
.fakeimg, | |||
.fakeimg img, | |||
.fakeimg a img { | |||
height: 160px !important; | |||
} | |||
} | } | ||
.cha-cont { | .cha-cont { | ||
padding: 16px !important; | padding: 16px !important; | ||
display: flex !important; | |||
flex-direction: column !important; | |||
} | } | ||
| Line 87: | Line 125: | ||
display: block !important; | display: block !important; | ||
margin-bottom: 6px !important; | margin-bottom: 6px !important; | ||
border: none !important; | |||
background: none !important; | |||
padding: 0 !important; | |||
} | |||
.cha-title-2 { | |||
font-size: 11px !important; | |||
color: #888 !important; | |||
} | } | ||
.cha-cont h2 { | .cha-cont h2 { | ||
font-size: 16px !important; | font-size: 16px !important; | ||
margin: 0 0 | margin: 0 0 12px 0 !important; | ||
color: #1a1a2e !important; | color: #1a1a2e !important; | ||
line-height: 1.4 !important; | line-height: 1.4 !important; | ||
border: none !important; | border: none !important; | ||
flex-grow: 1 !important; | |||
} | } | ||
/* ===== BUTTONS ===== */ | /* ===== BUTTONS ===== */ | ||
.btn-grp { margin-top: | .btn-grp { | ||
margin-top: auto !important; | |||
padding-top: 8px !important; | |||
} | |||
.btn-grp-2 { | |||
margin-top: auto !important; | |||
} | |||
.btn { | .btn { | ||
| Line 108: | Line 162: | ||
cursor: pointer !important; | cursor: pointer !important; | ||
text-decoration: none !important; | text-decoration: none !important; | ||
border: none !important; | |||
} | } | ||
| Line 113: | Line 168: | ||
background-color: #2e7d32 !important; | background-color: #2e7d32 !important; | ||
color: #fff !important; | color: #fff !important; | ||
display: inline-block !important; | |||
} | } | ||
| Line 121: | Line 177: | ||
} | } | ||
.btn-2:hover { background-color: #1b5e20 !important; } | .btn-2:hover { | ||
background-color: #1b5e20 !important; | |||
} | |||
.ch-btn { | |||
display: block !important; | |||
text-align: center !important; | |||
width: 100% !important; | |||
box-sizing: border-box !important; | |||
} | |||
@media (max-width: 599px) { | |||
.btn { | |||
display: block !important; | |||
text-align: center !important; | |||
width: 100% !important; | |||
box-sizing: border-box !important; | |||
} | |||
} | |||
/* ===== HERO IMAGE ===== */ | /* ===== HERO IMAGE ===== */ | ||
| Line 136: | Line 210: | ||
object-fit: cover !important; | object-fit: cover !important; | ||
display: block !important; | display: block !important; | ||
} | |||
@media (max-width: 599px) { | |||
.hero-img, | |||
.hero-img img, | |||
.hero-img a img { | |||
max-height: 200px !important; | |||
} | |||
} | } | ||
/* ===== BANNER ===== */ | /* ===== BANNER ===== */ | ||
.banner-cont { | .banner-cont { | ||
background: # | background: #fff !important; | ||
padding: 35px 25px !important; | |||
} | } | ||
| Line 151: | Line 231: | ||
color: #333 !important; | color: #333 !important; | ||
margin: 0 !important; | margin: 0 !important; | ||
} | |||
@media (max-width: 599px) { | |||
.banner-cont { | |||
padding: 20px 16px !important; | |||
} | |||
.banner-cont p { | |||
font-size: 14px !important; | |||
} | |||
} | |||
/* ===== PAGE TITLE ===== */ | |||
.title h1 { | |||
font-size: 32px !important; | |||
margin: 20px 25px !important; | |||
color: #1a1a2e !important; | |||
border-bottom: 2px solid #2e7d32 !important; | |||
padding-bottom: 12px !important; | |||
} | |||
@media (max-width: 599px) { | |||
.title h1 { | |||
font-size: 24px !important; | |||
margin: 16px 12px !important; | |||
padding-bottom: 10px !important; | |||
} | |||
} | } | ||
| Line 157: | Line 263: | ||
font-size: 22px !important; | font-size: 22px !important; | ||
color: #1a1a2e !important; | color: #1a1a2e !important; | ||
margin: 24px 0 8px !important; | margin: 24px 0 8px 0 !important; | ||
padding: 0 25px !important; | |||
padding-bottom: 8px !important; | padding-bottom: 8px !important; | ||
border-bottom: 2px solid #2e7d32 !important; | border-bottom: 2px solid #2e7d32 !important; | ||
} | } | ||
@media (max-width: 599px) { | |||
@media (max-width: | .ch-title { | ||
. | font-size: 18px !important; | ||
margin: 16px 0 8px 0 !important; | |||
padding: 0 12px !important; | |||
} | } | ||
} | } | ||
/* ===== FORCE WIDE MODE & HIDE APPEARANCE PANEL ===== */ | /* ===== FORCE WIDE MODE & HIDE APPEARANCE PANEL ===== */ | ||
.skin-vector-2022 .vector-settings, | .skin-vector-2022 .vector-settings, | ||
| Line 196: | Line 283: | ||
} | } | ||
/* ===== MOBILE-SPECIFIC OVERRIDES ===== */ | |||
@media (max-width: 599px) { | |||
} | .card { | ||
border-radius: 8px !important; | |||
} | |||
. | .card:hover { | ||
transform: translateY(-2px) !important; | |||
} | |||
} | |||
.cha-cont h2 { | |||
font-size: 15px !important; | |||
. | |||
} | } | ||
.btn { | |||
padding: 10px 16px !important; | |||
. | font-size: 12px !important; | ||
} | } | ||
} | } | ||