MediaWiki:Common.css: Difference between revisions

From AbhiprayaVedi
No edit summary
No edit summary
Line 11: Line 11:
   font-family: Georgia, "Times New Roman", serif;
   font-family: Georgia, "Times New Roman", serif;
   line-height: 1.7;
   line-height: 1.7;
}
.article-header {
  text-align: center;
  margin-bottom: 20px;
}
.article-title {
  font-size: 2.4em;
  font-weight: bold;
  margin-bottom: 5px;
}
.article-layout {
  display: block;
}
}


Line 44: Line 29:
   margin: 0 0.6em;
   margin: 0 0.6em;
}
}


.article-intro {
.article-intro {
Line 54: Line 38:
}
}


.article-image {
.article-floatbox {
   margin: 20px 0;
  float: right;
  width: 220px;
   margin: 0 0 15px 20px;
  background: #fafafa;
  padding: 10px;
  border-left: 4px solid #ccc;
}
}


.article-content {
.article-floatbox h3 {
   flex: 1;
   margin-top: 0;
}
}


.content-body p:first-of-type {
.article-content {
   text-indent: 0;
   font-size: 1.1em;
}
}


.content-body p {
.content-body p {
   text-indent: 1.5em;
   text-indent: 1.5em;
  margin-top: 0.6em;
}
}


.article-highlights ul,
.content-body p:first-of-type {
.article-leftbar ul {
   text-indent: 0;
   padding-left: 18px;
}
}


Line 88: Line 77:
   padding: 10px;
   padding: 10px;
   border-radius: 4px;
   border-radius: 4px;
}
.article-content {
  font-size: 1.1em;
}
.article-content p {
  text-indent: 1.5em;
  margin-top: 0.6em;
}
.article-content p:first-of-type {
  text-indent: 0;
}
.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-image {
  margin: 20px 0;
}
}

Revision as of 20:10, 30 January 2026

.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;
}

.meta-line {
  display: inline-flex;
  align-items: center;
}

.meta-sep {
  margin: 0 0.6em;
}

.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;
}

.content-body p:first-of-type {
  text-indent: 0;
}

.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;
}