2026-05-14 18:44:59 +02:00
|
|
|
@import url("https://p.typekit.net/p.css?s=1&k=wdg5nfi&ht=tk&f=39496.39497&a=95222337&app=typekit&e=css");
|
|
|
|
|
|
|
|
|
|
@font-face {
|
|
|
|
|
font-family: "neue-haas-grotesk-display";
|
2026-06-05 14:15:10 +02:00
|
|
|
src: url("https://use.typekit.net/af/174ae3/00000000000000007735bb5a/31/l?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n5&v=3")
|
2026-05-14 18:44:59 +02:00
|
|
|
format("woff2"),
|
|
|
|
|
url("https://use.typekit.net/af/174ae3/00000000000000007735bb5a/31/d?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n5&v=3")
|
|
|
|
|
format("woff"),
|
|
|
|
|
url("https://use.typekit.net/af/174ae3/00000000000000007735bb5a/31/a?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n5&v=3")
|
|
|
|
|
format("opentype");
|
|
|
|
|
font-display: auto;
|
|
|
|
|
font-style: normal;
|
|
|
|
|
font-weight: 500;
|
|
|
|
|
font-stretch: normal;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@font-face {
|
|
|
|
|
font-family: "neue-haas-grotesk-display";
|
2026-06-05 14:15:10 +02:00
|
|
|
src: url("https://use.typekit.net/af/db1ce7/00000000000000007735bb5e/31/l?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=i5&v=3")
|
2026-05-14 18:44:59 +02:00
|
|
|
format("woff2"),
|
|
|
|
|
url("https://use.typekit.net/af/db1ce7/00000000000000007735bb5e/31/d?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=i5&v=3")
|
|
|
|
|
format("woff"),
|
|
|
|
|
url("https://use.typekit.net/af/db1ce7/00000000000000007735bb5e/31/a?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=i5&v=3")
|
|
|
|
|
format("opentype");
|
|
|
|
|
font-display: auto;
|
|
|
|
|
font-style: italic;
|
|
|
|
|
font-weight: 500;
|
|
|
|
|
font-stretch: normal;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
:root {
|
|
|
|
|
--main-font: "neue-haas-grotesk-display", sans-serif;
|
|
|
|
|
--font-size-S: 0.9rem;
|
|
|
|
|
--font-size-L: 1.6rem;
|
|
|
|
|
--font-size-XL: 11vw;
|
2026-06-04 15:33:30 +02:00
|
|
|
--line-height-S: calc(var(--font-size-S) * 1.2);
|
2026-05-14 18:44:59 +02:00
|
|
|
--text-color: black;
|
2026-06-03 15:50:27 +02:00
|
|
|
--bg-color: white;
|
2026-05-14 18:44:59 +02:00
|
|
|
--body-margin: 0.6rem;
|
|
|
|
|
--nav-margin: 1rem;
|
|
|
|
|
--apparition-duration: 0.3s;
|
|
|
|
|
--disparition-duration: 0.3s;
|
|
|
|
|
--indentation: 2rem;
|
|
|
|
|
--low-opacity: 0.2;
|
|
|
|
|
--half-screen: 50vw;
|
|
|
|
|
--index-width: 40rem;
|
|
|
|
|
--close-cursor: url(/assets/images/close-cursor.png), crosshair;
|
2026-06-03 15:50:27 +02:00
|
|
|
--main-title-top: -0.7vw;
|
2026-06-04 15:33:30 +02:00
|
|
|
--mix-blend-color: white;
|
2026-05-14 18:44:59 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
body {
|
|
|
|
|
font-family: var(--main-font);
|
|
|
|
|
font-size: var(--font-size-S);
|
2026-06-04 15:33:30 +02:00
|
|
|
line-height: var(--line-height-S);
|
2026-05-14 18:44:59 +02:00
|
|
|
margin: var(--body-margin);
|
|
|
|
|
top: 0;
|
|
|
|
|
position: absolute;
|
|
|
|
|
left: 0;
|
|
|
|
|
right: 0;
|
|
|
|
|
bottom: 0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
main {
|
|
|
|
|
grid-template-columns: 8;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
a {
|
|
|
|
|
color: var(--text-color);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
h1 {
|
|
|
|
|
font-weight: normal;
|
|
|
|
|
line-height: inherit;
|
|
|
|
|
margin: 0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
p {
|
|
|
|
|
box-sizing: border-box;
|
|
|
|
|
margin: 0;
|
2026-06-03 15:50:27 +02:00
|
|
|
width: fit-content;
|
2026-05-14 18:44:59 +02:00
|
|
|
max-width: 100%;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
p + p {
|
|
|
|
|
/*! text-indent: var(--indentation); */
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
ul {
|
|
|
|
|
list-style: none;
|
|
|
|
|
margin: 0;
|
|
|
|
|
padding: 0;
|
|
|
|
|
margin: 0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[data-template="infos"] p:first-of-type {
|
|
|
|
|
margin-top: var(--line-height-S);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#slideshow {
|
|
|
|
|
inset: 0;
|
|
|
|
|
position: absolute;
|
|
|
|
|
z-index: 0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* PROJECT SLIDESHOW */
|
|
|
|
|
|
|
|
|
|
.project-slideshow {
|
2026-06-04 18:33:08 +02:00
|
|
|
width: -moz-fit-content;
|
|
|
|
|
width: fit-content;
|
|
|
|
|
height: -moz-fit-content;
|
2026-05-14 18:44:59 +02:00
|
|
|
height: fit-content;
|
|
|
|
|
box-sizing: border-box;
|
2026-06-04 18:33:08 +02:00
|
|
|
max-width: 100%;
|
|
|
|
|
right: 0;
|
|
|
|
|
position: absolute;
|
2026-06-05 12:13:02 +02:00
|
|
|
|
|
|
|
|
picture img {
|
|
|
|
|
max-width: 100%;
|
|
|
|
|
max-height: calc(100vh - var(--body-margin) * 2);
|
|
|
|
|
vertical-align: bottom;
|
|
|
|
|
width: auto;
|
|
|
|
|
height: auto;
|
|
|
|
|
}
|
2026-06-04 18:33:08 +02:00
|
|
|
}
|
2026-06-04 16:02:20 +02:00
|
|
|
|
2026-06-04 18:33:08 +02:00
|
|
|
picture {
|
|
|
|
|
inset: 0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.project-slideshow-container {
|
2026-06-04 18:32:41 +02:00
|
|
|
display: block;
|
|
|
|
|
position: fixed;
|
|
|
|
|
height: 100%;
|
|
|
|
|
background-color: white;
|
|
|
|
|
top: var(--body-margin);
|
|
|
|
|
right: var(--body-margin);
|
|
|
|
|
bottom: var(--body-margin);
|
|
|
|
|
left: calc(var(--index-width) + var(--body-margin));
|
2026-06-04 18:33:08 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.project-slideshow-container .all-projects-closer {
|
|
|
|
|
inset: 0;
|
|
|
|
|
display: block;
|
|
|
|
|
position: absolute;
|
|
|
|
|
width: auto;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.mix-blend-bg.all-projects-closer {
|
|
|
|
|
width: var(--index-width);
|
|
|
|
|
cursor: var(--close-cursor);
|
|
|
|
|
display: none;
|
2026-06-04 18:32:41 +02:00
|
|
|
}
|
|
|
|
|
|
2026-05-14 18:44:59 +02:00
|
|
|
button.prev {
|
|
|
|
|
position: absolute;
|
|
|
|
|
top: 0;
|
|
|
|
|
height: 100%;
|
|
|
|
|
border: none;
|
|
|
|
|
cursor: w-resize;
|
|
|
|
|
z-index: 1;
|
|
|
|
|
width: 50%;
|
|
|
|
|
left: 0;
|
|
|
|
|
padding: 0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
button.next {
|
|
|
|
|
position: absolute;
|
|
|
|
|
top: 0;
|
|
|
|
|
right: 0;
|
|
|
|
|
height: 100%;
|
|
|
|
|
border: none;
|
|
|
|
|
cursor: e-resize;
|
|
|
|
|
z-index: 1;
|
|
|
|
|
width: 50%;
|
|
|
|
|
padding: 0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* PROJECT TOGGLE */
|
|
|
|
|
|
|
|
|
|
.fix {
|
|
|
|
|
width: 100%;
|
|
|
|
|
z-index: 1;
|
|
|
|
|
position: relative;
|
|
|
|
|
/*! margin-top: var(--line-height-S); */
|
|
|
|
|
display: grid;
|
|
|
|
|
grid-template-columns: var(--index-width) auto;
|
|
|
|
|
pointer-events: none;
|
2026-06-04 15:33:30 +02:00
|
|
|
mix-blend-mode: difference;
|
2026-05-14 18:44:59 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.toggle {
|
|
|
|
|
display: none;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.fix:hover + .toggle {
|
|
|
|
|
display: block;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.fix .date {
|
|
|
|
|
text-align: right;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.toggle p {
|
|
|
|
|
z-index: 1;
|
|
|
|
|
position: relative;
|
|
|
|
|
width: calc(3 / 6 * var(--index-width) - var(--body-margin));
|
|
|
|
|
display: none;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.project-closer {
|
|
|
|
|
display: none;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.selected .project-closer {
|
|
|
|
|
display: block;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.unselected {
|
|
|
|
|
opacity: var(--low-opacity);
|
2026-06-02 11:38:01 +02:00
|
|
|
pointer-events: none;
|
2026-05-14 18:44:59 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.unselected:hover {
|
|
|
|
|
opacity: 1;
|
|
|
|
|
}
|
|
|
|
|
|
2026-06-04 15:33:30 +02:00
|
|
|
// passe en oppacité réduite les éléments non survolés de la liste sur la page index
|
2026-06-03 15:50:27 +02:00
|
|
|
.projects-index:has(li:hover) li:not(:hover) {
|
2026-06-04 15:33:30 +02:00
|
|
|
// opacity: var(--low-opacity);
|
2026-06-03 15:50:27 +02:00
|
|
|
}
|
|
|
|
|
|
2026-05-14 18:44:59 +02:00
|
|
|
.unselected:hover .toggle {
|
|
|
|
|
display: none;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.selected {
|
|
|
|
|
opacity: 1;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.selected .toggle {
|
|
|
|
|
display: grid;
|
|
|
|
|
grid-template-columns:
|
|
|
|
|
calc(3 / 6 * var(--index-width) - var(--body-margin))
|
|
|
|
|
calc(3 / 6 * var(--index-width));
|
|
|
|
|
gap: var(--body-margin);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.selected .toggle p {
|
|
|
|
|
display: block;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.unselected .toggle {
|
|
|
|
|
display: none;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.slide-number {
|
|
|
|
|
text-align: right;
|
|
|
|
|
display: none;
|
2026-06-04 15:33:30 +02:00
|
|
|
padding-right: var(--body-margin);
|
|
|
|
|
color: var(--mix-blend-color);
|
2026-05-14 18:44:59 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.selected .slide-number {
|
|
|
|
|
display: block;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.project-toggler.grid {
|
|
|
|
|
display: grid;
|
|
|
|
|
grid-template-columns:
|
|
|
|
|
calc(3 / 6 * var(--index-width) - var(--body-margin))
|
2026-06-05 14:15:10 +02:00
|
|
|
calc(2 / 6 * var(--index-width) - var(--body-margin)) calc(1 / 6 *
|
|
|
|
|
var(--index-width) - var(--body-margin));
|
2026-05-14 18:44:59 +02:00
|
|
|
gap: var(--body-margin);
|
|
|
|
|
pointer-events: all;
|
|
|
|
|
padding-bottom: var(--line-height-S);
|
2026-06-03 15:50:27 +02:00
|
|
|
cursor: inherit;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.project-toggler span {
|
|
|
|
|
cursor: pointer;
|
2026-05-14 18:44:59 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.project-description {
|
|
|
|
|
margin-bottom: var(--line-height-S);
|
|
|
|
|
display: none;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.selected .project-description {
|
|
|
|
|
display: block;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.project-toggler.closer {
|
|
|
|
|
cursor: var(--close-cursor);
|
|
|
|
|
display: none;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.selected .project-toggler.closer {
|
|
|
|
|
display: block;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.all-projects-closer {
|
|
|
|
|
position: fixed;
|
|
|
|
|
height: 100%;
|
|
|
|
|
width: var(--index-width);
|
|
|
|
|
cursor: var(--close-cursor);
|
|
|
|
|
display: none;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.selected + .all-projects-closer {
|
|
|
|
|
display: block;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.unselected + .all-projects-closer {
|
|
|
|
|
display: block;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* INFOS */
|
|
|
|
|
|
|
|
|
|
[data-template="infos"] div {
|
|
|
|
|
padding-right: var(--body-margin);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[data-template="infos"] main {
|
|
|
|
|
position: absolute;
|
|
|
|
|
top: calc(var(--line-height-S) + 0.35rem);
|
2026-06-03 15:50:27 +02:00
|
|
|
display: flex;
|
|
|
|
|
flex-wrap: wrap;
|
|
|
|
|
bottom: auto;
|
|
|
|
|
padding-bottom: var(--font-size-XL);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[data-template="infos"] .main-infos {
|
|
|
|
|
max-width: 100%;
|
|
|
|
|
width: 660px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[data-template="infos"] .secondary-infos {
|
|
|
|
|
max-width: 100%;
|
2026-05-14 18:44:59 +02:00
|
|
|
}
|