MediaWiki:Common.css: Difference between revisions

OMNIVERSE
No edit summary
No edit summary
 
(15 intermediate revisions by the same user not shown)
Line 1: Line 1:
/* CSS placed here will be applied to all skins */
/* ================================
/* ---------- Readability ---------- */
  Your existing Timeless tweak
.mw-parser-output {
  ================================ */
   line-height: 1.6;
 
   font-size: 16px;
#p-pagemisc {
   display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
   height: 0 !important;
}
}


.mw-body-content {
  max-width: 980px;
}


/* ---------- Headings ---------- */
/* ================================
.mw-parser-output h2 {
  MultimediaViewer: remove ONLY the bottom strip you highlighted
  border-bottom: 1px solid rgba(0,0,0,0.15);
  (mw-mmv-post-image)
  padding-bottom: 0.25em;
  ================================ */
}


/* ---------- Tables ---------- */
/* This is the bottom caption/title/metadata bar container */
.wikitable {
.mw-mmv-post-image {
   border-radius: 10px;
   display: none !important;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.12);
}
}
 
/* MMV: override Timeless/global button styling inside the lightbox only */
.wikitable th {
.mw-mmv-wrapper button,
   background: rgba(0,0,0,0.05);
.mw-mmv-wrapper a[role="button"],
   font-weight: 600;
.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;
}
}


/* ---------- Code ---------- */
/* Keep icon glyphs visible */
.mw-parser-output pre {
.mw-mmv-wrapper button,
  border-radius: 8px;
.mw-mmv-wrapper a[role="button"] {
   padding: 12px;
   color: #fff !important;
}
}

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