MediaWiki:Common.css: Difference between revisions
Content deleted Content added
No edit summary Tag: Reverted |
No edit summary Tag: Manual revert |
||
(17 intermediate revisions by the same user not shown) | |||
Line 1:
/* ===== Final Fix:
/* Special:Version collapsible section toggle styling */
.mw-collapsible-toggle {
/* Remove all padding and margins in header */▼
background: #f8f9fa;
.vector-header,▼
border: 1px solid #a2a9b1;
.vector-header-container,▼
padding: 8px;
cursor: pointer;
font-weight: bold;
margin-bottom: 5px;
.mw-logo-icon {▼
}
.mw-collapsible-content {
padding: 5px;
}
height: auto !important;
}
▲.vector-header-container, .vector-sticky-header {
padding-top: 0 !important;
padding-bottom: 0 !important;
height: auto !important;
min-height: 0 !important;
}
/* Logo wrapper adjustments */
margin: 0 !important;
▲.vector-header .vector-header-start .mw-logo-wordmark,
padding: 0 !important;
.vector-header .vector-header-start .vector-header-wiki-name {▼
display: flex !important;
justify-content: center !important;
}
/* Adjust logo image size */
.vector-header-logo, .mw-logo-icon {
width:
background-size: contain !important;
background-repeat: no-repeat !important;
background-position:
▲ display: flex !important;
▲ align-items: flex-start !important; /* KEY: stick to top */
▲ justify-content: center !important;
}
/*
#p-logo a,
▲ display: flex !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 .vector-header-wiki-name {
display: none !important;
}
|