MediaWiki:Common.css: Difference between revisions

From Roat Pkz
Jump to navigation Jump to search
No edit summary
Tag: Reverted
No edit summary
Tag: Manual revert
Line 81: Line 81:
}
}


.vector-menu-tabs-legacy .selected a, .vector-menu-tabs-legacy .selected a:visited {
/* Style for the legacy menu tabs */
    color: var(--text-color);
.vector-menu-tabs-legacy li {
}
     background-image: linear-gradient(to top, #172136 0, #172136 1px, #172136 100%); /* New gradient background */
.vector-menu-tabs-legacy .selected a, .vector-menu-tabs-legacy .selected a:visited {
     background-position: left bottom;
     color: #202122;
     background-repeat: repeat-x;
    text-decoration: none;
     float: left;
}
.vector-menu-tabs-legacy li a:visited {
    color: var(--vector-tab-link-color);
}
.vector-menu-tabs-legacy li a {
    color: var(--vector-tab-link-color);
    padding: 0 0.75em;
    padding-top: 1em;
}
.vector-menu-tabs-legacy li a {
     background-position: right bottom;
     color: #0645ad;
     box-sizing: border-box;
     display: block;
     display: block;
     float: left;
     height: 100%;
     height: 3.07692308em;
     margin: 0;
     position: relative;
     padding: 0;
     padding-top: 1.25em;
     line-height: 1.125em;
    padding-left: 8px;
     white-space: nowrap;
     padding-right: 8px;
    font-size: 0.8125em;
    cursor: pointer;
}
}
a:visited, a:active {
 
     color: var(--link-color);
/* Style for the legacy menu tabs on hover */
.vector-menu-tabs-legacy li:hover {
     background-image: linear-gradient(to top, #172136 0, #172136 1px, #172136 100%); /* Slightly darker gradient for hover */
}
}
a:visited {
 
     color: #0b0080;
/* Active tab style */
.vector-menu-tabs-legacy li.selected {
     background-image: linear-gradient(to top, #1721360, #172136 1px, #172136 100%); /* Even darker gradient for the selected tab */
}
}



Revision as of 23:50, 21 March 2024

body {
    background-color: #080f22; /* Replace '#yourColorCode' with your chosen color */
}


/* 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 */
}
#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 */
}

/* 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 */
}

/* 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: #ffffff; /* 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 */
}

/* 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: #ffc93c; /* Replace '#yourColorCode' with the color you want for the header text */
}

/* Style for the legacy menu tabs */
.vector-menu-tabs-legacy li {
    background-image: linear-gradient(to top, #172136 0, #172136 1px, #172136 100%); /* New gradient background */
    background-position: left bottom;
    background-repeat: repeat-x;
    float: left;
    display: block;
    height: 100%;
    margin: 0;
    padding: 0;
    line-height: 1.125em;
    white-space: nowrap;
}

/* Style for the legacy menu tabs on hover */
.vector-menu-tabs-legacy li:hover {
    background-image: linear-gradient(to top, #172136 0, #172136 1px, #172136 100%); /* Slightly darker gradient for hover */
}

/* Active tab style */
.vector-menu-tabs-legacy li.selected {
    background-image: linear-gradient(to top, #1721360, #172136 1px, #172136 100%); /* Even darker gradient for the selected tab */
}

#mw-panel a {
    color: #fec83c; /* 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: #cb9f2f; /* 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: #ffc93c; /* A light blue color for links */
}
a:visited {
    color: #b28c2a; /* A more subdued color for visited links */
}