Difference between revisions of "MediaWiki:Common.css"

From Open Pattern Repository for Online Learning Systems
Jump to navigation Jump to search
(Add styles for the infobox)
 
(Fix error in infobox subheader CSS)
Line 14: Line 14:
   line-height: 1.5em;
   line-height: 1.5em;
}
}
table.infobox .header, table.infobox .header .subheader{
table.infobox .header, table.infobox .subheader{
   text-align:center;  
   text-align:center;  
   background-color: #fe9364;
   background-color: #fe9364;
Line 20: Line 20:
   font-size: 125%;
   font-size: 125%;
}
}
table.infobox .header .subheader{
table.infobox .subheader{
   font-size: 100%;
   font-size: 100%;
}
}

Revision as of 13:14, 5 June 2015

/* Infobox CSS */
table.infobox {
  float:right; 
  border: 1px solid #aaa; 
  width: 22em; 
  border-spacing: 3px;  
  background-color: #f9f9f9;
  color: black;
  margin: 0.5em 0 0.5em 1em;
  font-size:88%; 
  padding: 0.2em; 
  clear: right;
  text-align: left;
  line-height: 1.5em;
}
table.infobox .header, table.infobox .subheader{
  text-align:center; 
  background-color: #fe9364;
  font-weight:bold; 
  font-size: 125%;
}
table.infobox .subheader{
  font-size: 100%;
}
table.infobox td {
  vertical-align:top;
}