Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.
Raid (talk | contribs)
No edit summary
Tag: Manual revert
Raid (talk | contribs)
No edit summary
Line 1: Line 1:
.cosmetic-card {
/* Item card */
.item-card {
display: inline-block;
display: inline-block;
width: 115px;
width: 115px;
Line 6: Line 7:
}
}


.cosmetic-card__background {
.item-card__background {
border-radius: 6px;
border-radius: 6px;
}
}
Line 14: Line 15:
}
}


.cosmetic-card__background img {
.item-card__background img {
width: 115px;
width: 115px;
height: 115px;
height: 115px;
Line 20: Line 21:
}
}


.cosmetic-card__optional {
.item-card__optional {
text-align: center;  
text-align: center;  
color: #B9BABC;  
color: #B9BABC;  
Line 34: Line 35:
}
}


.cosmetic-card__optional--above {
.item-card__optional--above {
margin-top: 0px;
margin-top: 0px;
margin-bottom: 4px;
margin-bottom: 4px;
}
}


.cosmetic-card__name {
.item-card__name {
text-align: center;  
text-align: center;  
color: gray;  
color: gray;  
margin-top: 8px;
margin-top: 8px;
font-size: 13px;
font-size: 13px;
}
@media only screen and (max-width: 640px) {
  .item-card {
width: 105px;
  }
 
  .item-card__background img {
  height: 105px;
  width: 105px;
  }
 
}
/* Cosmetic card */
.cosmetic-card__background {
border-radius: 6px 6px 0 0;
}
.cosmetic-card__background .image {
border-radius: 6px 6px 0 0;
}
.cosmetic-card__background img {
width: 115px;
height: 115px;
object-position: center;
}
}


Line 69: Line 97:


@media only screen and (max-width: 640px) {
@media only screen and (max-width: 640px) {
  .cosmetic-card {
width: 105px;
  }
   .cosmetic-card__background img {
   .cosmetic-card__background img {
   height: 105px;
   height: 105px;

Revision as of 15:17, 14 October 2024

/* Item card */
.item-card {
	display: inline-block;
	width: 115px;
	margin: 6px 6px 6px 0;
	vertical-align:top;
}

.item-card__background {
	border-radius: 6px;
}

.cosmetic-card__background .image {
	border-radius: 6px;
}

.item-card__background img {
	width: 115px;
	height: 115px;
	object-position: center;
}

.item-card__optional {
	text-align: center; 
	color: #B9BABC; 
	background-color: #302b36; 
	margin-top: 4px; 
	border-radius: 4px; 
	text-transform: uppercase; 
	font-weight: bold; 
	font-size: 18px; 
	font-family: 'Saira Extra Condensed', 'Nunito','Saira',system-ui,-apple-system,sans-serif;
	line-height: 1.4;
	font-style: italic;
}

.item-card__optional--above {
	margin-top: 0px;
	margin-bottom: 4px;
}

.item-card__name {
	text-align: center; 
	color: gray; 
	margin-top: 8px;
	font-size: 13px;
}

@media only screen and (max-width: 640px) {
  .item-card {
	width: 105px;
  }
  
  .item-card__background img {
  	height: 105px;
  	width: 105px;
  }
  
}

/* Cosmetic card */
.cosmetic-card__background {
	border-radius: 6px 6px 0 0;
}

.cosmetic-card__background .image {
	border-radius: 6px 6px 0 0;
}

.cosmetic-card__background img {
	width: 115px;
	height: 115px;
	object-position: center;
}

.cosmetic-card__line {
	height: 10px; 
	border-radius: 0 0 6px 6px;
	background-color: var(--rarity-none);
}

.cosmetic-card__legendary {
	background-color: var(--rarity-legendary);
}

.cosmetic-card__epic {
	background-color: var(--rarity-epic);
}

.cosmetic-card__rare {
	background-color: var(--rarity-rare);
}

.cosmetic-card__common {
	background-color: var(--rarity-common);
}

@media only screen and (max-width: 640px) {
  .cosmetic-card__background img {
  	height: 105px;
  	width: 105px;
  }
  
}