www-new/components/MiniEventCard.module.css

44 lines
581 B
CSS

.miniEventCard {
max-width: 936px;
box-sizing: border-box;
position: relative;
color: var(--purple-2);
padding: 1.25rem;
font-size: 0.875rem;
}
.name {
display: flex;
font-size: 1.125rem;
margin: 0;
}
.nameSpacer {
width: 140px;
}
.info {
margin-top: 0;
}
.details {
position: absolute;
top: 0;
right: 0;
cursor: pointer;
color: var(--blue-2);
margin: 1.25rem;
}
.miniEventCard[open] .shortDescription {
display: none;
}
.miniEventCard[open] .dropDownIcon {
transform: rotate(180deg);
}
.miniEventCard > summary {
list-style: none;
}