div.eventList { display: flex; justify-content: space-around; width: 100%; padding: 10px 0 10px 0; } div.eventList a.event { display: inline-block; color: white !important; background-color: var(--nav-background-color) !important; } div.eventList a.event:hover { text-decoration: none; } div.eventList a.event div.event { max-width: 200px; width: 100%; height: 200px; border-radius: 45deg; transform: scale(1); transition: transform .5s; } div.eventList a.event div.event:hover { transform: scale(.95); transition: transform .5s; text-decoration: underline; } div.eventList a.event div.event p.date { position: absolute; right: 10px; top: 10px; text-decoration: none !important; }