ctdo.de/web/styles/events.css

41 lines
899 B
CSS

div.eventList {
display: flex;
justify-content: space-between;
width: 100%;
padding: 10px 0 10px 0;
}
div.eventList a.event {
display: inline-block;
color: white !important;
background-color: var(--nav-background-color) !important;
margin: 10px 10px 10px 10px;
border-radius: 5px;
}
div.eventList a.event:hover {
text-decoration: none;
}
div.eventList a.event div.event {
max-width: 100%;
width: 200px;
height: 200px;
transform: scale(1);
transition: transform .5s;
padding: 5px 5px 5px 5px;
box-shadow: inset 5px 5px 0px 0px var(--logo-background-color);
}
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;
}