Jump to content

MediaWiki:Common.css: Difference between revisions

From Transight Wiki
No edit summary
No edit summary
Line 1: Line 1:
/* Change background color of sidebar (vector menu panel) */
/* Sidebar panel background (Vector 2022 and legacy support) */
body.page-Main_Page .mw-sidebar,
body.page-Main_Page #mw-panel,
body.page-Main_Page .vector-menu-sidebar,
body.page-Main_Page .vector-sidebar-container,
body.page-Main_Page .vector-toc,
body.page-Main_Page .vector-sidebar {
body.page-Main_Page #mw-panel {
    background-color: #800020 !important;
}
 
/* Sidebar menu headings and content text */
body.page-Main_Page #mw-panel .portal,
body.page-Main_Page #mw-panel .vector-menu-content,
body.page-Main_Page .vector-sidebar .vector-menu-heading,
body.page-Main_Page .vector-sidebar .vector-menu-content {
     background-color: #800020 !important;
     background-color: #800020 !important;
     color: white !important;
     color: white !important;
}
}


/* Change sidebar link text color */
/* Sidebar links */
body.page-Main_Page #mw-panel a {
body.page-Main_Page #mw-panel a,
     color: #ffffff !important;
body.page-Main_Page .vector-sidebar a {
     color: white !important;
}
}


/* Change sidebar link on hover */
/* Hover effects for sidebar links */
body.page-Main_Page #mw-panel a:hover {
body.page-Main_Page #mw-panel a:hover,
body.page-Main_Page .vector-sidebar a:hover {
     color: #ffcccc !important;
     color: #ffcccc !important;
     text-decoration: underline;
     text-decoration: underline;
}
/* Optional: style inactive or greyed-out links */
body.page-Main_Page #mw-panel .new {
    color: #f4c2c2 !important;
}
}

Revision as of 09:45, 19 June 2025

/* Sidebar panel background (Vector 2022 and legacy support) */
body.page-Main_Page #mw-panel,
body.page-Main_Page .vector-sidebar-container,
body.page-Main_Page .vector-sidebar {
    background-color: #800020 !important;
}

/* Sidebar menu headings and content text */
body.page-Main_Page #mw-panel .portal,
body.page-Main_Page #mw-panel .vector-menu-content,
body.page-Main_Page .vector-sidebar .vector-menu-heading,
body.page-Main_Page .vector-sidebar .vector-menu-content {
    background-color: #800020 !important;
    color: white !important;
}

/* Sidebar links */
body.page-Main_Page #mw-panel a,
body.page-Main_Page .vector-sidebar a {
    color: white !important;
}

/* Hover effects for sidebar links */
body.page-Main_Page #mw-panel a:hover,
body.page-Main_Page .vector-sidebar a:hover {
    color: #ffcccc !important;
    text-decoration: underline;
}