MediaWiki:Common.css: Difference between revisions

Content deleted Content added
No edit summary
No edit summary
Tag: Manual revert
 
(24 intermediate revisions by the same user not shown)
Line 1:
/* ===== Final TestedFix: CSS to removeRemove top-bottom whiteempty space underin Vector 2022 logoheader ===== */
/* Special:Version collapsible section toggle styling */
 
.mw-collapsible-toggle {
/* Remove header extra space */
background: #f8f9fa;
.vector-header, .vector-header-start, .vector-header-container {
border: 1px solid #a2a9b1;
padding: 8px;
cursor: pointer;
font-weight: bold;
margin-bottom: 0 !important5px;
text-align-items: center !important;
border-radius: 4px;
}
.mw-collapsible-content {
padding: 5px;
}
/* Remove unwanted padding in Vector 2022 */
.vector-header-start > a {
padding-top: 0 !important;
padding-bottom: 0 !important;
margin-top: 0 !important;
margin-bottom: 0 !important;
min-height: 0 !important;
height: auto !important;
align-items: center !important;
}
.vector-header-logocontainer, .mwvector-logosticky-iconheader {
 
marginpadding-top: 0 !important;
/* Perfectly center the logo */
displaypadding-bottom: flex0 !important;
.vector-header-logo, .mw-logo-icon {
display: flex !important;
align-items: center !important;
justify-content: center !important;
width: 100px !important; /* आवश्यकता अनुसार 100, 120, 150 */
height: auto !important;
min-height: 100%0 !important;
}
/* Logo wrapper adjustments */
.vector-header-start, .vector-header-logo, .mw-logo-icon {
margin: 0 !important;
padding: 0 !important;
displayheight: flexauto !important;
display: flex !important;
align-items: center !important;
justify-content: center !important;
}
/* Adjust logo image size */
.vector-header-logo, .mw-logo-icon {
width: 120px !important; /* Adjust as needed */
background-size: contain !important;
background-repeat: no-repeat !important;
Line 26 ⟶ 44:
}
 
/* Adjust===== innerOld containerVector forlogo alignmentsize fix ===== */
#p-logo a,
.vector-header-start > a {
#p-logo a img {
display: flex !important;
alignmax-itemswidth: center120px !important;
justifymax-contentheight: center120px !important;
height: 100% !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-containerwiki-name {
display: none !important;
}