Jump to content
Toggle menu
  • 8 articles
  • 75 files
  • 7 users
  • 37.8K edits
Neodyland Wiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Collapse/styles.css: Difference between revisions

Template page
Create CSS page to style {{collapse}} and {{collapse top}} using <templatestyles>
 
Fix `font‑size` of `.tpl‑collapsible‑header > .mw‑collapsible‑toggle`
Line 16: Line 16:
body.ns-0 .tpl-collapsible .tpl-collapsible-header {
body.ns-0 .tpl-collapsible .tpl-collapsible-header {
background: #EEF;
background: #EEF;
}
.tpl-collapsible .tpl-collapsible-header > .mw-collapsible-toggle {
font-size: 87%;
}
}



Revision as of 23:05, 3 August 2021

.tpl-collapsible {
	text-align: left;
	border: 1px solid Silver;
	margin: 0.2em auto auto;
	width: 100%;
	clear: both;
	padding: 1px;
}

.tpl-collapsible .tpl-collapsible-header {
	background: #CFC;
	padding: 0.2em 0.3em;
	text-align: center;
}

body.ns-0 .tpl-collapsible .tpl-collapsible-header {
	background: #EEF;
}

.tpl-collapsible .tpl-collapsible-header > .mw-collapsible-toggle {
	font-size: 87%;
}

.tpl-collapsible .tpl-collapsible-warning {
	text-align: center;
	font-style: italic;
}

.tpl-collapsible .tpl-collapsible-content {
	border: 1px solid Silver;
	padding: 0.6em;
	background: White;
}
Cookies help us deliver our services. By using our services, you agree to our use of cookies.