Template:Infobox/style.css: Difference between revisions

From Kerbal Powers Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 6: Line 6:
   
 
.infobox-header {
 
.infobox-header {
padding: 2em 1em;
+
padding: 1em 2em;
 
color: white;
 
color: white;
 
background-color: #696969;
 
background-color: #696969;
  +
}
  +
  +
.infobox-illustration, .infobox-caption {
  +
margin: auto;
  +
text-align: center;
  +
}
  +
  +
.infobox-caption {
  +
color: #696969;
  +
font-style: italic;
 
}
 
}

Revision as of 22:04, 6 March 2021

.infobox {
	min-width: 280px;
	float: right;
	border: solid 1px grey;
}

.infobox-header {
	padding: 1em 2em;
	color: white;
	background-color: #696969;
}

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

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