MediaWiki:Minerva.less/transcripts.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 "→‎=========================== Transcript lists ===========================: // section element is only in mobile // can exclude .mw-parser-output to reduce size .ns-120 section, .transcript { ul, ol { // Minerva adds 1em padding-left to all lists padding: 0; } ul { // no left-margin for the outermost list, because that already gets extra padding without an alignment marker. margin: 5px 0 0 0; // make margins for ul and ol consistent for indent..."). 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

/* =========================== Transcript lists

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

// section element is only in mobile // can exclude .mw-parser-output to reduce size .ns-120 section, .transcript { ul, ol { // Minerva adds 1em padding-left to all lists padding: 0; }

ul {

// no left-margin for the outermost list, because that already gets extra padding without an alignment marker. margin: 5px 0 0 0;

// make margins for ul and ol consistent for indented lists ul, ol { margin: 5px 0 0 15px; }

// need to exclude TOC &, ul, ol { list-style: none !important; // stop minerva adding icons to nested lists // alignment markers for each of the lists border-left: 1px dashed var(--transcript-border-color);

&:hover { border-color: var(--transcript-border-hover-color); }

li { flex-direction: column; padding-left: 10px; margin: 14px 0;

// Don't want double margin at the bottom (from li plus ul) &:last-of-type { margin-bottom: 0; } } } } }