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: HEADINGS,RE-COLOR TITLES &EXISTING LINES ONLY */
/* ======================================================= */
 
/* 1. TEXT COLORS: Standard(No headings,borders mainhere titles,to andavoid sticky headerduplication) */
h1, h2, h3, h4, h5, h6,
.firstHeading,
Line 954:
}
 
/* 2. DESKTOPPAGE FIXTITLE LINE (VectorDesktop 2022& Mobile): Page Title Line */
/* 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 */
.vector-page-titlebar {,
.mw-body-header, {
border-bottom: 1px solid #202122 !important;
/* Remove border from the inner H1 to prevent double lines */
.mw-body-header h1,
.vector-page-titlebar h1,
h1.firstHeading {
border-bottom: none !important;
}
 
/* Mobile (Minerva): Target the heading wrapper */
/* 3. DESKTOP TOC FIX: Remove underline from "Contents" title */
.skin-minerva .pre-content .page-heading {
h2.vector-pinnable-header-label {
border-bottom: none !important;
}
 
/* 4. MOBILE FIX (Minerva): Page Title Double Line */
/* Apply the single dark border to the outer wrapper only */
.skin-minerva .pre-content .page-heading {
border-bottom: 1px solid #202122 !important;
padding-bottom: 8px !important;
margin-bottom: 0 !important;
}
 
/* REMOVE borders from the inner H1 and Page Actions to stop extra lines */
/* SAFETY: Ensure the inner text element NEVER has a border (Prevents double lines) */
.skin-minerva .pre-content .page-heading h1,
.skin-minerva .pre-content .page-heading h1.firstHeading,
.mw-body-header h1,
.skin-minerva .firstHeading {
.skin-minerva .pre-content .page-heading h1, {
border-bottom: none !important;
box-shadow: none !important;
padding-bottom: 0 !important;
margin-bottom: 0 !important;
}
.skin-minerva .page-actions-menu {
border-top: none !important;
margin-top: 10px;
}
 
/* 53. SECTION HEADINGS (Global) */
/* Update the existing line under standard H2 section headings */
.mw-body h2,
.section-heading {
Line 998 ⟶ 982:
}
 
/* 64. HORIZONTALCONTENTS RULESSIDEBAR (----Desktop) */
/* 3. DESKTOP TOC FIX: Remove the underline from the "Contents" title in the sidebar */
h2.vector-pinnable-header-label {
border-bottom: none !important;
 
/* 5. HORIZONTAL RULES (----) */
hr,
.mw-body hr,
Line 1,008 ⟶ 998:
}
 
/* 76. FOOTER LINES (Global) */
/* 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;
}
 
/* REMOVE7. EXTRACLEAN UP MOBILE FOOTER LINESGAPS */
/* 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);