MediaWiki:Common.css: Difference between revisions

The Emma M. Lion Wiki
No edit summary
No edit summary
Line 28: Line 28:
}
}


.infobox .key td{
.infobox td.key{
width: 15%;
width: 15%;
margin: 2px;
margin: 2px;

Revision as of 18:39, 3 February 2025

/* CSS placed here will be applied to all skins */

/* infoboxes */
table.infobox {
  border-collapse: collapse;
  border-bottom: 1px solid #ccc;
  background-color: white;
}

.infobox th{
  border-bottom: 1px solid #ccc;
}

.infobox tr{
  border-left: 1px solid #ccc;
  border-right: 1px solid #ccc;
}

.infobox td,
.infobox th{
  padding: 4px;
}

.infobox tr.title th,
.infobox th.title {
  color: #000;
  text-align: center;
}

.infobox td.key{
	width: 15%;
	margin: 2px;
}

.infobox .key div{
  font-size: 100%;
  white-space: nowrap;
  background-color: rgba(51,102,204,.16);
  text-align: center;
  width: 100%;
  font-weight: bold;
  padding: 2px;
}

.infobox.side {
  width: 22em;
  float: right;
  margin-left: 0.5em;
}

.infobox td {
  font-size: 90%;
  text-align: left;
}