User:Rubyn/vector.css: Difference between revisions

From Paradise 14 Wiki
Jump to navigation Jump to search
imported>Rubyn
Attempting to turn site back to light mode.
 
imported>Rubyn
Now?
Line 1: Line 1:
/* Force light mode colors */
/* FORCE LIGHT MODE ACROSS WIKI */
body,
html, body, #content, .mw-body, .mw-page-base, .mw-footer, #mw-head, #mw-panel {
.mw-body,
#content,
#mw-content-text,
#p-logo,
.mw-wiki-logo {
     background-color: #ffffff !important;
     background-color: #ffffff !important;
     color: #000000 !important;
     color: #000000 !important;
}
}


a {
/* Fix sidebar and header */
     color: #0645ad !important;
#mw-head, #mw-panel, .vector-menu-content, .vector-menu-heading {
     background-color: #f8f8f8 !important;
    color: #000000 !important;
    border-color: #dcdcdc !important;
}
}


a:visited {
/* Reset links */
     color: #0b0080 !important;
a, a:link, a:visited {
     color: #0645ad !important;
    background: transparent !important;
}
}


a:hover {
a:hover, a:active {
     color: #3366cc !important;
     color: #3366cc !important;
}
}


pre,
/* Fix code and preformatted blocks */
code {
pre, code {
     background-color: #f8f8f8 !important;
     background-color: #eeeeee !important;
     color: #000000 !important;
     color: #000000 !important;
}
}


/* Remove global dark filters if present */
/* Override any filters (common in dark mode themes) */
html, body {
html, body {
     filter: none !important;
     filter: none !important;
    -webkit-filter: none !important;
}
}


/* Reset navigation and sidebar colors */
/* Sidebar menu fixes */
#mw-panel,
.vector-menu-content-list,
.portal,
.vector-menu-portal {
#p-personal {
     background: #ffffff !important;
     background-color: #f0f0f0 !important;
     color: #000000 !important;
     color: #000000 !important;
}
}


.vector-menu-content,
/* Input and form elements */
.vector-menu-content-list {
input, textarea, select, button {
     background: #ffffff !important;
     background-color: #ffffff !important;
    color: #000000 !important;
    border-color: #ccc !important;
}
}


.vector-menu-heading {
/* Fix page notice boxes and banners */
     background: #f0f0f0 !important;
.mw-message-box, .successbox, .errorbox, .warningbox {
     background-color: #f9f9f9 !important;
     color: #000000 !important;
     color: #000000 !important;
    border: 1px solid #cccccc !important;
}
}


/* Optional: Improve contrast in input fields */
/* Optional: fix code editor syntax color conflicts */
input,
.mw-editfont-monospace {
textarea,
select {
     background-color: #ffffff !important;
     background-color: #ffffff !important;
     color: #000000 !important;
     color: #000000 !important;
}
}

Revision as of 02:47, 17 June 2025

/* FORCE LIGHT MODE ACROSS WIKI */
html, body, #content, .mw-body, .mw-page-base, .mw-footer, #mw-head, #mw-panel {
    background-color: #ffffff !important;
    color: #000000 !important;
}

/* Fix sidebar and header */
#mw-head, #mw-panel, .vector-menu-content, .vector-menu-heading {
    background-color: #f8f8f8 !important;
    color: #000000 !important;
    border-color: #dcdcdc !important;
}

/* Reset links */
a, a:link, a:visited {
    color: #0645ad !important;
    background: transparent !important;
}

a:hover, a:active {
    color: #3366cc !important;
}

/* Fix code and preformatted blocks */
pre, code {
    background-color: #eeeeee !important;
    color: #000000 !important;
}

/* Override any filters (common in dark mode themes) */
html, body {
    filter: none !important;
    -webkit-filter: none !important;
}

/* Sidebar menu fixes */
.vector-menu-content-list,
.vector-menu-portal {
    background: #ffffff !important;
    color: #000000 !important;
}

/* Input and form elements */
input, textarea, select, button {
    background-color: #ffffff !important;
    color: #000000 !important;
    border-color: #ccc !important;
}

/* Fix page notice boxes and banners */
.mw-message-box, .successbox, .errorbox, .warningbox {
    background-color: #f9f9f9 !important;
    color: #000000 !important;
    border: 1px solid #cccccc !important;
}

/* Optional: fix code editor syntax color conflicts */
.mw-editfont-monospace {
    background-color: #ffffff !important;
    color: #000000 !important;
}