MediaWiki:Vector.less/transcripts.less

From Illerai
Jump to navigation Jump to search
/* ===========================
		Transcript lists
   =========================== */
.ns-120 .mw-parser-output,
.transcript {
	// no left-margin for the outermost list, because that already gets extra padding without an alignment marker.
	> ul {
		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;
			// 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: 15px;
				margin: 14px 0;

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