MediaWiki:Common.css

Revision as of 09:55, 4 February 2026 by AdminEncyclo (talk | contribs)

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 */
/* ===== EncycloIndia Homepage Styling ===== */

.home-container {
  max-width: 1000px;
  margin: 0 auto;
  font-family: 'Segoe UI', Arial, sans-serif;
}

.hero {
  background: #eef6f8;
  border: 1px solid #d6e6ea;
  border-radius: 10px;
  padding: 40px 25px;
  text-align: center;
  margin: 25px 0 35px 0;
}

.hero h1 {
  font-size: 36px;
  margin-bottom: 10px;
  color: #144552;
}

.hero p {
  font-size: 18px;
  color: #333;
}

.info-section {
  background: #f9fcfd;
  border: 1px solid #e2eff2;
  border-radius: 8px;
  padding: 22px;
  margin-bottom: 25px;
  line-height: 1.6;
}

.section-title {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 12px;
  color: #144552;
  border-bottom: 1px solid #e2eff2;
  padding-bottom: 6px;
}

.cta-box {
  background: #1f7a8c;
  color: white;
  text-align: center;
  padding: 20px;
  border-radius: 8px;
  margin-top: 30px;
  font-size: 18px;
}

/* Improve body text styling inside homepage sections */
.info-section {
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  color: #222;
}

.info-section p {
  margin: 0;
}

/* Make headings smoother too */
.section-title {
  font-family: "Segoe UI Semibold", "Segoe UI", Arial, sans-serif;
  letter-spacing: 0.3px;
}

/* Optional: improve hero subtitle font */
.hero p {
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

.infobox {
  float: right;
  width: 270px;
  margin: 0 0 15px 20px;
  padding: 8px;
  border: 1px solid #a2a9b1;
  background-color: #f8f9fa;
  font-size: 90%;
}

.infobox th {
  background-color: #eaf3ff;
  text-align: left;
  padding: 4px;
}

.infobox td {
  padding: 4px;
}

/* Fix logo cropping */
.mw-wiki-logo {
  background-size: contain !important;
  background-position: center left !important;
  background-repeat: no-repeat !important;
  height: 60px; /* adjust if logo looks too small/tall */
}


/* Verified badge beside Main Page title */
.page-Main_Page .mw-page-title-main::after {
  content: "";
  display: inline-block;
  width: 18px;
  height: 18px;
  margin-left: 6px;
  background-image: url("/images/2/22/Verified.png");
  background-size: contain;
  background-repeat: no-repeat;
  vertical-align: middle;
}


/* Verified badge next to page title */
.verified-badge {
  display: inline-block;
  width: 20px;
  height: 20px;
  background-image: url('/images/2/22/Verified.png');
  background-size: contain;
  background-repeat: no-repeat;
  vertical-align: middle;
  margin-left: 6px;
}
.profile-verified::after {
  content: "";
  display: inline-block;
  width: 18px;
  height: 18px;
  background-image: url('/images/2/22/Verified.png');
  background-size: contain;
  margin-left: 6px;
}


/* Hide the marker */
.profile-verified-flag {
  display: none;
}

/* Verified badge beside page title for verified profiles */
body.page-has-category-Verified_profiles .mw-page-title-main::after {
  content: "";
  display: inline-block;
  width: 18px;
  height: 18px;
  margin-left: 6px;
  background-image: url("/images/2/22/Verified.png");
  background-size: contain;
  background-repeat: no-repeat;
  vertical-align: middle;
}