MediaWiki:Common.css: Difference between revisions
Appearance
No edit summary |
No edit summary |
||
| Line 215: | Line 215: | ||
.skin-vector-2022 #vector-page-tools-pinned-container .mw-portlet-appearance, | .skin-vector-2022 #vector-page-tools-pinned-container .mw-portlet-appearance, | ||
.skin-vector-2022 .vector-appearance { | .skin-vector-2022 .vector-appearance { | ||
display: none !important; | display: none !important; | ||
} | } | ||
Revision as of 09:29, 11 April 2026
/* ===== FULL WIDTH ===== */
.skin-vector-2022 .mw-page-container {
max-width: none !important;
}
.skin-vector-2022 .mw-content-container,
.skin-vector-2022 #mw-content-container {
max-width: none !important;
}
/* ===== HIDE APPEARANCE PANEL ===== */
.skin-vector-2022 .mw-portlet-appearance {
display: none !important;
}
/* ===== CARD LAYOUT ===== */
.card {
background: #fff;
border-radius: 10px;
box-shadow: 0 2px 12px rgba(0,0,0,0.1);
overflow: hidden;
transition: transform 0.2s ease, box-shadow 0.2s ease;
height: 100%;
display: flex;
flex-direction: column;
}
.card:hover {
transform: translateY(-4px);
box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}
.row {
display: flex !important;
flex-wrap: wrap !important;
gap: 24px !important;
padding: 20px 25px !important;
box-sizing: border-box !important;
}
.column {
flex: 1 1 280px !important;
min-width: 260px !important;
max-width: calc(33.333% - 16px) !important;
}
.fakeimg {
overflow: hidden;
height: 220px;
background: #f0f0f0;
}
.fakeimg img,
.fakeimg a img {
width: 100% !important;
height: 220px !important;
object-fit: cover !important;
display: block !important;
}
.cha-cont {
padding: 16px !important;
display: flex !important;
flex-direction: column !important;
flex-grow: 1 !important;
}
.cha-title {
font-size: 11px !important;
color: #888 !important;
text-transform: uppercase !important;
letter-spacing: 0.8px !important;
display: block !important;
margin: 0 0 6px 0 !important;
border: none !important;
background: none !important;
padding: 0 !important;
}
.cha-cont h2 {
font-size: 16px !important;
margin: 0 0 12px 0 !important;
color: #1a1a2e !important;
line-height: 1.4 !important;
border: none !important;
flex-grow: 1 !important;
}
/* ===== BUTTONS ===== */
.btn-grp {
margin-top: auto !important;
padding-top: 8px !important;
}
.btn-2 {
background-color: #2e7d32 !important;
color: #fff !important;
display: block !important;
text-align: center !important;
width: 100% !important;
box-sizing: border-box !important;
padding: 10px 18px !important;
border-radius: 5px !important;
font-size: 13px !important;
font-weight: 600 !important;
text-decoration: none !important;
}
.btn-2 a,
.btn-2 a:visited {
color: #fff !important;
text-decoration: none !important;
}
.btn-2:hover {
background-color: #1b5e20 !important;
}
/* ===== HERO IMAGE ===== */
.hero-img {
width: 100% !important;
max-height: 420px !important;
overflow: hidden !important;
}
.hero-img img,
.hero-img a img {
width: 100% !important;
max-height: 420px !important;
object-fit: cover !important;
display: block !important;
}
/* ===== BANNER ===== */
.banner-cont {
background: #fff !important;
padding: 35px 25px !important;
box-sizing: border-box !important;
}
.banner-cont p {
font-size: 15px !important;
line-height: 1.7 !important;
color: #333 !important;
margin: 0 !important;
}
/* ===== TITLES ===== */
.title h1 {
font-size: 32px !important;
margin: 20px 25px !important;
color: #1a1a2e !important;
border-bottom: 2px solid #2e7d32 !important;
padding-bottom: 12px !important;
}
.ch-title {
font-size: 22px !important;
color: #1a1a2e !important;
margin: 24px 25px 8px !important;
padding-bottom: 8px !important;
border-bottom: 2px solid #2e7d32 !important;
}
/* ===== HIDE EDIT SECTION LINKS ===== */
.mw-editsection {
display: none !important;
}
/* ===== GOOGLE TRANSLATE ===== */
#google-translate-sidebar {
padding: 8px 5px !important;
}
#google_translate_element select {
width: 100% !important;
padding: 4px !important;
border-radius: 4px !important;
border: 1px solid #ddd !important;
font-size: 12px !important;
}
.goog-te-banner-frame {
display: none !important;
}
body {
top: 0 !important;
}
/* ===== MOBILE ===== */
@media (max-width: 768px) {
.column {
max-width: 100% !important;
width: 100% !important;
}
.row {
flex-direction: column !important;
gap: 16px !important;
padding: 16px 12px !important;
}
.fakeimg,
.fakeimg img,
.fakeimg a img {
height: 160px !important;
}
.hero-img,
.hero-img img,
.hero-img a img {
max-height: 200px !important;
}
}
/* Hide appearance panel completely */
.skin-vector-2022 .mw-portlet-appearance,
.skin-vector-2022 #vector-page-tools-pinned-container .mw-portlet-appearance,
.skin-vector-2022 .vector-appearance {
display: none !important;
}