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; } .tile-row > div { 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; transition: transform 0.2s, box-shadow 0.2s; } .tile-row > div:hover { transform: scale(1.03); box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); } .tile-top { width: 100%; height: 140px; display: flex; justify-content: center; align-items: center; margin-bottom: 0.8em; overflow: hidden; } .tile-top img { max-height: 100%; max-width: 100%; object-fit: contain; display: block; } .tile-bottom { font-size: 1.05em; font-weight: 600; color: #222; } .tile-bottom a { text-decoration: none; border: none; color: inherit; } @media (max-width: 800px) { .tile-row > div { flex: 1 1 45%; } }