Jump to content

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

From VeraciaWiki
No edit summary
No edit summary
Line 4: Line 4:
   margin: 0 0 0.5em 0.5em;
   margin: 0 0 0.5em 0.5em;
   padding: 0.5em;
   padding: 0.5em;
   width: auto; /* Removed fixed width */
   width: auto;
}
}


.infobox th, .infobox td {
.infobox th, .infobox td {
   padding: 0.25em; /* Added padding for table cells */
   padding: 0.25em;
}
}


Line 17: Line 17:
}
}


.infobox-race-class {
.infobox tr infobox-race-class {
   text-align: center;
   text-align: center;
}
.infobox-image {
  /* Removed since image is now inside a cell */
}
}


Line 28: Line 24:
   font-style: italic;
   font-style: italic;
}
}
/* No changes needed for .infobox-table th and .infobox-table td  */

Revision as of 16:50, 4 April 2024

.infobox {
  background: #eee;
  border: 1px solid #aaa;
  margin: 0 0 0.5em 0.5em;
  padding: 0.5em;
  width: auto;
}

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

.infobox-title {
  font-size: 1.5em;
  font-weight: bold;
  text-align: center;
}

.infobox tr infobox-race-class {
  text-align: center;
}

.infobox-image-quote {
  font-style: italic;
}