Template:ItemCard/styles.css: Difference between revisions

Jump to navigation Jump to search
m
no edit summary
m (Test changes)
mNo edit summary
 
Line 3: Line 3:
   width: 100%;
   width: 100%;
   border-collapse: collapse;
   border-collapse: collapse;
  background:#f9f9f9;
}
}


.itemcard-table td {
.itemcard-image{
   vertical-align: top;
  width:20%;
   padding: 10px;
  text-align:center;
   vertical-align:middle;
   padding: 30px;
}
}


/* Flex container for stat chips */
.itemcard-content{
.itemcard-chips {
   width:40%;
   display: flex;
   padding-left: 20px;
   flex-wrap: wrap;
  gap: 5px;
}
}


/* Base chip style */
.itemcard-chip{
.itemcard-chip {
   border-radius: 10px;
  display: inline-block;
   padding: 3px;
   border-radius: 8px;
   padding: 3px 6px;
   white-space: nowrap;
   white-space: nowrap;
  font-weight: bold;
  font-size: 0.9em;
  color: #fff;
}
}


Line 35: Line 31:
.itemcard-chip.vit { background-color: #80e2a7; }
.itemcard-chip.vit { background-color: #80e2a7; }
.itemcard-chip.agi { background-color: #f5a742; }
.itemcard-chip.agi { background-color: #f5a742; }
/* Keep for legacy use or icon formatting */
.itemcard-icon {
  text-align: center;
}
/* Optional: for other inline stat displays */
.itemcard-stat {
  display: inline-block;
  border: 2px solid #222;
  border-radius: 8px;
  background: #eee;
  padding: 3px 6px;
  margin: 2px;
  white-space: nowrap;
  font-weight: bold;
}
/* Optional legacy theme block */
.simple-style {
  background-color: #fdf6e3;
  color: #333;
  font-family: sans-serif;
  padding: 1em;
}
member
1,308

edits

Navigation menu