MediaWiki:Common.css: Difference between revisions

From Roat Pkz
Jump to navigation Jump to search
No edit summary
No edit summary
Line 10: Line 10:
}
}


/* Change icon color to white */
.oo-ui-iconElement-icon.oo-ui-icon-article,
.oo-ui-iconElement-icon.oo-ui-icon-article, oo-ui-iconElement-icon oo-ui-icon-tag {
.oo-ui-iconElement-icon.oo-ui-icon-tag {
     filter: brightness(0) invert(1);
     filter: brightness(0) invert(1);
}
}

Revision as of 08:46, 30 March 2024

body {
    background-color: #080f22; /* Replace '#yourColorCode' with your chosen color */
    border: none; /* Remove any border */
    padding: 0 !important; /* Removes padding from all sides of the body */
}

/* Change background color of the table */
#sv-software {
    background-color: #080f22;
}

.oo-ui-iconElement-icon.oo-ui-icon-article,
.oo-ui-iconElement-icon.oo-ui-icon-tag {
    filter: brightness(0) invert(1);
}


/* Change text color to white for table headers and cells */
#sv-software th, 
#sv-software td {
    color: #ffffff;
}

/* Change background color */
.mw-changeslist-legend {
    background-color: #080f22 !important;
}

/* Change text color to white */
.mw-changeslist-legend, 
.mw-changeslist-legend * {
    color: #ffffff !important;
}

/* Change link colors to blue */
.mw-changeslist-legend a {
    color: #0000FF !important; /* Blue */
}

/* Optional: Change link hover color to a lighter blue for better visibility and interaction */
.mw-changeslist-legend a:hover {
    color: #0096FF !important; /* Lighter blue */
}


/* Change the background color of the button */
.oo-ui-buttonElement-button {
    background-color: #080f22 !important; /* Dark blue background */
    color: #ffffff !important; /* White text color for any direct text */
}

/* Ensure the label text within the button is also white */
.oo-ui-buttonElement-button .oo-ui-labelElement-label {
    color: #ffffff !important;
}

/* Optional: Adjust hover state for better interactivity */
.oo-ui-buttonElement-button:hover {
    background-color: #0a3953 !important; /* Slightly lighter blue for hover */
}

/* Text color for non-link elements within tbody */
tbody, tbody .mw-userlink, tbody .mw-usertoollinks-talk, tbody .mw-usertoollinks-contribs, tbody .mw-usertoollinks-block {
    color: #0096ff !important; /* White color for text */
}

/* Standard link color within tbody */
tbody a {
    color: #080f22 !important; /* Blue color for links */
}

/* Color for new (red) links within tbody */
tbody a.new {
    color: #080f22!important; /* Orange color for new links, adjust as needed */
}

/* Hover state for links within tbody for better interactivity */
tbody a:hover {
    color: #080f22 !important; /* Lighter blue for hover */
}

td a.external.mw-version-library-name {
    color: #080f22; /* Blue */
}

/* Optional: Adjust the color for hover state to enhance interactivity */
td a.external.mw-version-library-name:hover {
    color: #080f22 ; /* Lighter blue for hover */
}

pre, code, .mw-code {
    background-color: #0c2e51; /* Darker background color */
    color: #ffffff; /* White text color for better contrast */
    border: 1px solid #3f65b1; /* Adjusted border color */
}

#toc {
    background-color: #080f22; /* Dark gray background */
}

/* Change the background color of the entire table */
tbody {
    background-color: #080f22;
}

/* Change background and text color of table headers */
tbody th, tbody tr th {
    background-color: #080f22 !important; /* Dark background for headers */
    color: #ffffff !important; /* White text color */
}

/* Ensure link colors in the table headers are also white */
tbody th a, tbody tr th a {
    color: #ffffff !important; /* White text color for links */
}

/* Optional: Adjust hover color for links in table headers */
tbody th a:hover, tbody tr th a:hover {
    color: #0096ff !important; /* Light blue for link hover state, adjust as needed */
}

/* Change the text color to white for all text within the tbody */
tbody, tbody a, tbody a.new, tbody .mw-userlink, tbody .mw-usertoollinks-talk, tbody .mw-usertoollinks-contribs, tbody .mw-usertoollinks-block {
    color: #ffffff !important; /* Ensures text color is white */
}

/* Additional styling for links to ensure visibility against the new background */
tbody a:hover {
    color: #0096ff !important; /* Light blue for link hover state */
}


/* Change the color of the numbers in the TOC */
#toc .tocnumber {
    color: #ffffff; /* Sets the color to white */
}

/* Default link color within paragraphs */
p a {
    color: #b28c2a; /* Blue */
}

/* Link hover color within paragraphs */
p a:hover {
    color: #b28c2a; /* Tomato */
}

/* Visited link color within paragraphs */
p a:visited {
    color: #b28c2a; /* SlateBlue */
}

.ve-ce-branchNode, .ve-ce-contentBranchNode, .ve-ce-paragraphNode, .ve-ce-generated-wrapper {
    color: #000000; /* Sets the text color to black */
}

/* Change the search box background and text color for better contrast */
.vector-search-box-input {
    color: #cbd9f4; /* White text */
    outline: 0; /* Removes textbox outline */
    height: 100%; /* Height of the search box */
    border: none; /* Removes border of search box */
    background: none; /* No search box background */
}


.mw-parser-output a.extiw:visited, .mw-parser-output a.external:visited {
    color: #ffd700; /* Gold color */
}

/* Change color of figcaption elements */
figcaption {
    color: #000000; /* Dark gray color */
}


/* Change heading colors to white */
.mw-body h1, .mw-body-content h1, 
.mw-body h2, .mw-body-content h2, 
.mw-body h3, .mw-body-content h3, 
.mw-body h4, .mw-body-content h4, 
.mw-body h5, .mw-body-content h5, 
.mw-body h6, .mw-body-content h6 {
    color: #ffffff; /* Sets the text color to white */
    margin: 0;
    padding-top: 0.5em;
    padding-bottom: 0.17em;
    overflow: hidden;
    font-weight: normal; /* Keeps the font weight normal */
    font-family: 'Linux Libertine', 'Georgia', 'Times', serif; /* Specifies the font family */
}


/* Example for the sidebar */
#mw-panel {
    background-image: url('https://oldschool.runescape.wiki/images/Old_School_RuneScape_Wiki_background_darkmode.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-color: #080f22; /* This sets the background color of the entire sidebar */
    border: none; /* Remove any border */
    padding-right: 0; /* Removes right padding from the sidebar */
}
#mw-panel::after {
    content: ''; /* Necessary for pseudo-elements */
    display: block; /* Makes it a block element */
    height: 50px; /* The height of the bottom bar you want to show */
    background-color: #080f22; /* The color you want for the bottom of the sidebar */
    border: none; /* Remove any border */
}

/* Example for the top bar */
#mw-head {
    background-image: url('https://oldschool.runescape.wiki/images/Old_School_RuneScape_Wiki_background_darkmode.jpg');
    background-size: cover;
    background-repeat: no-repeat;
}

#content {
    background-color: #172136; /* Light blue background */
    border: none; /* Remove any border */
}

/* Change the color of the main page title (h1) */
#firstHeading {
    color: #ffffff; /* Teal color for the main title */
}

/* Change the color of h2 headlines */
.mw-headline {
    color: #ffffff; /* Indigo color for h2 headlines */
}


/* Optionally, if you want to specify by heading level within content */
#content h2 {
    color: #ffffff; /* Indigo color specifically for h2 within content area */
}

/* Change the color of Vector menu heading labels to white */
.vector-menu-heading-label {
    color: #cbd9f4; /* White */
}

.vector-menu-tabs-legacy .new a, .vector-menu-tabs-legacy .new a:visited {
    color: #ffffff; /* Changes the color to white */
}


#content h3 {
    color: #ffffff; /* Deep orange color for h3 */
}

#content h4 {
    color: #ffffff; /* Pink color for h4 */
}

#content h5 {
    color: #ffffff; /* Purple color for h5 */
}

#content h6 {
    color: #ffffff; /* Cyan color for h6 */
}

/* Change the text color within the content area */
.mw-body-content {
    color: #ffffff; /* This sets the text color; replace with your desired color code */
}

a.new:visited {
    color: #8cabe6; /* Changes the color to white */
}

/* Change the text color of paragraphs within the content area */
.mw-body-content p {
    color: #ffffff; /* This sets the text color for paragraphs; replace with your desired color code */
}

/* Change the header text color */
#firstHeading {
    color: #8cabe6; /* Replace '#yourColorCode' with the color you want for the header text */
}

/* Style for the tabs/buttons */
.vector-menu-tabs-legacy li a, .mw-ui-button {
    background-color: #222e45; /* Dark blue background */
    color: #8cabe6; /* White text color for contrast */
    box-sizing: border-box;
    display: block;
    float: left;
    height: 3.07692308em;
    position: relative;
    padding-top: 1.25em;
    padding-left: 8px;
    padding-right: 8px;
    font-size: 0.8125em;
    cursor: pointer;
    border: none; /* Remove borders if any */
    text-decoration: none; /* Remove underline from links */
}

/* Hover state for tabs/buttons */
.vector-menu-tabs-legacy li a:hover, .mw-ui-button:hover {
    background-color: #283551; /* Lighter blue on hover */
    color: #ffffff;
}

/* Adjusting selected tab color and visited link colors */
.vector-menu-tabs-legacy .selected a, .vector-menu-tabs-legacy .selected a:visited, a:visited {
    color: #8cabe6; /* Keep text white for consistency */
}

/* Gradient backgrounds for vector menu tabs - if you want to keep them */
.vector-menu-tabs, .vector-menu-tabs a, #mw-head .vector-menu-dropdown .vector-menu-heading {
    background-image: none; /* Remove if you prefer solid colors */
    background-color: #222e45; /* Use the same dark blue for consistency */
}

/* Normal state of the dropdown */
.vector-menu-dropdown {
    background-color: #222e45; /* Dark blue background */
    color: #ffffff; /* White text */
    direction: ltr;
    float: left;
    cursor: pointer;
    position: relative;
    line-height: 1.125em;
}

/* Hover state of the dropdown */
.vector-menu-dropdown:hover {
    background-color: #007bff; /* Light blue background for hover */
}

/* Text color for items within the dropdown, ensuring visibility */
.vector-menu-dropdown a {
    color: #004c99; /* White text for links */
}

/* Hover state for items within the dropdown */
.vector-menu-dropdown a:hover {
    color: #ffffff; /* Keeps text white on hover for better visibility */
    background-color: #0056b3; /* Optionally, a different shade for hovered items */
}


#mw-panel a {
    color: #8cabe6; /* New link color */
}

/* Change link color on hover in the sidebar */
#mw-panel a:hover {
    color: #ffe23c; /* Darker shade for hover state */
}

/* Change link color for visited links in the sidebar */
#mw-panel a:visited {
    color: #8cabe6; /* Different color for visited links */
}

/* Change the footer background color */
#footer {
}

/* Change the text color in the footer */
#footer a {
    color: #ffffff; /* White text color */
}

/* Change the color of "Last modified" text in the footer */
#footer-info-lastmod {
    color: #ffffff; /* Example color: orange. Replace this with your desired color code */
}


a {
    color: #8cabe6; /* A light blue color for links */
}
a:visited {
    color: #8cabe6; /* A more subdued color for visited links */
}