Jump to content

MediaWiki:Common.css: Difference between revisions

From Transight Wiki
No edit summary
No edit summary
Line 1: Line 1:
/* Set border color to burgundy for key sections */
/* Fill main content area with burgundy */
body.page-Main_Page .mw-parser-output,
body.page-Main_Page .mw-parser-output,
body.page-Main_Page #content,
body.page-Main_Page #content,
body.page-Main_Page .vector-body,
body.page-Main_Page .vector-body,
body.page-Main_Page .vector-body .vector-page-titlebar {
body.page-Main_Page .vector-body .vector-page-titlebar {
    background-color: #800020 !important;
     border: 1px solid #800020 !important;
     border: 1px solid #800020 !important;
    color: white !important; /* Optional: make text white for contrast */
}
}


/* Update link hover or divider if needed */
/* Update headings for visibility */
body.page-Main_Page hr,
body.page-Main_Page h1,
body.page-Main_Page .vector-body .device-section {
body.page-Main_Page h2,
     border-color: #800020 !important;
body.page-Main_Page h3 {
     color: #ffffff !important;
}
}


/* Change 'Expand / Collapse All' button border and color */
/* Paragraph and list text */
body.page-Main_Page p,
body.page-Main_Page li {
    color: #f8f8f8 !important;
}
 
/* Update Expand/Collapse button */
body.page-Main_Page .mw-parser-output .mw-collapsible-toggle {
body.page-Main_Page .mw-parser-output .mw-collapsible-toggle {
     border: 2px solid #800020;
     border: 2px solid #ffffff;
     color: #800020;
    background-color: #800020;
     color: #ffffff;
     font-weight: bold;
     font-weight: bold;
}
}


/* Custom logo image */
/* Device list links */
#p-logo a {
body.page-Main_Page a {
     background-image: url("/images/your-logo.png") !important; /* change this to your uploaded logo path */
     color: #ffe6e6; /* Light link color on dark background */
    background-size: contain;
}
     background-repeat: no-repeat;
body.page-Main_Page a:hover {
     color: #ffffff;
}
}


/* Hide default logo text */
/* Optional: box shadow for depth */
#p-logo a > img {
body.page-Main_Page .vector-body {
     opacity: 0;
     box-shadow: 0 0 10px rgba(0,0,0,0.2);
}
}

Revision as of 09:36, 19 June 2025

/* Fill main content area with burgundy */
body.page-Main_Page .mw-parser-output,
body.page-Main_Page #content,
body.page-Main_Page .vector-body,
body.page-Main_Page .vector-body .vector-page-titlebar {
    background-color: #800020 !important;
    border: 1px solid #800020 !important;
    color: white !important; /* Optional: make text white for contrast */
}

/* Update headings for visibility */
body.page-Main_Page h1,
body.page-Main_Page h2,
body.page-Main_Page h3 {
    color: #ffffff !important;
}

/* Paragraph and list text */
body.page-Main_Page p,
body.page-Main_Page li {
    color: #f8f8f8 !important;
}

/* Update Expand/Collapse button */
body.page-Main_Page .mw-parser-output .mw-collapsible-toggle {
    border: 2px solid #ffffff;
    background-color: #800020;
    color: #ffffff;
    font-weight: bold;
}

/* Device list links */
body.page-Main_Page a {
    color: #ffe6e6; /* Light link color on dark background */
}
body.page-Main_Page a:hover {
    color: #ffffff;
}

/* Optional: box shadow for depth */
body.page-Main_Page .vector-body {
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
}