Template:Multiple issues/styles.css: Difference between revisions

From Mirrorplay: Fae
Jump to navigation Jump to search
mpfae>SilverLocust
(body.skin-minerva was shortened to .skin-minerva as redundant/overqualified. If that is true, this edit will make no difference. But my testing suggests it is not unnecessary, and this should fix the noted at the talk page.)
(No difference)

Revision as of 21:04, 1 March 2024

/* {{pp|small=y}} */
.multiple-issues-text {
	width: 95%;
	margin: 0.2em 0;
}

.multiple-issues-text > .mw-collapsible-content {
	margin-top: 0.3em;
}

/* Remove borders, backgrounds, padding, etc. */
.compact-ambox .ambox {
	border: none;
	border-collapse: collapse;
	background-color: transparent;
	margin: 0 0 0 1.6em !important;
	padding: 0 !important;
	width: auto;
	display: block;
}

body.mediawiki .compact-ambox .ambox.mbox-small-left {
	font-size: 100%;
	width: auto;
	margin: 0;
}

/* Style the text cell as a list item and remove its padding */
.compact-ambox .ambox .mbox-text {
	padding: 0 !important;
	margin: 0 !important;
}

.compact-ambox .ambox .mbox-text-span {
	display: list-item;
	line-height: 1.5em;
	list-style-type: disc;
}

/** 
 * Don't show the [show/hide] toggle in the mobile skin due to
 * the deployment of the MakeMobileCollapsibleGadget -- Sohom
 */
body.skin-minerva .multiple-issues-text > .mw-collapsible-toggle {
	display: none;
}

/* Hide the images */
.compact-ambox .ambox .mbox-image,
.compact-ambox .ambox .mbox-imageright,
.compact-ambox .ambox .mbox-empty-cell,
/* Allow for hiding text in compact form */
.compact-ambox .hide-when-compact {
	display: none;
}