MediaWiki:Common.css
Note: After publishing, you may have to bypass your browser's cache to see the changes.
- Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
- Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
- Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.
/* CSS placed here will be applied to all skins */
body {
background: url("/images/wiki_background.png") no-repeat center center fixed;
background-size: cover;
}
/* Wrap the sidebar (all portlets) in a white box */
#mw-panel {
background-color: #ffffff; /* White background */
border-radius: 5px;
box-shadow: 0 2px 8px rgba(0,0,0,0.2); /* Optional soft shadow */
border: 1px solid #ccc;
}
/* Footer white box (already styled) */
#footer {
background-color: #ffffff;
padding: 20px;
margin-top: 40px;
border-top: 1px solid #ccc;
border-radius: 8px;
box-shadow: 0 -2px 8px rgba(0,0,0,0.1);
position: relative;
}
/* Wrap all footer content neatly */
#footer .footer-inner {
display: flex;
flex-direction: column;
align-items: center;
gap: 10px;
}
/* Footer links list */
#footer ul {
display: flex;
flex-wrap: wrap;
justify-content: center;
list-style: none;
padding: 0;
margin: 0;
}
/* Footer links */
#footer li,
#footer a {
color: #333 !important;
text-decoration: none;
margin: 0 10px;
font-size: 0.9em;
}
#footer a:hover {
text-decoration: underline;
}
/* Fix for footer-icons: bring them inside the box */
#footer-icons {
display: flex;
justify-content: center;
align-items: center;
margin-top: 10px;
gap: 12px;
padding-bottom: 5px;
}
#footer-icons img {
height: 24px;
vertical-align: middle;
}