Template:Spoiler/styles.css: Difference between revisions

Template page
w:c:strategywiki>Prod
(Created page with ".spoiler_box { padding: 0; border: 1px solid #bc7d7d; } .spoiler_box .NavHead { background-color: #f1d0d0; font-size: 1.2em; font-weight: bold; } .spoiler_box .NavConte...")
 
m (Fixed dark skins)
 
(12 intermediate revisions by 2 users not shown)
Line 1: Line 1:
.spoiler_box {
div.spoiler_box {
padding: 0;
padding: 0;
border: 1px solid #bc7d7d;
border: 1px solid #bc7d7d;
}
}


.spoiler_box .NavHead {
.spoiler_box .spoiler_box_title {
background-color: #f1d0d0;
text-align: center;
font-size: 1.2em;
font-size: 1.2em;
font-weight: bold;
font-weight: bold;
background-color: #f1d0d0;
}
body.skin-darkvector .spoiler_box .spoiler_box_title,
body.skin-citizen    .spoiler_box .spoiler_box_title {
background-color: #493939;
}
}


.spoiler_box .NavContent {
.spoiler_box .mw-collapsible-content {
text-align: left;
text-align: left;
border-top: 1px solid #ccc;
border-top: 1px solid #ccc;
padding: 1em;
padding: 1em;
}
@media all and (max-width:719px) {
.spoiler_box .mw-collapsible-content {
display: block !important;
}
}
}

Latest revision as of 20:08, 2 November 2023

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;
}

body.skin-darkvector .spoiler_box .spoiler_box_title, 
body.skin-citizen    .spoiler_box .spoiler_box_title {
	background-color: #493939;
}

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

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