MediaWiki:Common.css: Difference between revisions

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


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


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


Line 21: Line 21:
   padding: 4px;
   padding: 4px;
}
}
.infobox th, .navbar th {
 
  white-space: nowrap;
}
.infobox tr.title th,
.infobox tr.title th,
.infobox th.title {
.infobox th.title {
   color: black;
   color: #000;
   text-align: center;
   text-align: center;
}
}
.infobox .row td {
.infobox .key {
   text-align: left;
   font-size: 110%;
}
  white-space: nowrap;
 
.infobox .row th {
   width: 15%;
   width: 15%;
   background-color: rgba(51, 102, 204, .33);
   background-color: rgba(51, 102, 204, .33);
   border: none;
   text-align: center;
}
}


Line 44: Line 40:
   margin-left: 0.5em;
   margin-left: 0.5em;
}
}
.infobox.side td {
 
.infobox td {
   font-size: 90%;
   font-size: 90%;
  text-align: left;
}
}

Revision as of 18:31, 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 .key {
  font-size: 110%;
  white-space: nowrap;
  width: 15%;
  background-color: rgba(51, 102, 204, .33);
  text-align: center;
}

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

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