Jump to content

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

From cernipedia
←Created page with '.large-cat-toc { box-sizing: border-box; display: block; clear: both; width: 100%; } .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 .toctitle { font-weight: bold; line-height: 1.6em } .large-cat-toc .mw-collapsible-c...'
 
 
(8 intermediate revisions by 3 users not shown)
Line 1: Line 1:
/* {{pp|small=y}} */
.large-cat-toc {
.large-cat-toc {
box-sizing: border-box;
box-sizing: border-box;
display: block;
display: block;
clear: both;
clear: both;
width: 100%;
}
}


Line 16: Line 16:
}
}


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


.large-cat-toc .mw-collapsible .toctitle {
.large-cat-toc .mw-collapsible-content {
font-weight: bold;
background-color: var(--background-color-base, #fff);
line-height: 1.6em
/* [[WP:MONO]] */
font-family: monospace, monospace;
}
}


.large-cat-toc .mw-collapsible-content,
.large-cat-toc .mw-collapsible-content > span {
.large-cat-toc .mw-collapsible code {
border-bottom: 1px solid var(--background-color-neutral, #eaecf0);
background-color: white;
}
}


Line 37: Line 37:
}
}


.large-cat-toc.mw-collapsible .toctitle,
.large-cat-toc-title,
.large-cat-toc-title,
.large-cat-toc-anum {
.large-cat-toc-anum {
font-weight: bold;
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;
}
}

Latest revision as of 13:23, 19 November 2026

/* {{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 var(--border-color-base, #a2a9b1);
	font-size: 95%
}

.large-cat-toc .mw-collapsible-content {
	background-color: var(--background-color-base, #fff);
	/* [[WP:MONO]] */
	font-family: monospace, monospace;
}

.large-cat-toc .mw-collapsible-content > span {
	border-bottom: 1px solid var(--background-color-neutral, #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;
}