ctdo.de/web/styles/events.css

41 lines
843 B
CSS

div.eventList {
display: flex;
justify-content: space-around;
width: 100%;
padding: 10px 0 10px 0;
}
div.eventList a.event {
display: inline-block;
position: relative;
}
div.eventList a.event:hover {
text-decoration: none;
color: white !important;
}
div.eventList a.event div.event {
display: inline-block;
position: relative;
max-width: 200px;
width: 100%;
height: 200px;
background-color: var(--nav-background-color) !important;
border-radius: 10px;
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;
}