MediaWiki:Common.css: Difference between revisions
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
/* ===== | /* ===== FULL WIDTH ===== */ | ||
.skin-vector-2022 .mw-page-container { | .skin-vector-2022 .mw-page-container { | ||
max-width: none !important; | max-width: none !important; | ||
} | } | ||
.skin-vector-2022 .mw-content-container, | |||
.skin-vector-2022 #mw-content-container { | .skin-vector-2022 #mw-content-container { | ||
max-width: none !important; | max-width: none !important; | ||
} | } | ||
/* ===== HIDE APPEARANCE PANEL ===== */ | |||
.skin-vector-2022 .mw-portlet-appearance { | |||
display: none !important; | |||
/* ===== | |||
} | } | ||
| Line 56: | Line 24: | ||
display: flex; | display: flex; | ||
flex-direction: column; | flex-direction: column; | ||
} | } | ||
| Line 72: | Line 36: | ||
gap: 24px !important; | gap: 24px !important; | ||
padding: 20px 25px !important; | padding: 20px 25px !important; | ||
box-sizing: border-box !important; | box-sizing: border-box !important; | ||
} | } | ||
| Line 79: | Line 42: | ||
flex: 1 1 280px !important; | flex: 1 1 280px !important; | ||
min-width: 260px !important; | min-width: 260px !important; | ||
max-width: calc(33.333% - 16px) !important; | |||
} | } | ||
| Line 123: | Line 57: | ||
object-fit: cover !important; | object-fit: cover !important; | ||
display: block !important; | display: block !important; | ||
} | } | ||
| Line 150: | Line 76: | ||
background: none !important; | background: none !important; | ||
padding: 0 !important; | padding: 0 !important; | ||
} | } | ||
| Line 170: | Line 91: | ||
margin-top: auto !important; | margin-top: auto !important; | ||
padding-top: 8px !important; | padding-top: 8px !important; | ||
} | } | ||
| Line 196: | Line 101: | ||
box-sizing: border-box !important; | box-sizing: border-box !important; | ||
padding: 10px 18px !important; | padding: 10px 18px !important; | ||
border-radius: 5px !important; | |||
font-size: 13px !important; | |||
font-weight: 600 !important; | |||
text-decoration: none !important; | |||
} | } | ||
| Line 206: | Line 115: | ||
.btn-2:hover { | .btn-2:hover { | ||
background-color: #1b5e20 !important; | background-color: #1b5e20 !important; | ||
} | } | ||
| Line 228: | Line 130: | ||
object-fit: cover !important; | object-fit: cover !important; | ||
display: block !important; | display: block !important; | ||
} | } | ||
| Line 242: | Line 136: | ||
background: #fff !important; | background: #fff !important; | ||
padding: 35px 25px !important; | padding: 35px 25px !important; | ||
box-sizing: border-box !important; | box-sizing: border-box !important; | ||
} | } | ||
| Line 253: | Line 146: | ||
} | } | ||
/* ===== TITLES ===== */ | |||
/* ===== | |||
.title h1 { | .title h1 { | ||
font-size: 32px !important; | font-size: 32px !important; | ||
| Line 275: | Line 155: | ||
} | } | ||
.ch-title { | .ch-title { | ||
font-size: 22px !important; | font-size: 22px !important; | ||
color: #1a1a2e !important; | color: #1a1a2e !important; | ||
margin: 24px | margin: 24px 25px 8px !important; | ||
padding-bottom: 8px !important; | padding-bottom: 8px !important; | ||
border-bottom: 2px solid #2e7d32 !important; | border-bottom: 2px solid #2e7d32 !important; | ||
} | } | ||
/* ===== HIDE EDIT SECTION LINKS ===== */ | |||
/* ===== HIDE | |||
.mw-editsection { | .mw-editsection { | ||
display: none !important; | display: none !important; | ||
} | } | ||
/* ===== GOOGLE TRANSLATE ===== */ | |||
/* | |||
#google-translate-sidebar { | #google-translate-sidebar { | ||
padding: 8px 5px !important; | padding: 8px 5px !important; | ||
| Line 348: | Line 179: | ||
border: 1px solid #ddd !important; | border: 1px solid #ddd !important; | ||
font-size: 12px !important; | font-size: 12px !important; | ||
} | } | ||
.goog-te-banner-frame { | .goog-te-banner-frame { | ||
display: none !important; | display: none !important; | ||
| Line 364: | Line 187: | ||
body { | body { | ||
top: 0 !important; | 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; | ||
} | |||
} | |||
. | |||
} | } | ||