Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:EquipmentCard/styles.css: Difference between revisions

Template page
No edit summary
No edit summary
 
(18 intermediate revisions by 2 users not shown)
Line 1: Line 1:
.equipment-card {
.equipment-card {
padding: 0;
border: 0;
border: 0;
     transition: all 0.3s ease;
     transition: all 0.3s ease;
     display: inline-table;
     display: inline-table;
     margin-bottom: 4px;
     margin: 1px 2px 4px 0px;
    border-radius: 6px;
}
}


.equipment-card:hover {
.equipment-card:hover {
transform: scale(1.04);
box-shadow: 0px 0px 0px 2px #f7bb2b
}
}


Line 14: Line 14:
width: 100px;
width: 100px;
color: #ffffff;
color: #ffffff;
background-color: #d21f3c;
background-color: var(--color-pill);
text-align: center;
display:flex;
align-items:center;
justify-content:center;
font-family: 'Saira Extra Condensed','Nunito','Saira',system-ui,-apple-system,sans-serif;
font-family: 'Saira Extra Condensed','Nunito','Saira',system-ui,-apple-system,sans-serif;
font-weight: bold;
font-weight: bold;
font-size: 16px;
font-size: 0.95em;
font-style: italic;
font-style: italic;
border-radius: 0 0 6px 6px;
border-radius: 0 0 6px 6px;
Line 28: Line 30:
text-decoration: none;
text-decoration: none;
color: #fff;
color: #fff;
display: flex;
justify-content: center;
width: 100%;
}
}


Line 37: Line 42:
.equipment-card__background img {
.equipment-card__background img {
width: 100px;
width: 100px;
height: 110px;
height: 100%;
padding: 5%;
object-position: center;
object-position: center;
object-fit: contain;
object-fit: contain;
border-radius: 6px 6px 0 0;
}
@media only screen and (max-width: 640px) {
  .equipment-card__label {
width: 95px;
font-size: 15px;
  }
  .equipment-card__background img {
  height: 105px;
  width: 95px;
  }
 
}
}

Latest revision as of 07:14, 17 December 2024

.equipment-card {
	border: 0;
    transition: all 0.3s ease;
    display: inline-table;
    margin: 1px 2px 4px 0px;
    border-radius: 6px;
}

.equipment-card:hover {
	box-shadow: 0px 0px 0px 2px #f7bb2b
}

.equipment-card__label {
	width: 100px;
	color: #ffffff;
	background-color: var(--color-pill);
	display:flex;
	align-items:center;
	justify-content:center;
	font-family: 'Saira Extra Condensed','Nunito','Saira',system-ui,-apple-system,sans-serif;
	font-weight: bold;
	font-size: 0.95em;
	font-style: italic;
	border-radius: 0 0 6px 6px;
	text-transform: uppercase;
	overflow: hidden;
}

.equipment-card__label a {
	text-decoration: none;
	color: #fff;
	display: flex;
	justify-content: center;
	width: 100%;
}

.equipment-card__background {
	background: linear-gradient(#808b9a, #d5e2e6);
	border-radius: 6px 6px 0 0;
}

.equipment-card__background img {
	width: 100px;
	height: 100%;
	object-position: center;
	object-fit: contain;
	border-radius: 6px 6px 0 0;
}

@media only screen and (max-width: 640px) {
  .equipment-card__label {
	width: 95px;
	font-size: 15px;
	
  }
  .equipment-card__background img {
  	height: 105px;
  	width: 95px;
  }
  
}