Extrait le style onglet-bas en classes réutilisables (.bottom-tab, .bottom-tab--invert) dans _generic.scss. Appliqué aux boutons de filtre et à l'étiquette infos des cartes événement. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
53 lines
1.2 KiB
SCSS
53 lines
1.2 KiB
SCSS
[data-template="events"] {
|
|
.events-grid {
|
|
box-sizing: border-box;
|
|
padding: 0 var(--space-body);
|
|
padding-top: 11rem;
|
|
width: 100%;
|
|
display: grid;
|
|
grid-template-columns: repeat(3, 1fr);
|
|
align-items: flex-end;
|
|
gap: 3rem;
|
|
background-color: var(--color-beige);
|
|
|
|
.event-card {
|
|
h2 {
|
|
box-sizing: border-box;
|
|
width: 100%;
|
|
padding: 0 6rem;
|
|
text-align: center;
|
|
font-family: "SancySlab", serif;
|
|
font-size: 3rem;
|
|
font-weight: 400;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: flex-end;
|
|
}
|
|
|
|
.cover-wrapper {
|
|
position: relative;
|
|
overflow: hidden;
|
|
margin-top: 1rem;
|
|
.playing-now {
|
|
position: absolute;
|
|
top: 2.5rem;
|
|
left: -2.6rem;
|
|
transform: rotate(-45deg);
|
|
width: 12rem;
|
|
text-align: center;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
background-color: var(--color-beige);
|
|
|
|
p {
|
|
width: max-content;
|
|
padding: 0.2rem 0.5rem;
|
|
font-family: "Bartok", sans-serif;
|
|
font-weight: 600;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|