Module:Infobox/styles.css

From Shadowrun Wiki
Jump to navigation Jump to search
/* {{pp|small=y}} */
/*
 * This TemplateStyles sheet deliberately does NOT include the full set of
 * infobox styles. We are still working to migrate all of the manual
 * infoboxes. See [[MediaWiki talk:Common.css/to do#Infobox]]
 * DO NOT ADD THEM HERE
 */
/*
 * not strictly certain these styles are necessary since the modules now
 * exclusively output infobox-subbox or infobox, not both
 * just replicating the module faithfully
 */
.infobox {
  box-shadow: 0.2em 0.2em 1em 0 black;
  float: right;
  clear: right;
  margin: 0 0 1em 1em;
  padding: 0.5em;
  width: 280px;
  background-color: #f9f9f9;
  color: #000;
  border: 1px solid #aaa;
  font-size: 90%;
}
.infobox-subbox {
	padding: 0;
	border: none;
	margin: -3px;
	width: auto;
	min-width: 100%;
	font-size: 100%;
	clear: none;
	float: none;
	background-color: transparent;
}

.infobox-3cols-child {
	margin: auto;
}

.infobox .navbar {
	font-size: 100%;
}

.infobox th {
  text-align: left;
  vertical-align: top;
  padding-right: 0.5em;
}

.infobox td {
  vertical-align: top;
}

.infobox .infobox-header {
  font-weight: bold;
  text-align: left;
  padding-top: 0.5em;
  padding-bottom: 0.2em;
}