ctdo.de/styles/events.css

49 lines
1.0 KiB
CSS
Raw Normal View History

div.eventList {
display: flex;
2023-01-29 19:45:44 +00:00
justify-content: space-between;
width: 100%;
padding: 10px 0 10px 0;
2023-01-29 19:34:22 +00:00
flex-wrap: wrap;
}
div.eventList a.event {
display: inline-block;
2023-01-29 18:09:09 +00:00
color: white !important;
2023-01-29 19:13:21 +00:00
margin: 10px 10px 10px 10px;
2023-01-29 19:56:32 +00:00
max-width: 80%;
}
div.eventList a.event:hover {
2023-01-29 19:41:01 +00:00
text-decoration: none !important;
}
div.eventList a.event div.event {
2023-01-29 19:05:52 +00:00
max-width: 100%;
2023-01-29 19:17:42 +00:00
width: 420px;
2023-01-29 19:41:01 +00:00
min-height: 200px;
height: auto;
transform: scale(1);
transition: transform .5s;
2023-01-29 19:34:22 +00:00
padding: 10px 10px 10px 10px;
2023-01-29 19:13:21 +00:00
box-shadow: inset 5px 5px 0px 0px var(--logo-background-color);
2023-01-29 19:18:47 +00:00
background-color: var(--nav-background-color) !important;
border-radius: 5px;
}
2023-01-29 19:34:22 +00:00
div.eventList a.event:hover div.event {
transform: scale(.95);
transition: transform .5s;
2023-01-29 19:34:22 +00:00
}
div.eventList a.event div.event p.date {
2023-01-29 19:17:42 +00:00
text-align: right;
2023-01-29 19:20:45 +00:00
padding: 0 10px 0 0;
margin: 0;
2023-01-29 19:41:01 +00:00
word-wrap: break-word;
2023-01-29 19:57:38 +00:00
}
@media only screen and (max-width: 885px) {
div.eventList {
justify-content: space-around;
}
}