MediaWiki:Common.css: Difference between revisions

OMNIVERSE
No edit summary
No edit summary
 
Line 20: Line 20:
   display: none !important;
   display: none !important;
}
}
/* MMV: keep buttons, remove the blue boxes */
/* MMV: override Timeless/global button styling inside the lightbox only */
.mw-mmv-toolbar .mw-mmv-dialog-button,
.mw-mmv-wrapper button,
.mw-mmv-next-image,
.mw-mmv-wrapper a[role="button"],
.mw-mmv-prev-image {
.mw-mmv-wrapper .mw-ui-button {
   background: transparent !important;
   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;
   box-shadow: none !important;
  border: 0 !important;
}
}


/* Optional: reduce the clickable box padding so it feels less “blocky” */
/* Keep icon glyphs visible */
.mw-mmv-toolbar .mw-mmv-dialog-button {
.mw-mmv-wrapper button,
  padding: 6px !important;
.mw-mmv-wrapper a[role="button"] {
}
   color: #fff !important;
 
/* Optional: make the icons lighter (adjust if you want darker) */
.mw-mmv-toolbar .mw-mmv-dialog-button .mw-ui-icon,
.mw-mmv-next-image .mw-ui-icon,
.mw-mmv-prev-image .mw-ui-icon {
   opacity: 0.9 !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;
}