MediaWiki:Common.css: Difference between revisions

Content deleted Content added
No edit summary
Tags: Mobile edit Mobile web edit
No edit summary
Line 942:
/* ======================================================= */
 
/* 1. TEXT COLORS (NoHeadings borders& here to avoid duplicationTitles) */
h1, h2, h3, h4, h5, h6,
.firstHeading,
Line 954:
}
 
/* 2. PAGE TITLE LINE (DesktopSingle &Line MobileLogic) */
/* We target the specific containers that ALREADY have the line and just update the color */
 
/* DesktopApply (Vectorthe 2022):dark Targetline to the headerCONTAINER containeronly (Desktop & Mobile) */
.vector-page-titlebar, /* Desktop Container */
.mw-body-header, { /* Desktop Alternative */
.skin-minerva .page-heading, {/* Mobile Container */
.section-heading { /* Mobile Section Headers */
border-bottom: 1px solid #202122 !important;
}
 
/* SAFETY: Force remove border from the TEXT element to prevent double lines */
/* Mobile (Minerva): Target the heading wrapper */
h1,
.skin-minerva .page-heading {
border-bottom: 1px solid #202122 !important;
 
/* SAFETY: Ensure the inner text element NEVER has a border (Prevents double lines) */
h1.firstHeading,
.mw-body h1,
.vector-page-titlebar h1,
.skin-minerva .page-heading h1 {
border-bottom: none !important;
padding-bottom: 0 !important;
margin-bottom: 0 !important;
}
 
/* 3. SECTIONCONTENTS HEADINGSSIDEBAR (GlobalDesktop) */
/* Update the existing line under standard H2 section headings */
.mw-body h2,
.section-heading {
border-bottom: 1px solid #202122 !important;
}
 
/* 4. CONTENTS SIDEBAR (Desktop) */
/* Remove the underline from the "Contents" title in the sidebar */
h2.vector-pinnable-header-label {
border-bottom: none !important;
 
/* 4. SECTION HEADINGS (Standard H2) */
.mw-body h2, {
border-bottom: 1px solid #202122 !important;
}
 
Line 1,008 ⟶ 1,006:
 
/* 7. CLEAN UP MOBILE FOOTER GAPS */
/* Remove any stray borders inside the footer that cause extra lines */
.minerva-footer .footer-content,
.minerva-footer .branding-box,