Template:Spoiler/styles.css: Difference between revisions

Template page
w:c:strategywiki>Prod
m (center)
w:c:strategywiki>Prod
(mw-collapsible)
Line 4: Line 4:
}
}


.spoiler_box .NavHead {
.spoiler_box .spoiler_box_title {
text-align: center;
text-align: center;
font-size: 1.2em;
font-size: 1.2em;
Line 11: Line 11:
}
}


.spoiler_box .NavContent {
.spoiler_box .mw-collapsible-content {
text-align: left;
text-align: left;
border-top: 1px solid #ccc;
border-top: 1px solid #ccc;
Line 18: Line 18:


@media all and (max-width:720px) {
@media all and (max-width:720px) {
.spoiler_box .NavContent {
.spoiler_box .mw-collapsible-content {
display: block !important;
display: block !important;
}
}
}
}

Revision as of 22:54, 6 August 2021

div.spoiler_box {
	padding: 0;
	border: 1px solid #bc7d7d;
}

.spoiler_box .spoiler_box_title {
	text-align: center;
	font-size: 1.2em;
	font-weight: bold;
	background-color: #f1d0d0;
}

.spoiler_box .mw-collapsible-content {
	text-align: left;
	border-top: 1px solid #ccc;
	padding: 1em;
}

@media all and (max-width:720px) {
	.spoiler_box .mw-collapsible-content {
		display: block !important;
	}
}