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

From KYNNpedia
imported>SWinxy
(Hide show/hide toggle for the Minerva skin (per edit req))
 
imported>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.)
 
Line 42: Line 42:
  * the deployment of the MakeMobileCollapsibleGadget -- Sohom
  * the deployment of the MakeMobileCollapsibleGadget -- Sohom
  */
  */
.skin-minerva .multiple-issues-text > .mw-collapsible-toggle {
body.skin-minerva .multiple-issues-text > .mw-collapsible-toggle {
display: none;
display: none;
}
}

Latest revision as of 04:04, 2 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;
}