MediaWiki:Common.css: Difference between revisions

OMNIVERSE
No edit summary
Tag: Reverted
No edit summary
 
(10 intermediate revisions by the same user not shown)
Line 1: Line 1:
/* =========================
/* ================================
   Common baseline (ALL skins)
   Your existing Timeless tweak
  Neutral – no theme colors
   ================================ */
   ========================= */


/* Typography only */
#p-pagemisc {
.mw-parser-output,
   display: none !important;
.mw-body-content,
   visibility: hidden !important;
#mw-content-text {
   opacity: 0 !important;
   line-height: 1.65;
   height: 0 !important;
   font-size: 16px;
   -webkit-font-smoothing: antialiased;
   -moz-osx-font-smoothing: grayscale;
}
}


/* Prevent overly wide text */
.mw-body-content {
  max-width: 980px;
}
/* Headings – NO colors */
.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;
}
/* Links – behavior only */
a {
  text-decoration-thickness: from-font;
  text-underline-offset: 0.12em;
}
a:hover {
  text-decoration: underline;
}


/* Tables – structure only */
/* ================================
.wikitable {
  MultimediaViewer: remove ONLY the bottom strip you highlighted
  border-collapse: separate;
  (mw-mmv-post-image)
  border-spacing: 0;
  ================================ */
  overflow: hidden;
}


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


/* Blockquotes – structure only */
/* 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;
}
}

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