MediaWiki:Common.css: Difference between revisions

From WikiMedia i11

No edit summary
Tag: Reverted
Blanked the page
Tags: Blanking Manual revert
Line 1: Line 1:
/* Only target links inside the actual article content to avoid breaking UI */
#mw-content-text a:not(.new),
.mw-parser-output a:not(.new) {
    color: #7D4698 !important;
}


/* Sidebar Links - Excluding dropdown toggles */
.medik-sidebar a:not(.dropdown-toggle),
.sidebar-inner a:not(.dropdown-toggle) {
    color: #7D4698 !important;
}
/* Top Navigation - Target the text, not the container functionality */
#mw-navigation .nav-link:not(.dropdown-toggle) {
    color: #7D4698 !important;
}
/* Fix for the Dropdown Arrows/Toggles */
/* This ensures the 'arrow' stays visible and doesn't get overwritten */
.dropdown-toggle::after {
    color: #7D4698 !important;
    vertical-align: middle !important;
}
/* Ensure the dropdown menu itself stays clickable and visible */
.dropdown-menu {
    border-top: 3px solid #7D4698 !important;
    z-index: 9999 !important;
}
.dropdown-item:hover {
    background-color: #f9f5fa !important;
    color: #7D4698 !important;
}
/* --- 2. TABS & BUTTONS (Restricted) --- */
/* Target active tabs specifically so we don't break the click state */
.nav-tabs .nav-item.show .nav-link,
.nav-tabs .nav-link.active {
    color: #7D4698 !important;
    border-bottom: 2px solid #7D4698 !important;
}

Revision as of 14:44, 16 January 2026