MediaWiki:Common.css: Difference between revisions

The Emma M. Lion Wiki
No edit summary
No edit summary
Line 3: Line 3:
/* infoboxes */
/* infoboxes */
table.infobox {
table.infobox {
   border-collapse: collapse;
   border: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
   background-color: white;
   background-color: white;
}
}


.infobox th{
.infobox th{
   border-bottom: 1px solid #ccc;
   background-color: rgba(179,36,36,.16);
}
}


Line 28: Line 27:
}
}


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



Revision as of 22:31, 3 February 2025

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

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

.infobox th{
  background-color: rgba(179,36,36,.16);
}

.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 .key{
	width: 15%;
	background-color: rgba(51,102,204,.16);
	font-size: 100%;
	white-space: nowrap;
	text-align: center;
	font-weight: bold;
}

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

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