Jump to content

Template:Box/styles.css

From Mathepedia, the mathematical encyclopedia

Revision as of 18:13, 16 July 2026 by {{GENDER:InfernalAtom683|

Mathepedia render error: ! Extra }, or forgotten $. l.8 '"2} } No pages of output. Transcript written on /var/lib/mathepedia-renderer/cache/mathepedia-cbb0e139328 50b9fe4e18f60e540979921293739af0280a15eb127d1c1c6428f-tupp7avu/diagram.log.

'"7

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
.global-box {
	box-sizing: border-box;
	overflow: hidden;
	border: 1px solid #a2a9b1;
	border-radius: 0;
	margin: 0.65em 1em;
	background: #fff;
	color: #202122;
}

.global-box__title {
	padding: 0.4em 0.7em 0.05em;
	font-weight: 700;
	line-height: 1.35;
}

.global-box__body {
	padding: 0.15em 0.7em 0.45em;
	line-height: 1.5;
}

.global-box__details {
	border-top: 1px solid #c8ccd1;
	padding: 0.35em 0.7em 0.4em;
	background: #f8f9fa;
}

.global-box__details-heading {
	min-height: 1.3em;
	font-weight: 600;
	line-height: 1.3;
}

.global-box__details .mw-collapsible-toggle {
	float: right;
	margin-left: 0.75em;
	font-size: 0.85em;
	font-weight: normal;
}

.global-box__details-content {
	padding-top: 0.3em;
	line-height: 1.5;
}

.global-box__body > :first-child,
.global-box__details-content > :first-child {
	margin-top: 0;
}

.global-box__body > :last-child,
.global-box__details-content > :last-child {
	margin-bottom: 0;
}

@media (max-width: 500px) {
	.global-box {
		margin: 0.6em 0;
	}

	.global-box__title,
	.global-box__body,
	.global-box__details {
		padding-right: 0.55em;
		padding-left: 0.55em;
	}
}