MediaWiki:Common.css
From AbhiprayaVedi
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.
.article-wrapper {
max-width: 900px; margin: 0 auto; padding: 20px;
font-family: Georgia, serif; line-height: 1.6;
}
.article-wrapper > span:first-child {
display: block; text-align: center;
font-size: 1.1em; font-weight: bold;
margin: 0 0 1em 0; line-height: 1.1;
}
.article-intro {
background: #f8f9fa; padding: 16px;
border-left: 5px solid #adb5bd; margin: 0 0 1em 0;
}
.article-floatbox {
float: right !important;
margin-top: -20px !important; /* Pull up to content top */
position: relative !important;
z-index: 2;
}
.article-highlights div {
margin: 8px 0; padding-bottom: 6px;
border-bottom: 1px solid #dee2e6;
}
.article-highlights div:last-child { border-bottom: none; }
.article-author-bio {
clear: both; margin-top: 2em;
background: #f1f3f4; padding: 15px;
border-radius: 6px; border-top: 2px solid #dee2e6;
}
.thumb { float: left !important; margin: 0 1em 0.5em 0 !important; }
@media (max-width: 768px) {
.article-wrapper { padding: 10px; }
.article-floatbox { float: none; width: 100%; margin: 1em 0; }
}
/* TITLE & META CENTER ALIGN */
h1#firstHeading { text-align: center !important; margin-bottom: 0.2em !important; }
.article-wrapper > *:first-child { text-align: center !important; margin: 0.1em 0 0.4em 0 !important; }
/* META BACKGROUND */
.article-meta {
background: #f8f9fa !important;
padding: 4px 8px !important;
display: inline-block !important;
border-radius: 3px;
}