MediaWiki:Common.css: Difference between revisions

Content deleted Content added
No edit summary
No edit summary
Line 213:
}
 
/* --- HEADER ROW (TheBackground TitleBlock) --- */
#cps-toc-header {
/* 1. THE GREY BACKGROUND */
/* RESET: Remove flex and borders from the container to avoid positioning errors */
displaybackground-color: block#F8F9FA !important;
border: none !important;
/* 2. FULL WIDTH TRICK */
padding: 0 !important;
/* The parent panel has 15px padding. We pull the header -15px to touch the edges */
margin-top: 0-15px !important;
margin-bottomleft: -15px !important;
margin-topright: 0-15px !important;
/* 3. INTERNAL SPACING */
/* Adds space inside the grey box so text isn't crushed */
padding-top: 5px20px !important;
padding-bottom: 12px20px !important;
/* 4. SEPARATION FROM LIST */
/* Pushes the clickable links down */
fontmargin-sizebottom: 18px15px !important;
/* 5. BOTTOM BORDER (Subtle separator) */
border-bottom: 2px1px solid #000eaecf0 !important;
/* CursorLayout fixreset */
display: block !important;
borderwidth: noneauto !important;
}
 
/* --- TITLE STYLINGTEXT (Bold &STYLING Clear)--- */
#cps-toc-title,
#cps-toc-panel h2 {
/* Remove all default margins so it sits perfectly in our grey box */
display: block !important;
widthmargin: 100%0 !important;
padding: 0 !important;
/* Text alignment */
text-align: center !important;
color: #000202122 !important;
font-weightsize: 70018px !important;
/* 1. FORCE BOLD (Using numeric 700 + sans-serif to override skin defaults) */
font-weight: 700 !important;
font-family: sans-serif !important;
color: #000 !important;
font-size: 18px !important;
/* 2. THE BLACK LINE (Attached to the bottom of the text) */
border-bottom: 2px solid #000 !important;
/* 3. SPACING */
/* Padding-bottom moves the line away from the text */
padding-bottom: 12px !important;
/* Margin-bottom pushes the list away from the line */
margin-bottom: 15px !important;
/* Reset top margin to prevent "floating" look */
margin-top: 0 !important;
padding-top: 5px !important;
/* We try bold one last time, but if it fails, the grey box still does the job */
/* Cursor fix */
cursorfont-weight: defaultbold !important;
}