Jump to content

MediaWiki:Common.css: Difference between revisions

From Transight Wiki
No edit summary
No edit summary
Line 1: Line 1:
/* Keep sidebar, header, search bar, and toolbar white */
/* Change background color of sidebar (vector menu panel) */
body.page-Main_Page {
body.page-Main_Page .mw-sidebar,
    background-color: white !important;
body.page-Main_Page .vector-menu-sidebar,
}
body.page-Main_Page .vector-toc,
 
body.page-Main_Page #mw-panel {
/* Apply burgundy background only inside main content area */
body.page-Main_Page .mw-parser-output {
     background-color: #800020 !important;
     background-color: #800020 !important;
    border: 1px solid #800020 !important;
    padding: 20px;
    border-radius: 8px;
     color: white !important;
     color: white !important;
}
}


/* Headings and text color inside the content box */
/* Change sidebar link text color */
body.page-Main_Page .mw-parser-output h1,
body.page-Main_Page #mw-panel a {
body.page-Main_Page .mw-parser-output h2,
body.page-Main_Page .mw-parser-output h3,
body.page-Main_Page .mw-parser-output p,
body.page-Main_Page .mw-parser-output li {
     color: #ffffff !important;
     color: #ffffff !important;
}
}


/* Expand / Collapse button styling */
/* Change sidebar link on hover */
body.page-Main_Page .mw-collapsible-toggle {
body.page-Main_Page #mw-panel a:hover {
     background-color: #ffffff;
     color: #ffcccc !important;
    color: #800020;
     text-decoration: underline;
    border: 2px solid #800020;
     font-weight: bold;
}
}


/* Optional: lighten device list link colors */
/* Optional: style inactive or greyed-out links */
body.page-Main_Page .mw-parser-output a {
body.page-Main_Page #mw-panel .new {
    color: #ffcccc;
     color: #f4c2c2 !important;
}
body.page-Main_Page .mw-parser-output a:hover {
     color: #ffffff;
}
}

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;
}