Jump to content

Template:Infobox Player/styles.css

From VeraciaWiki
.infobox {
  border: 1px solid #000;
  margin: 0 0 0.5em 0.5em;
  padding: 0.5em;
  width: 20%;
  float: right;
  border-collapse: collapse;
}

.clear {
  clear: both;
}

.infobox .infobox-title {
  font-size: 1.5em;
  font-weight: bold;
  text-align: center;
  text-indent: 0;
  padding-bottom: 0;
  margin-bottom: 0;
}

.infobox-race-class {
  background: #bbb;
  text-align: center;
  padding-top: 0;
  margin-top: 0;
}

.infobox-primary .infobox-image {
  text-align: center;
  padding: 0;
  margin: 0;
}

.infobox-image-quote {
  font-style: italic;
  text-align: center;
  vertical-align: top;
  background: #bbb;
  padding-bottom: 20px;
  padding-top: 0;
}

.infobox th,
.infobox td {
  padding: 0.25em;
}

.infobox-primary {
  background: #bbb;
}

.infobox-primary-end th {
  background: #bbb;
  border: 1px solid #000;
  vertical-align: middle;
}

.infobox-secondary {
  background: #ddd;
}

.infobox-secondary th {
  text-align: left;
  text-indent: 0.5em;
}

.infobox-secondary-end th {
  background: #ddd;
  border-bottom: 1px solid #000;
  text-align: left;
  text-indent: 0.5em;
}
.infobox-secondary-end td {
  background: #ddd;
  border-bottom: 1px solid #000;
}

.infobox-attributes th,
.infobox-attributes td {
  width: 16.67%; /* 100% divided by 6 columns */
}