MediaWiki:Minerva.less/elements.less

From Old School Near-Reality Wiki
< MediaWiki:Minerva.less
Revision as of 21:50, 4 October 2022 by Jacmob (talk | contribs) (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); } // self link a:not( [ href ] ) { color: inherit; } // External links a.external, .mw-parser-output a.external { background-image: url("data:imag...")
(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); }

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

// External links a.external, .mw-parser-output a.external { background-image: url("data:image/svg+xml,%3C%3Fxml version='1.0' encoding='UTF-8'%3F%3E%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 10 10'%3E%3Cg fill='%23906039'%3E%3Cpath d='M8.9 8.9H1.1V1.1h2.8V0H1.1C.5 0 0 .5 0 1.1v7.8C0 9.5.5 10 1.1 10h7.8c.6 0 1.1-.5 1.1-1.1V6.1H8.9v2.8z'/%3E%3Cpath d='M10 0H5.6l1.8 1.8L4.2 5l.8.8 3.2-3.2L10 4.4V0z'/%3E%3C/g%3E%3C/svg%3E"); }

// Page headers .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); }

}