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
Line 15: Line 15:
width: 100px;
width: 100px;
color: #ffffff;
color: #ffffff;
background-color: #d21f3c;
background-color: var(--color-pill);
display:flex;
display:flex;
align-items:center;
align-items:center;

Revision as of 01:28, 12 March 2024

.equipment-card {
	padding: 0;
	border: 0;
    transition: all 0.3s ease;
    display: inline-table;
    margin-bottom: 4px;
    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: 16px;
	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: 110px;
	object-position: center;
	object-fit: contain;
}