MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
/* === Top fixed banner === */ | |||
/* === | |||
.qme-top-banner { | .qme-top-banner { | ||
background-image: url("/wiki/Special:Redirect/file/Top-gradient.png"); | background-image: url("/wiki/Special:Redirect/file/Top-gradient.png"); | ||
Line 16: | Line 12: | ||
} | } | ||
/* | /* Remove white spacer and apply top spacing only to content area */ | ||
body { | body { | ||
background-color: #000 !important; | background-color: #000 !important; | ||
color: #fff !important; | color: #fff !important; | ||
margin: 0; | |||
} | } | ||
/* | /* Offset the top banner only where needed */ | ||
#content { | |||
padding-top: 15px; | |||
} | } | ||
/* | /* Eliminate margin or background from base elements */ | ||
#mw-page-base, | |||
#mw-head-base { | |||
margin: 0; | |||
padding: | padding: 0; | ||
background: transparent !important; | |||
background: | height: 0 !important; | ||
} | } | ||
/* === Top fixed banner === */ | |||
/* | .qme-top-banner { | ||
.qme- | background-image: url("/wiki/Special:Redirect/file/Top-gradient.png"); | ||
background-repeat: repeat-x; | |||
background-size: 300px 15px; | |||
height: 15px; | |||
width: 100%; | |||
position: fixed; | |||
top: 0; | |||
left: 0; | |||
z-index: 9999; | |||
} | } | ||
/* | /* Remove white spacer and apply top spacing only to content area */ | ||
body { | |||
background-color: #000 !important; | |||
color: #fff !important; | |||
margin: 0; | |||
} | } | ||
/* Offset the top banner only where needed */ | |||
#content { | |||
padding-top: 15px; | |||
} | } | ||
/* | /* Eliminate margin or background from base elements */ | ||
#mw-page-base, | |||
#mw-head-base { | |||
margin: 0; | |||
padding: 0; | |||
background: transparent !important; | |||
height: 0 !important; | |||
} | } |
Revision as of 12:55, 9 July 2025
/* === Top fixed banner === */
.qme-top-banner {
background-image: url("/wiki/Special:Redirect/file/Top-gradient.png");
background-repeat: repeat-x;
background-size: 300px 15px;
height: 15px;
width: 100%;
position: fixed;
top: 0;
left: 0;
z-index: 9999;
}
/* Remove white spacer and apply top spacing only to content area */
body {
background-color: #000 !important;
color: #fff !important;
margin: 0;
}
/* Offset the top banner only where needed */
#content {
padding-top: 15px;
}
/* Eliminate margin or background from base elements */
#mw-page-base,
#mw-head-base {
margin: 0;
padding: 0;
background: transparent !important;
height: 0 !important;
}
/* === Top fixed banner === */
.qme-top-banner {
background-image: url("/wiki/Special:Redirect/file/Top-gradient.png");
background-repeat: repeat-x;
background-size: 300px 15px;
height: 15px;
width: 100%;
position: fixed;
top: 0;
left: 0;
z-index: 9999;
}
/* Remove white spacer and apply top spacing only to content area */
body {
background-color: #000 !important;
color: #fff !important;
margin: 0;
}
/* Offset the top banner only where needed */
#content {
padding-top: 15px;
}
/* Eliminate margin or background from base elements */
#mw-page-base,
#mw-head-base {
margin: 0;
padding: 0;
background: transparent !important;
height: 0 !important;
}
By using this site, you agree to the Terms of Use. © 1996–2025 The Quincy Examiner / MTB. All rights reserved.