wf4/app/assets/css/spoiler.css
webfussel 48efe0f75b fix: FAQ in NuxtContent
FAQ converted to NuxtContent
2025-06-10 20:03:42 +02:00

42 lines
No EOL
808 B
CSS

.Spoiler {
background: var(--color-black);
border-radius: 20px;
& .icon {
color: var(--color-orange);
flex: 0 0 1.5rem;
}
& summary {
font-family: 'Roboto Condensed', sans-serif;
font-size: 1.5rem;
cursor: pointer;
list-style: none;
display: flex;
align-items: center;
gap: 1rem;
font-weight: bold;
padding: 1rem 2rem;
border-radius: 20px;
transition: 150ms ease-in-out;
&:hover {
background: rgba(0, 0, 0, .3);
}
}
& > div {
display: flex;
flex-direction: column;
gap: 1rem;
padding: 1rem 2rem;
}
}
@media (width <= 820px) {
.Spoiler {
& summary {
font-size: 1rem;
}
}
}