MediaWiki:Minerva.less/elements.less

From RuneRealm Wiki

This is the current revision of this page, as edited by Alex (talk | contribs) at 00:11, 17 October 2024 (Created page with "→‎=================== HTML elements ===================: // Background colour // image is not here as it wont affect the top bar in search overlays and others body { background: var(--body-background-color); color: var(--text-color); } // used on above switch infoboxes select { color: var(--text-color); background: var(--body-light); border: 1px solid var(--body-border); } // self link a:not( [ href ] ) { color: inherit; } // External links icon a.e..."). The present address (URL) is a permanent link to this version.

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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

     HTML elements
  =================== */

// Background colour // image is not here as it wont affect the top bar in search overlays and others body { background: var(--body-background-color); color: var(--text-color); }

// used on above switch infoboxes select { color: var(--text-color); background: var(--body-light); border: 1px solid var(--body-border); }

// self link a:not( [ href ] ) { color: inherit; }

// External links icon a.external, .mw-parser-output a.external { background-image: var(--external-icon); }

blockquote { border-color: var(--body-mid); // uses default serif fonts font-family: inherit; }

legend { color: inherit; }

// Page title header .pre-content h1 { text-align: center; }

// all are .content specific .content { // all headers border color .mw-parser-output > h2, .section-heading { border-color: var(--sidebar); }

// same specifity as default border style .mw-parser-output > h2, // all headers have this class .section-heading { border-color: var(--sidebar); }

// rv padding added by minerva .plainlist { ol, ul { padding: 0; } }

// same margin for top and bottom p { margin: 0.5em 0; }

// same as desktop


hr { background: none; border-color: var(--sidebar); border-style: solid; border-width: 1px 0 0 0; height: initial; }

// no border pls kbd, samp { border: none }

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

}