MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 26: | Line 26: | ||
background-repeat: no-repeat; | background-repeat: no-repeat; | ||
background-color: #080f22; /* This sets the background color of the entire sidebar */ | 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 */ | |||
} | } | ||
Revision as of 23:05, 21 March 2024
#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: rgba(28, 28, 28, 0.8); /* Dark with some transparency */
border: none; /* Remove default borders if any */
}
a {
color: #9cd9f0; /* A light blue color for links */
}
a:visited {
color: #829da7; /* A more subdued color for visited links */
}