MediaWiki:Vector-darkmode.less/toc.less

From Old School RuneScape Wiki
Jump to navigation Jump to search
/* ------------------------
       Table of Contents
   ------------------------ */

.toc {
	background: @dark-wikitable-background;
	border: 1px solid @dark-infobox-border;

	// title bar
	.toctitle {
		background: @dark-wikitable-header;
		border-color: @dark-infobox-border;
	}

    // entire group of headings
    > ul {
        border: none;
    }

    // subheadings only
    ul ul {
        border-color: @dark-infobox-border;
    }

	li {
		list-style-type: none;
		list-style-image: none;
	}
}

// collapse button
.toctogglelabel {
	color: @dark-links;
}

.mw-warning, .toccolours {
    border: 1px solid @dark-interface-border;
    background-color: @dark-wikitable-background;
}