MediaWiki:Common.css: Difference between revisions
Content deleted Content added
No edit summary |
No edit summary |
||
Line 213:
}
/* --- HEADER ROW (
#cps-toc-header {
/* 1. THE GREY BACKGROUND */
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:
/* Adds space inside the grey box so text isn't crushed */
/* 4. SEPARATION FROM LIST */
/* Pushes the clickable links down */
/* 5. BOTTOM BORDER (Subtle separator) */
}
/* --- TITLE
#cps-toc-title,
#cps-toc-panel h2 {
/* Remove all default margins so it sits perfectly in our grey box */
▲ display: block !important;
▲ padding: 0 !important;
/* Text alignment */
text-align: center !important;
▲ font-weight: 700 !important;
font-family: sans-serif !important;
▲ color: #000 !important;
▲ font-size: 18px !important;
▲ border-bottom: 2px solid #000 !important;
▲ /* 3. SPACING */
▲ padding-bottom: 12px !important;
▲ margin-bottom: 15px !important;
▲ 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 */
}
| |||