Difference between revisions of "Template:Refbegin/styles.css"

From Catalog
Jump to navigation Jump to search
setup>Izno
(remove unnecessary dd/dl item support; and also ol support because that's inconsistent)
 
m (1 revision imported: Mitul Imported from Wikipedia)
 
(No difference)

Latest revision as of 03:17, 12 April 2021

/* {{pp-template}} */
.refbegin {
	font-size: 90%;
	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;
	}
}

/* Option for normal fontsize in {{refbegin}} */
.refbegin-100 {
	font-size: 100%;
}

.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;
}