MediaWiki:Common.css: Difference between revisions

Content deleted Content added
No edit summary
No edit summary
Line 954:
}
 
/* 2. PAGERE-COLOR TITLEEXISTING LINEBORDERS (SingleDesktop Line& LogicMobile) */
/* We target ALL potential containers and text elements. */
 
/* ApplyWe thechange darkONLY linethe tocolor. theIf CONTAINERa onlyline (Desktopexists, &it Mobile)turns dark. */
/* If no line exists (width is 0), nothing appears. No double lines! */
.vector-page-titlebar, /* Desktop Container */
h1,
.mw-body-header, /* Desktop Alternative */
h2,
.skin-minerva .page-heading, /* Mobile Container */
h1.firstHeading,
.section-heading { /* Mobile Section Headers */
.mw-first-heading,
border-bottom: 1px solid #202122 !important;
.mw-body-header, /* Desktop AlternativeContainer */
.vector-page-titlebar, /* Desktop Container */
.skin-minerva .page-heading, /* Mobile Container */
.pre-content, /* Mobile Outer Wrapper */
.section-heading { /* Mobile Section HeadersSections */
border-bottom-color: 1px solid #202122 !important;
}
 
/* 3. RE-COLOR MOBILE SHADOW LINES (Minerva Fix) */
/* SAFETY: Force remove border from the TEXT element to prevent double lines */
/* The mobile skin often uses a 'box-shadow' to draw the line. */
h1,
/* We change that shadow to your dark color to fix the "Gray Line" issue. */
h1.firstHeading,
.skin-minerva .page-heading h1 {,
.mw-body h1,
.skin-minerva .section-heading {
.vector-page-titlebar h1,
borderbox-bottomshadow: inset 0 -1px solid0 #202122 !important;
.skin-minerva .page-heading h1 {
border-bottom: none !important;
padding-bottom: 0 !important;
margin-bottom: 0 !important;
}
 
/* 34. CONTENTS SIDEBAR (Desktop) */
/* RemoveForce 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,006 ⟶ 1,004:
 
/* 7. CLEAN UP MOBILE FOOTER GAPS */
/* Remove stray borders inside the footer that cause extra lines */
.minerva-footer .footer-content,
.minerva-footer .branding-box,