Module:Large category TOC/styles.css: Difference between revisions

From Rail announcements
(add styles needed for vector 2022 following issues caused by changes in vector 2022 css)
 
m (1 revision imported)
 
(No difference)

Latest revision as of 21:56, 11 January 2024

/* {{pp|small=y}} */
.large-cat-toc {
	box-sizing: border-box;
	display: block;
	clear: both;
}

.large-cat-toc-body {
	text-align: center;
}

.large-cat-toc-scroll {
	overflow-x: scroll;
	overflow-y: hidden;
	white-space: nowrap;
}

.large-cat-toc.mw-collapsible {
	padding: 4px;
	text-align: center;
	border: 1px solid #a2a9b1;
	font-size: 95%
}

.large-cat-toc .mw-collapsible-content {
	background-color: white;
	/* [[WP:MONO]] */
	font-family: monospace, monospace;
}

.large-cat-toc .mw-collapsible-content > span {
	border-bottom: 1px solid #eaecf0;
}

.large-cat-toc-jumpy-title {
	margin: 0 4em;
}

.large-cat-toc.mw-collapsible .toctitle,
.large-cat-toc-title,
.large-cat-toc-anum {
	font-weight: bold;
}

/* Vector 2022 rules - */

body.skin-vector-2022 .large-cat-toc {
	padding: 7px;
}

body.skin-vector-2022 .large-cat-toc .toctitle {
	text-align: center;
}