hecq-et-lesort/assets/css/src/pages/_event.scss
isUnknown 3f9a471203
All checks were successful
Deploy / Deploy to Production (push) Successful in 6s
footer : remove nav links and add logo
2026-06-23 18:36:25 +02:00

146 lines
3.1 KiB
SCSS

[data-template="event"] {
main {
h1 {
margin-top: 4rem;
font-size: var(--font-size-XL);
text-align: center;
line-height: var(--line-height-XL);
}
.main-credits {
text-align: center;
margin: 2rem auto;
display: flex;
width: 83vw;
justify-content: center;
gap: 4vw;
flex-wrap: wrap;
dl {
width: 25vw;
padding-bottom: 0.5em;
dt {
text-transform: uppercase;
font-size: var(--font-size-S);
}
dd {
font-size: var(--font-size-L);
}
}
}
article {
box-sizing: border-box;
width: 100%;
width: 60rem;
margin: 0 auto;
padding: 4rem 0;
p {
font-size: 1.8rem;
line-height: 1.2;
}
}
details {
font-size: var(--font-size-M);
border: var(--border);
border-radius: var(--border-radius);
padding: 1.5rem 2rem;
margin-bottom: calc(-1 * var(--border-radius) * 2);
summary {
list-style: none;
padding: 0 2rem 1rem 2rem;
text-align: center;
font-family: var(--font-sans-serif);
font-weight: 800;
font-size: var(--font-size-L);
scroll-margin-top: 8rem;
&::-webkit-details-marker {
display: none;
}
}
&::before {
content: "";
position: absolute;
font-size: var(--font-size-L);
pointer-events: none;
}
&::marker {
list-style: none;
}
&:open {
&::before {
content: "";
position: absolute;
font-size: var(--font-size-L);
pointer-events: none;
}
padding-bottom: 4rem;
summary {
padding-bottom: 2.5rem;
}
}
&.secondary-credits {
background-color: var(--color-green);
.wrapper {
text-align: center;
p:not(:last-child) {
margin-bottom: 2rem;
}
}
}
&.dates {
background-color: var(--color-beige);
ul {
width: 40rem;
margin: auto;
text-align: center;
li {
padding-bottom: 2rem;
}
}
a.button-link {
border-radius: var(--border-radius);
border: var(--border);
padding: 0.5rem 1rem;
margin-top: var(--line-height-M);
display: block;
width: fit-content;
margin: auto;
}
}
&.presse {
background-color: black;
color: white;
.quotes {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 4rem;
.quote {
text-align: center;
blockquote {
margin-bottom: 2rem;
font-size: 2rem;
&::before {
content: "«";
}
&::after {
content: "»";
}
}
cite {
font-style: normal;
}
}
}
}
}
}
}