Jump to content

Template:Item infobox/styles.css: Difference between revisions

From Bconomy Wiki
GameReferenceSync (talk | contribs)
Synchronize public game reference data
GameReferenceSync (talk | contribs)
No edit summary
Line 1: Line 1:
.bc-item-infobox {
.bc-infobox {
   float: right;
   float: right;
   clear: right;
   clear: right;
Line 7: Line 7:
   font-size: 90%;
   font-size: 90%;
}
}
.bc-item-infobox th {
.bc-infobox th {
   text-align: left;
   text-align: left;
}
}
.bc-item-infobox td {
.bc-infobox td {
   overflow-wrap: anywhere;
   overflow-wrap: anywhere;
}
}
.bc-item-infobox caption {
.bc-infobox caption {
   font-size: 130%;
   font-size: 130%;
   font-weight: bold;
   font-weight: bold;
   padding: 0.5em;
  box-sizing: border-box;
   padding: 0.65em 0.75em;
  border: 1px solid var(--bc-border, #a2a9b1);
  border-bottom: 0;
  background-color: var(--bc-raised, #eaecf0);
  color: var(--bc-text, #202122);
}
}
.bc-item-picture {
.bc-item-picture {
   text-align: center;
   text-align: center;
  padding-block: 16px;
}
}
.bc-item-infobox .bc-item-tier {
.bc-item-infobox .bc-item-flavor {
   display: block;
   margin: 1em 0 0;
   font-size: 80%;
   padding: 0;
   font-weight: normal;
   border: 0;
}
   background: transparent;
.bc-item-infobox .bc-item-technical {
   font-size: 85%;
   color: var(--bc-muted, #54595d);
   color: var(--bc-muted, #54595d);
  font-style: italic;
  font-size: inherit;
}
}
.bc-item-details {
.bc-item-details {
Line 56: Line 62:
}
}
@media (max-width: 640px) {
@media (max-width: 640px) {
   .bc-item-infobox {
   .bc-infobox {
     float: none;
     float: none;
     width: 100%;
     width: 100%;

Revision as of 15:16, 4 November 2026

.bc-infobox {
  float: right;
  clear: right;
  width: 23em;
  max-width: 100%;
  margin: 0 0 1em 1em;
  font-size: 90%;
}
.bc-infobox th {
  text-align: left;
}
.bc-infobox td {
  overflow-wrap: anywhere;
}
.bc-infobox caption {
  font-size: 130%;
  font-weight: bold;
  box-sizing: border-box;
  padding: 0.65em 0.75em;
  border: 1px solid var(--bc-border, #a2a9b1);
  border-bottom: 0;
  background-color: var(--bc-raised, #eaecf0);
  color: var(--bc-text, #202122);
}
.bc-item-picture {
  text-align: center;
  padding-block: 16px;
}
.bc-item-infobox .bc-item-flavor {
  margin: 1em 0 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--bc-muted, #54595d);
  font-style: italic;
  font-size: inherit;
}
.bc-item-details {
  clear: both;
}
.bc-item-inline-icon {
  display: inline-block;
  width: 20px;
  height: 20px;
  margin-inline-end: 0.35em;
  line-height: 1;
  vertical-align: middle;
}
.bc-item-inline-icon img {
  max-width: 20px;
  max-height: 20px;
  object-fit: contain;
  vertical-align: top;
}
.bc-item-link-tier {
  font-size: 85%;
  white-space: nowrap;
}
.bc-item-loot td:nth-child(n + 2) {
  text-align: right;
  white-space: nowrap;
}
@media (max-width: 640px) {
  .bc-infobox {
    float: none;
    width: 100%;
    margin: 0 0 1em;
  }
}