MediaWiki:Common.css: Difference between revisions

Content deleted Content added
No edit summary
No edit summary
Line 956:
/* 2. RE-COLOR EXISTING BORDERS (Desktop & Mobile) */
/* We target ALL potential containers and text elements. */
/* We change ONLY the color. If a line exists, it turns dark. */
/* If no line exists (width is 0), nothing appears. No double lines! */
h1,
h2,
.firstHeading,
.mw-first-heading,
.mw-body-header, /* Desktop Container */
.vector-page-titlebar, /* Desktop Container */
.page-heading, /* Mobile Container */
.pre-content, /* Mobile Outer Wrapper */
.section-heading { /* Mobile Sections */
border-bottom-color: #202122 !important;
}
 
/* 2.1 SPECIAL FIX: VECTOR 2022 PAGE TITLE LINE */
/* This specific line is a pseudo-element (::after), not a real border. */
/* We override the background color and increase height to 2px. */
.vector-page-titlebar,::after /* Desktop Container */{
background-color: #202122 !important;
height: 2px !important;
bottom: 0 !important;
left: 0 !important;
right: 0 !important;
content: '' !important; /* Ensure the element exists */
}
 
/* 3. RE-COLOR MOBILE SHADOW LINES (Minerva Fix) */
/* The mobile skin often uses a 'box-shadow' to draw the line. */
/* We change that shadow to your dark color to fix the "Gray Line" issue. */
.skin-minerva .page-heading,
.skin-minerva .section-heading {
Line 979 ⟶ 985:
 
/* 4. CONTENTS SIDEBAR (Desktop) */
/* Force remove the underline from the "Contents" title in the sidebar */
h2.vector-pinnable-header-label {
border-bottom: none !important;
Line 995 ⟶ 1,000:
 
/* 6. FOOTER LINES (Global) */
/* Only put the border on the VERY TOP of the footer container */
#footer,
.mw-footer,
Line 1,004 ⟶ 1,008:
 
/* 7. CLEAN UP MOBILE FOOTER GAPS */
/* Remove stray borders inside the footer that cause extra lines */
.minerva-footer .footer-content,
.minerva-footer .branding-box,
Line 1,014 ⟶ 1,017:
 
/* 8. MOBILE ICONS */
/* Darken the arrow for collapsible sections */
.skin-minerva .section-heading .mw-ui-icon-wikimedia-expand-small {
filter: grayscale(1) brightness(0.2);