ctdo.de/web/styles/events.css

43 lines
941 B
CSS

div.eventList {
display: flex;
justify-content: space-between;
width: 100%;
padding: 10px 0 10px 0;
flex-wrap: wrap;
}
div.eventList a.event {
display: inline-block;
color: white !important;
margin: 10px 10px 10px 10px;
max-width: 80%;
}
div.eventList a.event:hover {
text-decoration: none !important;
}
div.eventList a.event div.event {
max-width: 100%;
width: 420px;
min-height: 200px;
height: auto;
transform: scale(1);
transition: transform .5s;
padding: 10px 10px 10px 10px;
box-shadow: inset 5px 5px 0px 0px var(--logo-background-color);
background-color: var(--nav-background-color) !important;
border-radius: 5px;
}
div.eventList a.event:hover div.event {
transform: scale(.95);
transition: transform .5s;
}
div.eventList a.event div.event p.date {
text-align: right;
padding: 0 10px 0 0;
margin: 0;
word-wrap: break-word;
}