Template:Infobox/style.css: Difference between revisions

From Kerbal Powers Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 13: Line 13:
   
 
.infobox-header {
 
.infobox-header {
padding: 1em 2em;
+
padding: 0.8em 2em;
 
color: white;
 
color: white;
 
background-color: #696969;
 
background-color: #696969;
font-size: 1.5em;
+
font-size: 1.3em;
 
}
 
}
   
Line 32: Line 32:
 
background-color: #ddd;
 
background-color: #ddd;
 
color: #222;
 
color: #222;
  +
font-size: 1.1em;
 
}
 
}

Revision as of 22:40, 6 March 2021

.infobox {
	min-width: 200px;
	width: 30em;
	float: right;
	border: solid 1px grey;
	background-color: #f5f5f5;
	font-size: 90%;
}

.infobox-header, .infobox-illustration, .infobox-caption, .infobox-section-header {
	/*column-span: 2;*/
}

.infobox-header {
	padding: 0.8em 2em;
	color: white;
	background-color: #696969;
	font-size: 1.3em;
}

.infobox-illustration, .infobox-caption {
	margin: auto;
	text-align: center;
}

.infobox-caption {
	color: #696969;
	font-style: italic;
}

.infobox-section-header {
	background-color: #ddd;
	color: #222;
	font-size: 1.1em;
}