MediaWiki:Common.css

From AbhiprayaVedi
Revision as of 13:34, 2 February 2026 by VijayanPN (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.
/* META DISPLAY - TARGETS YOUR EXISTING STRUCTURE */
.article-wrapper span:first-child,
.article-wrapper > *:first-child {
  display: block !important;
  text-align: center !important;
  font-size: 1.15em !important;
  font-weight: bold !important;
  color: #444 !important;
  background: #f8f9fa !important;
  padding: 6px 12px !important;
  margin: 0.1em auto 0.6em auto !important;
  border-radius: 4px !important;
  line-height: 1.2 !important;
  max-width: 300px !important;
}

/* META SEPARATOR SPACING */
.article-wrapper .meta-sep {
  margin: 0 0.8em !important;
  font-weight: normal !important;
}

/* PROTECT ALL WORKING FIXES */
.article-content p {
  margin-top: 0.2em !important;
  margin-bottom: 0.8em !important;
}

.article-content p:first-child {
  margin-top: 0 !important;
}

.article-floatbox {
  float: right !important;
  margin-top: -15px !important;
  position: relative !important;
  z-index: 2;
}

.thumb {
  float: left !important;
  margin: 0.2em 1em 0.5em 0 !important;
}