Welcome to Wars Wiki!
Welcome, new users! For help on where to start, look at our getting started page and our manual of style. Need more help? Ask a staff member!

Template:Infobox style/styles.css

From Wars Wiki
Jump to navigationJump to search
/* Wars Wiki infobox styling */
.ww-infobox {
  border-style: solid;
  border-width: 3px;
}

.ww-infobox .wwi-title {
  font-size: 110%;
  padding: 2px;
  text-align: center;
}

.ww-infobox .wwi-image {
  background: #FFF;
  padding: 0;
  text-align: center;
}

.ww-infobox .wwi-image-sprite { /* Recommended for resizing small sprites under 64px only */
  image-rendering: crisp-edges; /* Firefox */
  image-rendering: pixelated; /* Chromium + Safari */
}

.ww-infobox .wwi-header {
  border-style: solid;
  border-width: 3px 15px 0;
  text-align: center;
}

.ww-infobox .wwi-data-label {
  text-align: right;
  width: 40%;
}

.ww-infobox .wwi-data-value {
  background: #FFF;
}

.ww-infobox .wwi-data-multicolumn {
  background: none;
  border: 0;
  margin: 0;
  padding: 0;
  width: 100%;
}

.ww-infobox .wwi-data-multicolumn td:not(:last-child) {
  border-right: 1px dotted #aaa;
}

.ww-infobox .wwi-data-value > ul,
.ww-infobox .wwi-data-multicolumn td > ul {
  margin: 0 0 0 1em;
}