resources/src/mediawiki.skinning/elements-print.less
/* stylelint-disable selector-class-pattern */

.center {
	text-align: center;
}

/* Links */
a {
	background: none !important; /* stylelint-disable-line declaration-no-important */
	padding: 0 !important; /* stylelint-disable-line declaration-no-important */

	&,
	&.external,
	&.new,
	&.stub {
		color: inherit !important; /* stylelint-disable-line declaration-no-important */
		text-decoration: inherit !important; /* stylelint-disable-line declaration-no-important */
	}
}

dt {
	font-weight: bold;
}

.mw-heading,
h1,
h2,
h3,
h4,
h5,
h6 {
	font-weight: bold;
	/* Pagination */
	page-break-after: avoid;
}

p {
	margin: 1em 0;
	line-height: 1.2;
	/* Pagination */
	/* oprhans/widows not supported by Firefox */
	/* stylelint-disable-next-line plugin/no-unsupported-browser-features */
	orphans: 3;
	/* stylelint-disable-next-line plugin/no-unsupported-browser-features */
	widows: 3;
}

img,
figure {
	/* Pagination */
	page-break-inside: avoid;
}

img {
	border: 0;
	vertical-align: middle;
}

pre,
.mw-code {
	background: #fff;
	color: #000;
	border: 1pt dashed #000;
	padding: 1em;
	font-size: 8pt;
	white-space: pre-wrap;
	/* Create a new block formatting context */
	overflow-x: hidden;
	/* Break really long words when they overflow to the next line */
	word-wrap: break-word;
}

ul {
	list-style-type: square;
}
