Template:Content/styles.css
Jump to navigation
Jump to search
/* Row layout for tiles */
.tile-row {
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 2em;
margin: 2em auto;
max-width: 1200px;
}
/* Each tile (wrapped in a wiki link) */
.tile {
background: #fdfaf3;
border: 1px solid #c8b68e;
border-radius: 8px;
padding: 1em;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
flex: 1 1 180px;
max-width: 200px;
display: flex;
flex-direction: column;
align-items: center;
text-align: center;
text-decoration: none;
color: #222;
transition: transform 0.2s, box-shadow 0.2s;
}
.tile:hover {
transform: scale(1.03);
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
/* Image inside tile */
.tile img {
max-width: 100%;
height: auto;
object-fit: contain;
display: block;
margin-bottom: 0.8em;
}
/* Text inside tile */
.tile span {
font-size: 1.05em;
font-weight: 600;
color: #222;
line-height: 1.4;
}
/* Reset default link styling */
.tile a,
.tile span a {
background: none;
border: none;
padding: 0;
margin: 0;
text-decoration: none;
color: #222;
}
.tile a:hover,
.tile span a:hover {
text-decoration: underline;
color: #000;
}
/* Mobile responsiveness */
@media (max-width: 800px) {
.tile {
flex: 1 1 45%;
}
}