Template:ItemCard/styles.css: Difference between revisions

mNo edit summary
mNo edit summary
 
(One intermediate revision by the same user not shown)
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;
}
}


.itemcard-icon {
.itemcard-content{
   text-align: center;
   width:40%;
  padding-left: 20px;
}
}


.itemcard-stat {
.itemcard-chip{
  display: inline-block;
   border-radius: 10px;
  border: 2px solid #222;
   padding: 3px;
   border-radius: 8px;
  background: #eee;
   padding: 3px 6px;
  margin: 2px;
   white-space: nowrap;
   white-space: nowrap;
  font-weight: bold;
}
}


.simple-style {
/* Individual stat colors */
  background-color: #fdf6e3;
.itemcard-chip.str { background-color: #e28080; }
  color: #333;
.itemcard-chip.dex { background-color: #80b4e2; }
  font-family: sans-serif;
.itemcard-chip.int { background-color: #c080e2; }
  padding: 1em;
.itemcard-chip.luk { background-color: #d9b100; }
}
.itemcard-chip.vit { background-color: #80e2a7; }
.itemcard-chip.agi { background-color: #f5a742; }

Latest revision as of 13:38, 29 May 2025

.itemcard-table {
  margin: 0 auto;
  width: 100%;
  border-collapse: collapse;
  background:#f9f9f9;
}

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

.itemcard-content{
  width:40%;
  padding-left: 20px;
}

.itemcard-chip{
  border-radius: 10px;
  padding: 3px;
  white-space: nowrap;
}

/* Individual stat colors */
.itemcard-chip.str { background-color: #e28080; }
.itemcard-chip.dex { background-color: #80b4e2; }
.itemcard-chip.int { background-color: #c080e2; }
.itemcard-chip.luk { background-color: #d9b100; }
.itemcard-chip.vit { background-color: #80e2a7; }
.itemcard-chip.agi { background-color: #f5a742; }