Template:Content/styles.css
Jump to navigation
Jump to search
.tile-row {
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 2em;
margin: 2em auto;
max-width: 1200px;
}
/* Each tile card - same size, no borders or effects */
.tile-row > div {
width: 180px;
height: 220px;
padding: 0.5em;
background: none;
border: none;
border-radius: 0;
box-shadow: none;
display: flex;
flex-direction: column;
align-items: center;
text-align: center;
transition: none;
}
/* Remove hover effects */
.tile-row > div:hover {
transform: none;
box-shadow: none;
}
/* Image container - fixed height */
.tile-top {
width: 100%;
height: 100px;
margin-bottom: 0.8em;
display: flex;
justify-content: center;
align-items: center;
}
/* Image scaling */
.tile-top img {
max-height: 100%;
max-width: 100%;
object-fit: contain;
display: block;
}
/* Label under the image */
.tile-bottom {
font-size: 1em;
font-weight: 500;
color: #222;
width: 100%;
text-align: center;
background: none;
border: none;
padding: 0;
}
/* Unstyle links */
.tile-bottom a {
all: unset;
font-size: inherit;
font-weight: inherit;
color: inherit;
cursor: pointer;
display: inline-block;
text-align: center;
line-height: 1.4;
}
/* Optional hover for links only */
.tile-bottom a:hover {
text-decoration: underline;
}
/* Mobile responsiveness */
@media (max-width: 800px) {
.tile-row > div {
flex: 1 1 45%;
width: auto;
height: auto;
}
}