MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
Gridcaster (talk | contribs) No edit summary |
Gridcaster (talk | contribs) No edit summary |
||
Line 13: | Line 13: | ||
} | } | ||
/* | /* Footer white box (already styled) */ | ||
#footer { | #footer { | ||
background-color: #ffffff; | background-color: #ffffff; | ||
padding: | padding: 20px; | ||
margin-top: 40px; | |||
border-top: 1px solid #ccc; | border-top: 1px solid #ccc; | ||
border-radius: 8px; | 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 { | #footer ul { | ||
display: flex; | display: flex; | ||
Line 31: | Line 40: | ||
padding: 0; | padding: 0; | ||
margin: 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; | |||
} | } |
Revision as of 06:13, 19 April 2025
/* 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;
}