MediaWiki:Common.css: Difference between revisions

Content deleted Content added
No edit summary
No edit summary
Line 267:
}
#cps-toc-list li { margin: 0; }
 
/* Default Link Styling */
#cps-toc-list a {
display: block; padding: 12px 10px;
Line 275 ⟶ 277:
line-height: 1.4;
}
 
#cps-toc-list a:active {
background: #f0f0f0;
Line 284 ⟶ 287:
#cps-toc-list li[data-level="4"] { padding-left: 30px; }
#cps-toc-list li[data-level="5"] { padding-left: 45px; }
 
/* --- CUSTOM TOC HEADER & ARROWS --- */
 
/* 1. Target "Contents" Header Link (Bold, Orange, Dark Border) */
#cps-toc-list a[href="#mw-toc-heading"] {
font-weight: bold !important;
color: #f07662 !important;
border-bottom: 1px solid #202122 !important;
}
 
/* 2. Add Arrow Symbol (▸) to all Level 2 items */
#cps-toc-list li[data-level="2"] a::before {
content: "▸" !important;
color: #202122 !important;
margin-right: 8px; /* Space between symbol and text */
display: inline-block;
}
 
/* 3. Remove the Arrow from the "Contents" header (it is technically Level 2) */
#cps-toc-list li[data-level="2"] a[href="#mw-toc-heading"]::before {
display: none !important;
content: "" !important;
}
 
/* --- END CUSTOM TOC STYLING --- */
 
 
/* --- REMOVED THE IPAD HIDING RULE HERE --- */
Line 595 ⟶ 624:
z-index: 1001 !important;
left: 10px !important;
right: 10px !important;
width: auto !important;
Line 821 ⟶ 850:
/* Removed font-family line so it inherits the correct system font */
font-size: 0.875em;
font-weight: 700;
line-height: 1.4;
/* Visuals */
Line 887 ⟶ 916:
/* Removed font-family to use system font (Roboto/San Francisco) */
font-size: 0.875rem !important; /* Increased to 14px to match footer links */
font-weight: 700 !important;
line-height: 1.4 !important;
/* Visuals - KEEPING YOUR DARK COLOR */
color: #202122 !important;
/* Layout */