MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 64: | Line 64: | ||
} | } | ||
/* | /* Style for the legacy menu tabs */ | ||
.vector-menu-tabs | .vector-menu-tabs-legacy li { | ||
background-image: linear-gradient(to top, #172136 0, #172136 1px, #172136 100%); /* New gradient background */ | |||
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; | |||
color: #333333; /* Dark grey text for better contrast */ | |||
} | } | ||
/* | /* Style for the legacy menu tabs on hover */ | ||
.vector-menu- | .vector-menu-tabs-legacy li:hover { | ||
background-image: linear-gradient(to top, #172136 0, #172136 1px, #172136 100%); /* Slightly darker gradient for hover */ | |||
background- | color: #ffffff; /* White text on hover for better visibility */ | ||
} | } | ||
/* | /* Active tab style */ | ||
.vector-menu- | .vector-menu-tabs-legacy li.selected { | ||
. | background-image: linear-gradient(to top, #1721360, #172136 1px, #172136 100%); /* Even darker gradient for the selected tab */ | ||
background- | color: #ffffff; /* White text for selected tab for better visibility */ | ||
} | } | ||
Revision as of 23:21, 21 March 2024
body {
background-color: #080f22; /* Replace '#yourColorCode' with your chosen color */
}
#mw-head {
background-color: #2c2c2c; /* Slightly lighter dark shade for the top bar */
color: #ffffff;
}
#mw-head {
background-color: #2c2c2c; /* Slightly lighter dark shade for the top bar */
color: #ffffff;
}
#mw-panel {
background-color: #2c2c2c; /* Synchronizing with the top bar */
color: #ffffff;
}
#mw-panel {
background-color: #2c2c2c; /* Synchronizing with the top bar */
color: #ffffff;
}
/* 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 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;
color: #333333; /* Dark grey text for better contrast */
}
/* 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 */
color: #ffffff; /* White text on hover for better visibility */
}
/* 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 */
color: #ffffff; /* White text for selected tab for better visibility */
}
a {
color: #9cd9f0; /* A light blue color for links */
}
a:visited {
color: #829da7; /* A more subdued color for visited links */
}