CSS > styles
All checks were successful
Deploy / Deploy to Production (push) Successful in 9s

This commit is contained in:
Camilledenoray 2026-06-24 02:56:18 +02:00
parent b189e56723
commit c812664c3a
2 changed files with 92 additions and 148 deletions

View file

@ -42,7 +42,7 @@ img {
width: 100%;
height: auto;
-o-object-fit: contain;
object-fit: contain;
object-fit: contain;
}
a {
@ -91,36 +91,31 @@ main {
}
@font-face {
font-family: "SancySlab";
src: url("/assets/fonts/for-sancyslabunlicensedtrial-italic.otf")
format("opentype");
src: url("/assets/fonts/for-sancyslabunlicensedtrial-italic.otf") format("opentype");
font-weight: normal;
font-style: italic;
}
@font-face {
font-family: "SancySlab";
src: url("/assets/fonts/for-sancyslabunlicensedtrial-light.otf")
format("opentype");
src: url("/assets/fonts/for-sancyslabunlicensedtrial-light.otf") format("opentype");
font-weight: 200;
font-style: normal;
}
@font-face {
font-family: "SancySlab";
src: url("/assets/fonts/for-sancyslabunlicensedtrial-lightitalic.otf")
format("opentype");
src: url("/assets/fonts/for-sancyslabunlicensedtrial-lightitalic.otf") format("opentype");
font-weight: 200;
font-style: italic;
}
@font-face {
font-family: "SancySlab";
src: url("/assets/fonts/for-sancyslabunlicensedtrial-thin.otf")
format("opentype");
src: url("/assets/fonts/for-sancyslabunlicensedtrial-thin.otf") format("opentype");
font-weight: 100;
font-style: normal;
}
@font-face {
font-family: "SancySlab";
src: url("/assets/fonts/for-sancyslabunlicensedtrial-thinitalic.otf")
format("opentype");
src: url("/assets/fonts/for-sancyslabunlicensedtrial-thinitalic.otf") format("opentype");
font-weight: 100;
font-style: italic;
}
@ -181,6 +176,7 @@ button {
img {
display: block;
border-radius: var(--border-radius);
}
picture {
@ -370,45 +366,45 @@ main {
transform: rotateX(1800deg);
}
}
[data-template="home"] {
[data-template=home] {
background-color: var(--color-beige);
width: 100vw;
height: 100vh;
overflow: hidden;
}
[data-template="home"] nav {
[data-template=home] nav {
position: absolute;
inset: 0;
z-index: 2;
}
[data-template="home"] nav ul {
[data-template=home] nav ul {
display: grid;
grid-template-columns: repeat(2, 1fr);
height: 100vh;
box-sizing: border-box;
padding: 1rem;
}
[data-template="home"] nav ul li:nth-child(2) {
[data-template=home] nav ul li:nth-child(2) {
justify-self: flex-end;
}
[data-template="home"] nav ul li:nth-child(3) {
[data-template=home] nav ul li:nth-child(3) {
align-self: flex-end;
}
[data-template="home"] nav ul li:nth-child(4) {
[data-template=home] nav ul li:nth-child(4) {
justify-self: flex-end;
align-self: flex-end;
}
[data-template="home"] nav ul li a {
[data-template=home] nav ul li a {
font-size: 3rem;
}
[data-template="home"] .mention {
[data-template=home] .mention {
position: absolute;
bottom: 1.7rem;
width: 100%;
text-align: center;
text-transform: uppercase;
}
[data-template="home"] .identity {
[data-template=home] .identity {
position: relative;
height: 100vh;
width: 100%;
@ -417,40 +413,35 @@ main {
justify-content: center;
align-items: center;
}
[data-template="home"] .identity .outfit {
[data-template=home] .identity .outfit {
position: absolute;
width: 85%;
height: 85%;
-o-object-fit: contain;
object-fit: contain;
object-fit: contain;
transform-origin: center center;
transform-style: preserve-3d;
opacity: 0;
transform: translateY(0);
}
[data-template="home"] .identity .outfit.active {
[data-template=home] .identity .outfit.active {
opacity: 1;
}
[data-template="home"] .identity[data-mode="flip"] .outfit {
transition:
opacity 0.01s ease-in-out,
width 0.7s var(--curve),
transform 0.7s var(--curve) 0.2s;
[data-template=home] .identity[data-mode=flip] .outfit {
transition: opacity 0.01s ease-in-out, width 0.7s var(--curve), transform 0.7s var(--curve) 0.2s;
animation: flip 3s var(--curve);
}
[data-template="home"] .identity[data-mode="fade"] .outfit {
transition:
width 0.7s var(--curve),
transform 0.7s var(--curve) 0.2s;
[data-template=home] .identity[data-mode=fade] .outfit {
transition: width 0.7s var(--curve), transform 0.7s var(--curve) 0.2s;
}
[data-template="home"] #log-angle {
[data-template=home] #log-angle {
position: fixed;
top: 0;
left: 0;
padding: 1rem;
background-color: #fff;
}
[data-template="home"] .logo {
[data-template=home] .logo {
position: absolute;
transform: translateY(-100vh);
transition: transform 1s var(--curve);
@ -462,25 +453,23 @@ main {
font-size: 15rem;
line-height: 0.8;
}
[data-template="home"][data-animation-state="finished"] .identity .logo {
[data-template=home][data-animation-state=finished] .identity .logo {
transform: translateY(-18vh);
}
[data-template="home"][data-animation-state="finished"] .identity .outfit {
[data-template=home][data-animation-state=finished] .identity .outfit {
width: 36rem;
transform: translateY(18vh);
}
[data-template="events"] .filters {
[data-template=events] .filters {
position: relative;
width: 100%;
display: flex;
padding-top: 2rem;
}
[data-template="events"] .filters button {
[data-template=events] .filters button {
transform: translateY(0rem);
transition:
background-color 0.2s var(--curve),
transform 0.3s var(--curve);
transition: background-color 0.2s var(--curve), transform 0.3s var(--curve);
padding: 0.7rem;
position: relative;
bottom: 0;
@ -489,15 +478,15 @@ main {
border-bottom: 0;
font-size: var(--font-size-S);
}
[data-template="events"] .filters button:first-child {
[data-template=events] .filters button:first-child {
margin-left: 0;
}
[data-template="events"] .filters button.active {
[data-template=events] .filters button.active {
bottom: calc(-1 * var(--border-width));
margin-top: calc(-1 * var(--border-width));
padding-top: calc(0.7rem - var(--border-width));
}
[data-template="events"] main .events-grid {
[data-template=events] main .events-grid {
box-sizing: border-box;
padding: 4rem 2rem;
width: 100%;
@ -505,14 +494,14 @@ main {
grid-template-columns: repeat(3, 1fr);
align-items: flex-end;
-moz-column-gap: 2rem;
column-gap: 2rem;
column-gap: 2rem;
row-gap: 4rem;
background-color: var(--color-beige);
border-radius: var(--radius);
border-top-left-radius: 0;
border: var(--border);
}
[data-template="events"] main .events-grid .event-card h2 {
[data-template=events] main .events-grid .event-card h2 {
box-sizing: border-box;
width: 100%;
padding: 0 2rem;
@ -525,17 +514,12 @@ main {
justify-content: center;
align-items: flex-end;
}
[data-template="events"] main .events-grid .event-card .cover-wrapper {
[data-template=events] main .events-grid .event-card .cover-wrapper {
position: relative;
overflow: hidden;
margin-top: 1rem;
}
[data-template="events"]
main
.events-grid
.event-card
.cover-wrapper
.playing-now {
[data-template=events] main .events-grid .event-card .cover-wrapper .playing-now {
position: absolute;
display: flex;
justify-content: center;
@ -555,44 +539,27 @@ main {
padding: 0 0.15rem 0.3rem 0.15rem;
line-height: 1;
}
[data-template="events"]
main
.events-grid
.event-card
.cover-wrapper
.playing-now
p {
[data-template=events] main .events-grid .event-card .cover-wrapper .playing-now p {
width: -moz-max-content;
width: max-content;
padding: 0.2rem 0.5rem;
font-family: var(--font-serif);
}
[data-template="events"]
main
.events-grid
.event-card
.cover-wrapper
.hover-glow {
[data-template=events] main .events-grid .event-card .cover-wrapper .hover-glow {
position: absolute;
inset: 0;
box-shadow: inset 0 0 0px 0 0 var(--color-green);
border-radius: 0.8rem;
transition: box-shadow 0.2s ease-in-out;
}
[data-template="events"]
main
.events-grid
.event-card
.cover-wrapper
picture
img {
[data-template=events] main .events-grid .event-card .cover-wrapper picture img {
border-radius: 0.8rem;
}
[data-template="events"] main .events-grid .event-card:hover .hover-glow {
[data-template=events] main .events-grid .event-card:hover .hover-glow {
box-shadow: inset 0 0 7px 5px var(--color-green);
}
[data-template="event"] main h1 {
[data-template=event] main h1 {
width: var(--main-block-width);
max-width: 100%;
padding-top: 4rem;
@ -602,7 +569,7 @@ main {
text-align: center;
line-height: var(--line-height-XL);
}
[data-template="event"] main .main-credits {
[data-template=event] main .main-credits {
text-align: center;
margin: 2rem auto;
display: flex;
@ -612,38 +579,38 @@ main {
gap: 4vw;
flex-wrap: wrap;
}
[data-template="event"] main .main-credits dl {
[data-template=event] main .main-credits dl {
width: 25vw;
padding-bottom: 0.5em;
}
[data-template="event"] main .main-credits dl dt {
[data-template=event] main .main-credits dl dt {
text-transform: uppercase;
font-size: var(--font-size-S);
letter-spacing: var(--letter-space-large);
}
[data-template="event"] main .main-credits dl dd {
[data-template=event] main .main-credits dl dd {
font-size: var(--font-size-L);
}
[data-template="event"] main article {
[data-template=event] main article {
box-sizing: border-box;
width: var(--main-block-width);
max-width: 100%;
margin: 0 auto;
padding: var(--line-height-M);
}
[data-template="event"] main article p {
[data-template=event] main article p {
font-size: 1.8rem;
font-weight: 200;
line-height: 1.2;
}
[data-template="event"] main details {
[data-template=event] main details {
font-size: var(--font-size-M);
border: var(--border);
border-radius: var(--radius);
padding: 1.5rem 2rem;
margin-bottom: calc(-1 * var(--radius) * 2);
}
[data-template="event"] main details summary {
[data-template=event] main details summary {
list-style: none;
padding: 0 2rem 1rem 2rem;
text-align: center;
@ -652,55 +619,51 @@ main {
font-size: var(--font-size-L);
scroll-margin-top: 8rem;
}
[data-template="event"] main details summary::-webkit-details-marker {
[data-template=event] main details summary::-webkit-details-marker {
display: none;
}
[data-template="event"] main details::before {
[data-template=event] main details::before {
content: "→";
position: absolute;
font-size: var(--font-size-L);
pointer-events: none;
}
[data-template="event"] main details::marker {
[data-template=event] main details::marker {
list-style: none;
}
[data-template="event"] main details:open::before {
[data-template=event] main details:open::before {
content: "↓";
position: absolute;
font-size: var(--font-size-L);
pointer-events: none;
}
[data-template="event"] main details:open {
[data-template=event] main details:open {
padding-bottom: 4rem;
}
[data-template="event"] main details:open summary {
[data-template=event] main details:open summary {
padding-bottom: 2.5rem;
}
[data-template="event"] main details.secondary-credits {
[data-template=event] main details.secondary-credits {
background-color: var(--color-green);
}
[data-template="event"] main details.secondary-credits .wrapper {
[data-template=event] main details.secondary-credits .wrapper {
text-align: center;
}
[data-template="event"]
main
details.secondary-credits
.wrapper
p:not(:last-child) {
[data-template=event] main details.secondary-credits .wrapper p:not(:last-child) {
margin-bottom: 2rem;
}
[data-template="event"] main details.dates {
[data-template=event] main details.dates {
background-color: var(--color-beige);
}
[data-template="event"] main details.dates ul {
[data-template=event] main details.dates ul {
width: 40rem;
margin: auto;
text-align: center;
}
[data-template="event"] main details.dates ul li {
[data-template=event] main details.dates ul li {
padding-bottom: 2rem;
}
[data-template="event"] main details.dates a.button-link {
[data-template=event] main details.dates a.button-link {
border-radius: var(--radius);
border: var(--border);
padding: 0.5rem 1rem;
@ -710,63 +673,63 @@ main {
width: fit-content;
margin: auto;
}
[data-template="event"] main details.presse {
[data-template=event] main details.presse {
background-color: black;
color: white;
}
[data-template="event"] main details.presse .quotes {
[data-template=event] main details.presse .quotes {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 4rem;
}
[data-template="event"] main details.presse .quotes .quote {
[data-template=event] main details.presse .quotes .quote {
text-align: center;
}
[data-template="event"] main details.presse .quotes .quote blockquote {
[data-template=event] main details.presse .quotes .quote blockquote {
margin-bottom: 2rem;
font-size: 2rem;
}
[data-template="event"] main details.presse .quotes .quote blockquote::before {
[data-template=event] main details.presse .quotes .quote blockquote::before {
content: "«";
}
[data-template="event"] main details.presse .quotes .quote blockquote::after {
[data-template=event] main details.presse .quotes .quote blockquote::after {
content: "»";
}
[data-template="event"] main details.presse .quotes .quote cite {
[data-template=event] main details.presse .quotes .quote cite {
font-style: normal;
font-size: var(--font-size-S);
text-transform: uppercase;
letter-spacing: var(--letter-space-large);
}
[data-template="agenda"] main {
[data-template=agenda] main {
background-color: transparent;
}
[data-template="agenda"] main ul.sort-buttons {
[data-template=agenda] main ul.sort-buttons {
background-color: transparent;
display: flex;
gap: 4rem;
box-sizing: border-box;
padding: 2rem;
}
[data-template="agenda"] main ul.sort-buttons li button {
[data-template=agenda] main ul.sort-buttons li button {
font-family: var(--font-sans);
font-size: var(--font-size-L);
}
[data-template="agenda"] main ul.sort-buttons li button.active {
[data-template=agenda] main ul.sort-buttons li button.active {
text-decoration: underline;
}
[data-template="agenda"] main .dates-container [data-view="events"] ul li {
[data-template=agenda] main .dates-container [data-view=events] ul li {
padding-bottom: 2rem;
}
[data-template="agenda"] main .dates-container {
[data-template=agenda] main .dates-container {
box-sizing: border-box;
background-color: var(--color-beige);
padding: 2rem 0;
border: var(--border);
border-radius: var(--radius);
}
[data-template="agenda"] main .dates-container .month-switcher {
[data-template=agenda] main .dates-container .month-switcher {
box-sizing: border-box;
margin: 2rem auto;
width: 100%;
@ -776,30 +739,30 @@ main {
font-size: var(--font-size-L);
border-bottom: var(--border);
}
[data-template="agenda"] main .dates-container .month-switcher button {
[data-template=agenda] main .dates-container .month-switcher button {
font-size: inherit;
font-family: var(--font-serif);
}
[data-template="agenda"] main .dates-container .month {
[data-template=agenda] main .dates-container .month {
text-align: center;
margin: 4rem auto;
}
[data-template="agenda"] main .dates-container .month .event {
[data-template=agenda] main .dates-container .month .event {
margin: 2rem 0;
}
[data-template="agenda"] main .dates-container .month .event:not(:last-child) {
[data-template=agenda] main .dates-container .month .event:not(:last-child) {
border-bottom: var(--border);
padding-bottom: 2rem;
}
[data-template="agenda"] main .dates-container .month .event h4 {
[data-template=agenda] main .dates-container .month .event h4 {
font-size: var(--font-size-L);
font-weight: normal;
}
[data-template="agenda"] main .dates-container .month .event .date {
[data-template=agenda] main .dates-container .month .event .date {
margin: 1rem 0;
font-size: var(--font-size-M);
}
[data-template="agenda"] main .dates-container .month .event .date a {
[data-template=agenda] main .dates-container .month .event .date a {
text-decoration: underline;
}
@ -816,8 +779,7 @@ main {
position: absolute;
transition: all 1s cubic-bezier(0.22, 1.15, 0.36, 1);
}
.gallery .slides .slide.active,
.gallery .slides .slide.previous {
.gallery .slides .slide.active, .gallery .slides .slide.previous {
left: 0vw;
top: 0vw;
}
@ -837,33 +799,19 @@ main {
border-radius: 0;
height: 100%;
-o-object-fit: cover;
object-fit: cover;
object-fit: cover;
}
.gallery .slides .slide[data-orientation="portrait"] {
.gallery .slides .slide[data-orientation=portrait] {
width: 50%;
}
.gallery
.slides
.slide[data-orientation="portrait"]
+ .slide[data-orientation="portrait"].active,
.gallery
.slides
.slide[data-orientation="portrait"]
+ .slide[data-orientation="portrait"].previous {
.gallery .slides .slide[data-orientation=portrait] + .slide[data-orientation=portrait].active, .gallery .slides .slide[data-orientation=portrait] + .slide[data-orientation=portrait].previous {
left: 50%;
}
@media (max-width: 799px) {
.gallery .slides .slide[data-orientation="landscape"] {
.gallery .slides .slide[data-orientation=landscape] {
width: 50%;
}
.gallery
.slides
.slide[data-orientation="landscape"]
+ .slide[data-orientation="landscape"].active,
.gallery
.slides
.slide[data-orientation="landscape"]
+ .slide[data-orientation="landscape"].previous {
.gallery .slides .slide[data-orientation=landscape] + .slide[data-orientation=landscape].active, .gallery .slides .slide[data-orientation=landscape] + .slide[data-orientation=landscape].previous {
left: 50%;
}
}
@ -903,4 +851,4 @@ main {
font-size: 0.7rem;
text-transform: uppercase;
letter-spacing: var(--letter-space-large);
} /*# sourceMappingURL=style.css.map */
}/*# sourceMappingURL=style.css.map */

File diff suppressed because one or more lines are too long