MediaWiki:Common.css
From Dune Awakening DB
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 */
/*--------------------------------------------------------------
# DIRECT HEADER FIXES - ADD TO COMMON.CSS
--------------------------------------------------------------*/
/* Hide the "FROM DUNE AWAKENING DB" tagline */
#tagline, h3#tagline {
display: none !important;
}
/* Reduce padding above the title */
h1.title,
.mw-page-title-main,
h1.firstHeading {
margin-top: 0 !important;
padding-top: 5px !important;
line-height: 1.2 !important;
}
/* Adjust content padding */
#content,
.mw-body,
.mw-content-ltr,
.mw-content-rtl {
padding-top: 10px !important;
margin-top: 0 !important;
}
/* Fix spacing for responsive container */
.responsive-container {
margin-top: 0 !important;
}
/* Adjust page title styling */
h1.title {
font-size: 28px !important;
margin-bottom: 10px !important;
}
/* Fix for page margins */
#p-cactions {
margin-top: 0 !important;
}
/* For smaller screens */
@media screen and (max-width: 768px) {
h1.title,
.mw-page-title-main,
h1.firstHeading {
font-size: 24px !important;
margin-bottom: 8px !important;
}
}