MediaWiki:Common.css: Difference between revisions

OMNIVERSE
No edit summary
No edit summary
 
(13 intermediate revisions by the same user not shown)
Line 1: Line 1:
/* =========================
/* ================================
   Common baseline (all skins)
   Your existing Timeless tweak
   ========================= */
   ================================ */
html, body { background: #ff00ff !important; }
/* Readability */
.mw-parser-output,
.mw-body-content,
#mw-content-text {
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
 
/* Keep text from stretching too wide */
.mw-body-content {
  max-width: 980px;
}
 
/* Headings */
.mw-parser-output h1,
.mw-parser-output h2,
.mw-parser-output h3,
.mw-parser-output h4 {
  line-height: 1.25;
  margin: 1.1em 0 0.45em;
}
 
.mw-parser-output h2 {
  padding-bottom: 0.25em;
  border-bottom: 1px solid rgba(0,0,0,0.15);
}
 
/* Links */
a {
  text-underline-offset: 0.12em;
  text-decoration-thickness: from-font;
}
a:hover { text-decoration: underline; }


/* Tables */
#p-pagemisc {
.wikitable {
   display: none !important;
   border: 1px solid rgba(0,0,0,0.14);
   visibility: hidden !important;
   border-collapse: separate;
   opacity: 0 !important;
   border-spacing: 0;
   height: 0 !important;
   border-radius: 10px;
  overflow: hidden;
}
}


.wikitable > * > tr > th,
.wikitable > * > tr > td {
  padding: 10px 12px;
  border: 0;
  border-top: 1px solid rgba(0,0,0,0.08);
  vertical-align: top;
}


.wikitable > * > tr:first-child > th,
/* ================================
.wikitable > * > tr:first-child > td {
  MultimediaViewer: remove ONLY the bottom strip you highlighted
  border-top: 0;
  (mw-mmv-post-image)
}
  ================================ */


.wikitable th {
/* This is the bottom caption/title/metadata bar container */
   background: rgba(0,0,0,0.05);
.mw-mmv-post-image {
  font-weight: 600; /* semi-bold */
   display: none !important;
}
}
 
/* MMV: override Timeless/global button styling inside the lightbox only */
.wikitable tr:nth-child(even) td {
.mw-mmv-wrapper button,
  background: rgba(0,0,0,0.015);
.mw-mmv-wrapper a[role="button"],
}
.mw-mmv-wrapper .mw-ui-button {
 
   background-color: rgba(0,0,0,0.35) !important; /* change this */
/* Code */
   border: 1px solid rgba(255,255,255,0.25) !important; /* change this */
code, tt, kbd, samp {
   box-shadow: none !important;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 0.95em;
}
 
.mw-parser-output code {
  padding: 0.12em 0.35em;
  border-radius: 6px;
  background: rgba(0,0,0,0.05);
}
 
.mw-parser-output pre,
.mw-parser-output .mw-code {
   padding: 12px 14px;
  border: 1px solid rgba(0,0,0,0.14);
   border-radius: 10px;
  background: rgba(0,0,0,0.03);
   overflow-x: auto;
  line-height: 1.5;
}
}


/* Blockquotes */
/* Keep icon glyphs visible */
.mw-parser-output blockquote {
.mw-mmv-wrapper button,
  margin: 0.8em 0;
.mw-mmv-wrapper a[role="button"] {
  padding: 0.75em 1em;
   color: #fff !important;
  border-left: 4px solid rgba(0,0,0,0.18);
   background: rgba(0,0,0,0.03);
  border-radius: 8px;
}
}

Latest revision as of 03:47, 25 January 2026

/* ================================
   Your existing Timeless tweak
   ================================ */

#p-pagemisc {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  height: 0 !important;
}


/* ================================
   MultimediaViewer: remove ONLY the bottom strip you highlighted
   (mw-mmv-post-image)
   ================================ */

/* This is the bottom caption/title/metadata bar container */
.mw-mmv-post-image {
  display: none !important;
}
/* MMV: override Timeless/global button styling inside the lightbox only */
.mw-mmv-wrapper button,
.mw-mmv-wrapper a[role="button"],
.mw-mmv-wrapper .mw-ui-button {
  background-color: rgba(0,0,0,0.35) !important;  /* change this */
  border: 1px solid rgba(255,255,255,0.25) !important; /* change this */
  box-shadow: none !important;
}

/* Keep icon glyphs visible */
.mw-mmv-wrapper button,
.mw-mmv-wrapper a[role="button"] {
  color: #fff !important;
}