Difference between revisions of "MediaWiki:Common.css"

From Highway 0, the Kentucky Route Zero wiki
Jump to navigation Jump to search
Line 24: Line 24:
 
.infobox td {
 
.infobox td {
 
   vertical-align: top;
 
   vertical-align: top;
 +
}
 +
 +
table.ambox {
 +
  margin: 0 10%;
 +
  border: 1px solid #a2a9b1;
 +
  border-left: 10px solid #36c;
 +
  background: #fbfbfb
 +
}
 +
table.ambox-content {
 +
  border-left: 10px solid #f28500;
 +
}
 +
.mbox-small-left {
 +
  margin: 4px 1em 4px 0;
 +
  box-sizing: border-box;
 +
  overflow: hidden;
 +
  width: 238px;
 +
  border-collapse: collapse;
 +
  font-size: 88%;
 +
  line-height: 1.25em;
 +
}
 +
.ambox th.mbox-text,
 +
.ambox td.mbox-text {
 +
  padding: 0.25em 0.5em;
 +
  width: 100%;
 +
  border: none;
 
}
 
}

Revision as of 11:38, 31 January 2018

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

.infobox {
  background: #eee;
  border: 1px solid #aaa;
  float: right;
  margin: 0 0 1em 1em;
  padding: 1em;
  width: 300px;
}
.infobox-title {
  font-size: 1.5em;
  font-weight: bold;
  text-align: center;
}
.infobox-image {
  text-align: center;
}
.infobox th {
  text-align: right;
  vertical-align: top;
  width: 120px;
}
.infobox td {
  vertical-align: top;
}

table.ambox {
  margin: 0 10%;
  border: 1px solid #a2a9b1;
  border-left: 10px solid #36c;
  background: #fbfbfb
}
table.ambox-content {
  border-left: 10px solid #f28500;
}
.mbox-small-left {
  margin: 4px 1em 4px 0;
  box-sizing: border-box;
  overflow: hidden;
  width: 238px;
  border-collapse: collapse;
  font-size: 88%;
  line-height: 1.25em;
}
.ambox th.mbox-text,
.ambox td.mbox-text {
  padding: 0.25em 0.5em;
  width: 100%;
  border: none;
}