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.
.firstHeading {
font-family: Georgia, "Times New Roman", serif;
font-size: 2.4em;
text-align: center;
margin-bottom: 10px;
}
.article-wrapper {
max-width: 900px;
margin: auto;
font-family: Georgia, "Times New Roman", serif;
line-height: 1.7;
}
.article-meta {
text-align: center;
margin-bottom: 15px;
font-size: 1.15em;
font-weight: bold;
color: #444;
}
.article-meta p {
display: inline !important;
margin: 0 !important;
}
.meta-line {
display: inline-flex;
align-items: center;
gap: 1em; /* Auto-spaces between Author, •, Date; adjust to 0.5em or 2em */
}
.meta-sep {
margin: 0; /* No extra needed with gap */
}
.article-intro {
font-size: 1.2em;
background: #f2f2f2;
padding: 14px;
border-left: 5px solid #bbb;
margin-bottom: 18px;
}
.article-floatbox {
float: right;
width: 220px;
margin: 0 0 15px 20px;
background: #fafafa;
padding: 10px;
border-left: 4px solid #ccc;
}
.article-floatbox h3 {
margin-top: 0;
}
.article-content {
font-size: 1.1em;
}
.content-body p {
text-indent: 1.5em;
margin-top: 0.6em;
margin-bottom: 0.6em; /* Consistent spacing */
}
.content-body p:first-of-type {
text-indent: 0;
margin-top: 0 !important; /* No top space for seamless flow */
}
.article-source {
margin-top: 25px;
font-size: 0.9em;
border-top: 1px solid #ddd;
padding-top: 10px;
}
.article-author-bio {
margin-top: 20px;
font-size: 0.9em;
background: #f4f4f4;
padding: 10px;
border-radius: 4px;
}