Jump to content

MediaWiki:Common.css

From λ LUMENWARD
Revision as of 18:46, 13 December 2025 by Kauku (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.
/* =========================
   Main Page as Light Wiki Mock (WAF-safe: styling only)
   ========================= */

/* Target only Main Page */
.page-Main_Page .mw-page-title-main { display: none; } /* hide default big title */

/* Create a centered "article card" */
.page-Main_Page #mw-content-text {
  max-width: 1100px;
  margin: 18px auto !important;
  padding: 0 !important;
}

.page-Main_Page .mw-parser-output {
  background: #f6f6f6;
  border: 1px solid #e6e6e6;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0,0,0,.08);
  overflow: hidden;
}

/* Header strip */
.page-Main_Page .mw-parser-output > h1 {
  margin: 0;
  padding: 18px 18px 12px;
  background: #f0f0f0;
  border-bottom: 1px solid #e6e6e6;
  font-size: 26px;
  font-weight: 900;
  letter-spacing: .02em;
}

/* Subtitle line right under the heading */
.page-Main_Page .mw-parser-output > p:first-of-type {
  margin: 0;
  padding: 0 18px 16px;
  background: #f0f0f0;
  border-bottom: 1px solid #e6e6e6;
  color: #3a3a3a;
  font-size: 13px;
}

/* Body padding */
.page-Main_Page .mw-parser-output > *:not(h1):not(p:first-of-type) {
  padding-left: 18px;
  padding-right: 18px;
}

.page-Main_Page .mw-parser-output > h2 {
  margin-top: 22px;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #3a3a3a;
}

/* Make the Search link look like a pill button */
.page-Main_Page a[href*="Special:Search"] {
  display: inline-block;
  padding: 10px 14px;
  border: 1px solid #e6e6e6;
  border-radius: 999px;
  background: #fff;
  text-decoration: none !important;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  font-size: 12px;
  color: #0a0a0a !important;
}