Template:Content/styles.css: Difference between revisions
Jump to navigation
Jump to search
No edit summary Tag: Reverted |
No edit summary Tag: Reverted |
||
Line 1: | Line 1: | ||
.tile-row { | .tile-row { | ||
display: flex; | |||
flex-wrap: wrap; | |||
justify-content: center; | |||
gap: 30px; | |||
margin-bottom: 40px; | |||
} | } | ||
.tile { | .tile { | ||
width: 200px; | |||
text-decoration: none; | |||
color: inherit; | |||
} | } | ||
.tile: | .tile-inner { | ||
background-color: #fefaf1; | |||
border-radius: 10px; | |||
padding: 20px; | |||
box-shadow: 0 4px 8px rgba(0,0,0,0.15); | |||
text-align: center; | |||
transition: transform 0.2s ease; | |||
} | } | ||
.tile-inner:hover { | |||
.tile | transform: scale(1.03); | ||
} | } | ||
.tile-inner img { | |||
.tile | max-width: 100%; | ||
height: auto; | |||
object-fit: contain; | |||
display: block; | |||
margin: 0 auto 10px; | |||
} | } | ||
.tile-inner span { | |||
display: block; | |||
.tile span | font-weight: bold; | ||
font-size: 1.1em; | |||
margin-top: 8px; | |||
color: #222; | |||
} | } |
Revision as of 05:44, 26 July 2025
.tile-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 30px; margin-bottom: 40px; } .tile { width: 200px; text-decoration: none; color: inherit; } .tile-inner { background-color: #fefaf1; border-radius: 10px; padding: 20px; box-shadow: 0 4px 8px rgba(0,0,0,0.15); text-align: center; transition: transform 0.2s ease; } .tile-inner:hover { transform: scale(1.03); } .tile-inner img { max-width: 100%; height: auto; object-fit: contain; display: block; margin: 0 auto 10px; } .tile-inner span { display: block; font-weight: bold; font-size: 1.1em; margin-top: 8px; color: #222; }