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

Template:HeaderGridCards/styles.css: Difference between revisions

Template page
No edit summary
No edit summary
 
(27 intermediate revisions by 2 users not shown)
Line 3: Line 3:
border: 0;
border: 0;
     transition: all 0.3s ease;
     transition: all 0.3s ease;
     display: flex;
     display: inline-table;
     flex-direction: column;
     margin: 3px;
}
}


Line 26: Line 26:
}
}


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


.category-card__background {
.category-card__background {
Line 40: Line 33:


.category-card__background img {
.category-card__background img {
width: 100%;
width: 100px;
height: auto;
height: auto;
padding: 20%;
padding: 20%;
object-position: center;
object-position: center;
}
.card--col2 {
grid-column: span 2;
}
.card--col3 {
grid-column: span 3;
}
.card--row2 {
grid-row: span 2;
}
.card--row6 {
grid-row: span 6;
}
.card--row4 {
grid-row: span 4;
}
.card--row3 {
grid-row: span 3;
}
.card--row8 {
grid-row: span 8/auto;
}
.card--text {
margin-top: 0px;
padding: 15px;
}
.card--centeralign {
text-align: center;
}
.max-width-540 {
max-width: 540px;
}
}

Latest revision as of 14:39, 22 November 2023

.category-card {
	padding: 0;
	border: 0;
    transition: all 0.3s ease;
    display: inline-table;
    margin: 3px;
}

.category-card:hover {
	transform: scale(1.04);
}

.category-card__label {
	width: 100%;
	color: #ffffff;
	background-color: #d21f3c;
	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: 26px;
	font-style: italic;
	border-radius: 0 0 6px 6px;
	text-transform: uppercase;
}


.category-card__background {
	background: #f1f2f4;
	border-radius: 6px 6px 0 0;
}

.category-card__background img {
	width: 100px;
	height: auto;
	padding: 20%;
	object-position: center;
}