Jump to content

Template:Infobox Player/styles.css: Difference between revisions

From VeraciaWiki
No edit summary
No edit summary
 
(5 intermediate revisions by the same user not shown)
Line 7: Line 7:
   border-collapse: collapse;
   border-collapse: collapse;
   table-layout: fixed
   table-layout: fixed
}
.clear {
  clear: both;
}
}


Line 57: Line 53:
.infobox-secondary th {
.infobox-secondary th {
   text-align: left;
   text-align: left;
   text-indent: 0.5em;
   padding-left: 0.5em;
  white-space: normal;
}
}


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

Latest revision as of 14:47, 13 April 2024

.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;
}