MediaWiki:Common.css: Difference between revisions
Content deleted Content added
No edit summary |
No edit summary |
||
Line 213:
}
/* ---
/* We remove all spacing/color from the wrapper so it disappears */
#cps-toc-header {
/* 1. THE GREY BACKGROUND */▼
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 */▼
padding-top: 20px !important;▼
padding-bottom: 20px !important;▼
margin-bottom: 15px !important;▼
border-bottom: 1px solid #eaecf0 !important;▼
display: block !important;▼
▲ width: auto !important;
}
/* --- 2. STYLE THE TITLE TEXT
/* We target the h2 directly so the color sticks to the text */
#cps-toc-title,▼
#cps-toc-panel
▲ margin: 0 !important;
/*
▲ /*
▲ margin-left: -15px !important;
▲ margin-right: -15px !important;
margin-top: -15px !important; /* Pulls it to the very top */
▲ 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 */▼
▲ font-weight: bold !important;
}
| |||