MediaWiki:Vector.less/elements.less

From Old School Near-Reality Wiki
< MediaWiki:Vector.less
Revision as of 21:58, 4 October 2022 by Jacmob (talk | contribs) (Created page with "→‎=================== Page elements ===================: →‎-------------------- body --------------------: // Prevent weird font scaling in landscape mode in Safari - is also in minerva html { -webkit-text-size-adjust: 100%; } body { background: var(--body-background-image) var(--body-background-color) no-repeat; background-size: 1500px 375px; background-position: top left; font-family: @sans-serif-stack; } // for 1.37 the default text...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

/* ===================

     Page elements
  =================== */

/* --------------------

         body
  -------------------- */

// Prevent weird font scaling in landscape mode in Safari - is also in minerva html { -webkit-text-size-adjust: 100%; }

body { background: var(--body-background-image) var(--body-background-color) no-repeat; background-size: 1500px 375px; background-position: top left; font-family: @sans-serif-stack; }

// for 1.37 the default text adjustments are put // on this class rather than .mw-body-content .vector-body { font-size: .9em; line-height: 1.6em; }

/* --------------------

        headings
  -------------------- */

// page title

  1. firstHeading {

font-weight: bold; }

/* --------------------

      pre and code
  -------------------- */

pre, code, .mw-code { color: inherit; // inherit from body background-color: var(--mw-code-background-color); border: 1px solid var(--body-border); }

/* --------------------

          lists
  -------------------- */

// bold line margins dl { margin: 0; }

/* --------------------

         links
  -------------------- */

// wmf seem to be changing link colours for new vector - these are prob here // so legacy vector's link colours would still be the same .skin-vector-legacy { a { // this one's not needed (yet?) // color: var(--link-color); &.new, &.new:visited { color: var(--redlink-color); } } }