Jump to content

Template:Collapse-mobile/styles.css

Permanently protected template
From Meta, a Wikimedia project coordination wiki
.collapse-mobile > .mw-collapsible-toggle {
	background: #efefef;
	float: none;
	text-align: left;
	font-size: 1.2em;
	color: #000;
	border: 2px solid #fff;
	user-select: unset;
}

html.client-js div.collapse-mobile::before {
	/* No flash of default [show] button */
	content: none;
}
.collapse-mobile-toggletext {
	float: right;
	font-size: smaller;
}

.collapse-mobile > .mw-collapsible-content > div {
	background: #f7f7f7;
	border: 4px solid #fff;
	font-size: 1.2em;
	color: #000;
	padding: 10px;
	margin-top: -3px; /* to make sure no gap with white background */
	border-top: inset;
	clear: right; /* in case the float goes next line */
}

/* {{PP-template}} */