Jump to content

Template:Infobox Player/styles.css

From VeraciaWiki
Revision as of 14:47, 13 April 2024 by DM (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
.infobox {
  border: 1px solid #000;
  margin: 0 0 0.5em 0.5em;
  padding: 0.5em;
  width: 30%;
  float: right;
  border-collapse: collapse;
  table-layout: fixed
}

.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 {
  text-align: center;
  padding-top: 0;
  margin-top: 0;
}

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

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

.infobox th,
.infobox td {
  padding: 0.25em;
  vertical-align: top;
  font-size: 0.9em;
}

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

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

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

.infobox-secondary-end td {
  border-bottom: 1px solid #000;
}

.infobox-attribute {
  border: 1px solid #000 !important;
  text-align: center !important; 
  text-indent: 0 !important;
}

.infobox-attribute-value {
  border: 1px solid #000 !important;
  text-align: center !important; 
  text-indent: 0 !important;
  font-weight: normal !important;
}