MediaWiki:Common.css: Difference between revisions

From WikiMedia i11

No edit summary
No edit summary
Line 2: Line 2:


/* 1. Sidebar Navigation Links (Normal and Hover states) */
/* 1. Sidebar Navigation Links (Normal and Hover states) */
#mw-navigation .p-navigation a,  
/* --- Force Sidebar Links to Purple --- */
#mw-navigation .p-tb a,
 
#mw-navigation .p-cactions a,
/* Targets the sidebar links and the user menu links */
#mw-navigation .p-personal a {
.medik-sidebar a,
#mw-navigation a,
.nav-link,
.sidebar-inner a {
    color: #7D4698 !important;
}
 
/* Specifically targets the 'text-muted' icons/text Medik uses in menus */
.medik-sidebar .text-muted,
#mw-navigation .text-muted {
     color: #7D4698 !important;
     color: #7D4698 !important;
}
}


#mw-navigation a:hover {
/* Hover state for all sidebar links */
     color: #66397c !important; /* Slightly darker purple on hover */
.medik-sidebar a:hover,
#mw-navigation a:hover,
.nav-link:hover {
     color: #66397c !important;
     text-decoration: underline !important;
     text-decoration: underline !important;
}
/* If you have a 'Tools' or 'Navigation' header, this colors them too */
.medik-sidebar-section-title,
#mw-navigation h3 {
    color: #7D4698 !important;
    font-weight: bold;
}
}



Revision as of 23:31, 15 January 2026

/* --- Medik: Purple Navigation & Dark Footer --- */

/* 1. Sidebar Navigation Links (Normal and Hover states) */
/* --- Force Sidebar Links to Purple --- */

/* Targets the sidebar links and the user menu links */
.medik-sidebar a,
#mw-navigation a,
.nav-link,
.sidebar-inner a {
    color: #7D4698 !important;
}

/* Specifically targets the 'text-muted' icons/text Medik uses in menus */
.medik-sidebar .text-muted,
#mw-navigation .text-muted {
    color: #7D4698 !important;
}

/* Hover state for all sidebar links */
.medik-sidebar a:hover,
#mw-navigation a:hover,
.nav-link:hover {
    color: #66397c !important;
    text-decoration: underline !important;
}

/* If you have a 'Tools' or 'Navigation' header, this colors them too */
.medik-sidebar-section-title,
#mw-navigation h3 {
    color: #7D4698 !important;
    font-weight: bold;
}

/* 2. Footer Styling (Purple Background) */
#footer {
    background-color: #7D4698 !important;
    color: #ffffff !important; /* Makes base text white */
    padding: 2rem 1rem !important; /* Adds some breathing room */
    margin-top: 2rem;
}

/* 3. Footer Links (White) */
#footer a {
    color: #ffffff !important;
    text-decoration: underline;
}

#footer a:hover {
    color: #e2d1e9 !important; /* Light lavender on hover for visibility */
}

/* 4. Fix for Footer Icons (Copyright/Powered by) */
/* This ensures the text next to icons is readable */
.footer-places li {
    color: #ffffff !important;
}