MediaWiki:Common.css: Difference between revisions
Content deleted Content added
No edit summary Tag: Reverted |
No edit summary Tag: Manual revert |
||
(4 intermediate revisions by the same user not shown) | |||
Line 1:
/* ===== Final Fix: Remove top
/* Special:Version collapsible section toggle styling */
.mw-collapsible-toggle {
/* Remove all padding and margin in header */▼
background: #f8f9fa;
.vector-header,▼
border: 1px solid #a2a9b1;
.vector-header-container,▼
text-align: center;
border-radius: 4px;
}
.mw-collapsible-content {
padding: 5px;
}
min-height: 0 !important;
height: auto !important;
}
▲.vector-header-container, .vector-sticky-header {
.vector-header .vector-header-start .mw-logo-wordmark,▼
height: auto !important;
}
/* Logo wrapper adjustments */
margin: 0 !important;
.vector-header-start {▼
padding: 0 !important;
height: auto !important;
display: flex !important;
align-items:
justify-content: center !important;
▲ margin: 0 !important;
▲ height: auto !important;
}
/* Adjust logo image size */
.mw-logo-icon {▼
▲ width: 120px !important; /* Adjust width if needed */
background-size: contain !important;
background-repeat: no-repeat !important;
background-position:
}
▲ display: flex !important;
/* ===== Old Vector logo size fix ===== */
▲ justify-content: center !important;
#p-logo a,
▲ padding: 0 !important;
▲ margin: 0 !important;
max-width: 120px !important;
max-height: 120px !important;
width: auto !important;
height: auto !important;
}
/* Mobile-responsive infobox */
@media only screen and (max-width: 600px) {
.infobox {
width: 100% !important;
float: none !important;
margin: 0 0 1em 0 !important;
}
.infobox th, .infobox td {
padding: 0.3em !important;
}
}
/* ===== Hide site title in Vector 2022 ===== */
.vector-header .vector-header-start .mw-logo-wordmark,
.vector-header .vector-header-start .
display: none !important;
}
|