Template:Item/style.css: Difference between revisions

From Rebornia Wiki
No edit summary
No edit summary
Line 16: Line 16:
   padding: 3px;
   padding: 3px;
   line-height: 1;
   line-height: 1;
}
.itembox .item-count > p {
  padding: 0;
  margin: 0;
}
}

Revision as of 02:23, 6 May 2024

.itembox {
  width: 50px;
  height: 50px;
  background-color: #ddd;
  border-radius: 5px;

  position: relative;
}

.itembox .item-count {
  position: absolute;
  bottom: 0;
  right: 0;
  background-color: rgba(0, 0, 0, 0.5);
  color: #fff;
  padding: 3px;
  line-height: 1;
}

.itembox .item-count > p {
  padding: 0;
  margin: 0;
}