MediaWiki:Common.css: Difference between revisions
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
/* | /* Change background color of sidebar (vector menu panel) */ | ||
body.page-Main_Page | body.page-Main_Page .mw-sidebar, | ||
body.page-Main_Page .vector-menu-sidebar, | |||
body.page-Main_Page .vector-toc, | |||
body.page-Main_Page #mw-panel { | |||
body.page-Main_Page | |||
background-color: #800020 !important; | background-color: #800020 !important; | ||
color: white !important; | color: white !important; | ||
} | } | ||
/* | /* Change sidebar link text color */ | ||
body.page-Main_Page | body.page-Main_Page #mw-panel a { | ||
color: #ffffff !important; | color: #ffffff !important; | ||
} | } | ||
/* | /* Change sidebar link on hover */ | ||
body.page-Main_Page | body.page-Main_Page #mw-panel a:hover { | ||
color: #ffcccc !important; | |||
text-decoration: underline; | |||
} | } | ||
/* Optional: | /* Optional: style inactive or greyed-out links */ | ||
body.page-Main_Page | body.page-Main_Page #mw-panel .new { | ||
color: #f4c2c2 !important; | |||
color: # | |||
} | } | ||
Revision as of 09:42, 19 June 2025
/* Change background color of sidebar (vector menu panel) */
body.page-Main_Page .mw-sidebar,
body.page-Main_Page .vector-menu-sidebar,
body.page-Main_Page .vector-toc,
body.page-Main_Page #mw-panel {
background-color: #800020 !important;
color: white !important;
}
/* Change sidebar link text color */
body.page-Main_Page #mw-panel a {
color: #ffffff !important;
}
/* Change sidebar link on hover */
body.page-Main_Page #mw-panel a:hover {
color: #ffcccc !important;
text-decoration: underline;
}
/* Optional: style inactive or greyed-out links */
body.page-Main_Page #mw-panel .new {
color: #f4c2c2 !important;
}