Template:Refbegin/styles.css: Difference between revisions

From The Goon Show Depository
m (1 revision imported)
en>Izno
(remove colors and line height, no obvious reason to include)
Line 1: Line 1:
/* {{pp-template}} */
/* {{pp-template}} */
.refbegin {
.refbegin {
font-size: 90%;
margin-bottom: 0.5em;
margin-bottom: 0.5em;
}
}
Line 40: Line 39:
page-break-inside: avoid; /* Removed from CSS in favor of break-inside c. 2020 */
page-break-inside: avoid; /* Removed from CSS in favor of break-inside c. 2020 */
break-inside: avoid-column;
break-inside: avoid-column;
}
/* make font smaller only on a display */
@media screen {
.refbegin {
font-size: 90%;
}
}
}

Revision as of 18:04, 9 August 2024

/* {{pp-template}} */
.refbegin {
	margin-bottom: 0.5em;
}

.refbegin-hanging-indents > ul {
	margin-left: 0;
}

.refbegin-hanging-indents > ul > li {
	margin-left: 0;
	padding-left: 3.2em;
	text-indent: -3.2em;
}

.refbegin-hanging-indents ul,
.refbegin-hanging-indents ul li {
	list-style: none;
}

@media (max-width: 720px) {
	.refbegin-hanging-indents > ul > li {
		padding-left: 1.6em;
		text-indent: -1.6em;
	}
}

.refbegin-columns {
	margin-top: 0.3em;
}

/* Reset top margin for lists embedded in columns */
.refbegin-columns ul {
	margin-top: 0;
}

/* Avoid elements breaking between columns */
.refbegin-columns li {
	page-break-inside: avoid; /* Removed from CSS in favor of break-inside c. 2020 */
	break-inside: avoid-column;
}

/* make font smaller only on a display */
@media screen {
	.refbegin {
		font-size: 90%;
	}
}