Module:Infobox/styles.css: Difference between revisions

From Shadowrun Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
Line 54: Line 54:


.infobox .infobox-header {
.infobox .infobox-header {
  background-color: #e0e0e0;  /* Light gray shading */
   font-weight: bold;
   font-weight: bold;
   text-align: left;
   text-align: center;
   padding-top: 0.5em;
   padding: 0.4em 0;
   padding-bottom: 0.2em;
  font-size: 105%;
   border-bottom: 1px solid #aaa;
}
}

Latest revision as of 21:49, 26 May 2025

/* {{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 {
  background-color: #e0e0e0;  /* Light gray shading */
  font-weight: bold;
  text-align: center;
  padding: 0.4em 0;
  font-size: 105%;
  border-bottom: 1px solid #aaa;
}