MediaWiki:Common.css: Difference between revisions
Content deleted Content added
No edit summary Tag: Manual revert |
No edit summary |
||
Line 1:
/* ===== Final Fix: Remove top empty space in Vector 2022 header ===== */
/* Special:Version collapsible section toggle styling */
.mw-collapsible-toggle {
background: #f8f9fa;
border: 1px solid #a2a9b1;
padding: 8px;
cursor: pointer;
font-weight: bold;
margin-bottom: 5px;
text-align: center;
border-radius: 4px;
}
.mw-collapsible-content {
padding: 5px;
}
/* Remove unwanted padding in Vector 2022 */
Line 40 ⟶ 55:
display: none !important;
}
/* Enable collapsible extensions section on Special:Version
mw.loader.using(['jquery', 'jquery.makeCollapsible'], function () {
$(function () {
if (mw.config.get('wgCanonicalSpecialPageName') === 'Version') {
var $extSection = $('#mw-version-ext');
if ($extSection.length) {
$extSection.addClass('mw-collapsible mw-collapsed');
$extSection.pr
|