MediaWiki:Common.css: Difference between revisions

Content deleted Content added
No edit summary
No edit summary
Tag: Manual revert
 
(25 intermediate revisions by the same user not shown)
Line 1:
/* ===== Final Fix: Remove excessivetop headerempty space in Vector 2022 and center logoheader ===== */
/* Special:Version collapsible section toggle styling */
 
.mw-collapsible-toggle {
/* Header container space हटाएँ */
background: #f8f9fa;
.vector-header-container {
border: 1px solid #a2a9b1;
padding: 8px;
cursor: pointer;
font-weight: bold;
margin-bottom: 5px;
text-align-items: center !important;
border-radius: 4px;
}
.mw-collapsible-content {
padding: 5px;
}
/* Remove unwanted padding in Vector 2022 */
.vector-header-container {
padding-top: 0 !important;
padding-bottom: 0 !important;
Line 8 ⟶ 21:
height: auto !important;
}
.vector-header-logocontainer, .mwvector-logosticky-iconheader {
 
/* Logo container adjustments */
.vector-header-start {
padding-top: 0 !important;
padding-bottom: 0 !important;
display: flex !important;
align-items: center !important;
height: auto !important;
min-height: auto0 !important;
}
/* Logo containerwrapper adjustments */
 
.vector-header-start, .vector-header-logo, .mw-logo-icon {
/* Logo size and perfect centering */
.vector-header-logo, .mw-logo-icon {
width: 100px !important; /* आवश्यक अनुसार बढ़ाएँ: 100, 120, 150 */
height: auto !important;
margin: 0 !important;
padding: 0 !important;
background-sizeheight: containauto !important;
background-repeat: no-repeat !important;
background-position: center center !important;
display: flex !important;
align-items: center !important;
justify-content: center !important;
}
/* Adjust logo image size */
.vector-header-startlogo, .mw-logo-icon {
width: 120px !important; /* Adjust as needed */
background-size: contain !important;
background-repeat: no-repeat !important;
background-position: center center !important;
}
 
/* ===== Old Vector logo size fix ===== */
#p-logo a,
#p-logo a img {
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 .vector-header-wiki-name {
display: flexnone !important;
}