MediaWiki:Common.css: Difference between revisions
Content deleted Content added
No edit summary |
No edit summary Tags: Mobile edit Mobile web edit |
||
Line 939:
/* ======================================================= */
/* GLOBAL BRANDING:
/* ======================================================= */
/* 1. TEXT COLORS
h1, h2, h3, h4, h5, h6,
.firstHeading,
Line 954:
}
/* 2.
/* We target the specific containers that ALREADY have the line and just update the color */
.mw-body-header,▼
.vector-page-titlebar {▼
/* Desktop (Vector 2022): Target the header container */
border-bottom: 1px solid #202122 !important;
}▼
.mw-body-header h1,▼
border-bottom: none !important;▼
}
/* Mobile (Minerva): Target the heading wrapper */
/* 3. DESKTOP TOC FIX: Remove underline from "Contents" title */▼
h2.vector-pinnable-header-label {▼
▲.skin-minerva .pre-content .page-heading {
border-bottom: 1px solid #202122 !important;
}
/* SAFETY: Ensure the inner text element NEVER has a border (Prevents double lines) */
.skin-minerva .pre-content .page-heading h1,▼
border-bottom: none !important;
}
/*
/* Update the existing line under standard H2 section headings */
.mw-body h2,
.section-heading {
Line 998 ⟶ 982:
}
/*
▲h2.vector-pinnable-header-label {
▲ border-bottom: none !important;
▲}
/* 5. HORIZONTAL RULES (----) */
hr,
.mw-body hr,
Line 1,008 ⟶ 998:
}
/*
/* Only put the border on the VERY TOP of the footer container */
#footer,
.mw-footer,
Line 1,015 ⟶ 1,006:
border-top: 1px solid #202122 !important;
}
/*
/* Remove any stray borders inside the footer that cause extra lines */
.minerva-footer .footer-content,
.minerva-footer .branding-box,
Line 1,025 ⟶ 1,018:
/* 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);
| |||