MediaWiki:Common.css: Difference between revisions

Content deleted Content added
No edit summary
No edit summary
Line 213:
}
 
/* --- HEADER1. ROWRESET THE CONTAINER (BackgroundFixes the "part above" Blockissue) --- */
/* We remove all spacing/color from the wrapper so it disappears */
#cps-toc-header {
marginbackground: 0transparent !important;
/* 1. THE GREY BACKGROUND */
background-color padding: #F8F9FA0 !important;
margin-top: -15px0 !important;
width border: autonone !important;
/* 2. FULL WIDTH TRICK */
min-height: 0 !important; /* Ensures it takes no space if empty */
/* The parent panel has 15px padding. We pull the header -15px to touch the edges */
margin-top: -15px !important;
margin-left: -15px !important;
margin-right: -15px !important;
/* 3. INTERNAL SPACING */
/* Adds space inside the grey box so text isn't crushed */
padding-top: 20px !important;
padding-bottom: 20px !important;
/* 4. SEPARATION FROM LIST */
/* Pushes the clickable links down */
margin-bottom: 15px !important;
/* 5. BOTTOM BORDER (Subtle separator) */
border-bottom: 1px solid #eaecf0 !important;
/* Layout reset */
display: block !important;
width: auto !important;
}
 
/* --- 2. STYLE THE TITLE TEXT STYLINGAS THE GREY BLOCK --- */
/* We target the h2 directly so the color sticks to the text */
#cps-toc-title,
#cps-toc-panel h2> {h2,
#cps-toc-title, {
/* Remove all default margins so it sits perfectly in our grey box */
/* 1. THE GREY BACKGROUND COLOR */
margin: 0 !important;
paddingbackground-color: 0#F8F9FA !important;
/* TextFULL alignmentWIDTH TRICK */
/* TheWe parentpull panelthe hastext 15pxelement padding.OUT We pullof the header -15pxpadding to touch the edges */
margin-left: -15px !important;
margin-right: -15px !important;
margin-top: -15px !important; /* Pulls it to the very top */
/* 3.HEIGHT INTERNAL& SPACING */
padding-top: 20px !important;
padding-bottom: 20px !important;
/* Pushes the link list down so it doesn't overlap */
margin-bottom: 15px !important;
/* BORDER SEPARATOR */
border-bottom: 1px solid #eaecf0 !important;
/* TEXT STYLING */
display: block !important;
width: auto !important; /* Let margins control width */
text-align: center !important;
color: #202122 !important;
font-size: 18px !important;
font-family: sans-serif !important;
font-weight: bold !important; /* Tries to force bold */
/* We try bold one last time, but if it fails, the grey box still does the job */
font-weight: bold !important;
}