2024-12-01 12:55:24 +01:00
|
|
|
main {
|
|
|
|
|
pointer-events: none;
|
|
|
|
|
}
|
|
|
|
|
|
2024-12-02 17:31:52 +01:00
|
|
|
main article {
|
|
|
|
|
pointer-events: all;
|
|
|
|
|
}
|
|
|
|
|
|
2024-12-01 12:55:24 +01:00
|
|
|
.page-cover > * {
|
|
|
|
|
pointer-events: all;
|
|
|
|
|
}
|
|
|
|
|
|
2024-03-10 12:03:31 +01:00
|
|
|
#main-header {
|
2024-11-26 09:53:05 +01:00
|
|
|
position: fixed;
|
|
|
|
|
box-sizing: border-box;
|
|
|
|
|
width: 100vw;
|
2024-11-26 13:21:42 +01:00
|
|
|
padding-top: calc(var(--unit--vertical) / 2);
|
2024-11-26 09:53:05 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#logo * {
|
2024-12-02 16:39:38 +01:00
|
|
|
font-size: 25.3vw;
|
2024-11-26 09:53:05 +01:00
|
|
|
font-weight: var(--font-weight-extra-bold);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#logo span {
|
|
|
|
|
height: 20vw;
|
2024-11-26 13:21:42 +01:00
|
|
|
width: 100%;
|
2024-11-26 09:53:05 +01:00
|
|
|
box-sizing: border-box;
|
2024-12-02 16:39:38 +01:00
|
|
|
padding-right: 3vw;
|
2024-11-26 09:53:05 +01:00
|
|
|
display: flex;
|
|
|
|
|
justify-content: flex-end;
|
|
|
|
|
align-items: center;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#logo {
|
|
|
|
|
text-align: right;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#logo #actuel,
|
|
|
|
|
#logo #inactuel {
|
|
|
|
|
mix-blend-mode: difference;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#logo #inactuel {
|
|
|
|
|
transition: margin-top 0.3s ease-in-out, transform 0.3s ease-in-out;
|
|
|
|
|
}
|
2024-11-26 13:21:42 +01:00
|
|
|
|
2024-11-26 09:53:05 +01:00
|
|
|
#main-header.minimized #inactuel {
|
2024-11-26 18:24:41 +01:00
|
|
|
margin-top: -20vw;
|
2024-12-01 13:57:24 +01:00
|
|
|
transform: translateX(-1px) translateY(-1px);
|
2024-11-26 09:53:05 +01:00
|
|
|
}
|
|
|
|
|
|
2024-11-26 18:24:41 +01:00
|
|
|
#main-header.minimized #inactuel:not([data-template="home"] *) {
|
|
|
|
|
transform: translateX(-1px) translateY(-1px) !important;
|
|
|
|
|
}
|
|
|
|
|
|
2024-03-10 12:03:31 +01:00
|
|
|
.page-cover {
|
2024-04-06 11:55:51 +02:00
|
|
|
position: relative;
|
2024-11-26 13:21:42 +01:00
|
|
|
height: 100svh;
|
2024-03-10 12:03:31 +01:00
|
|
|
box-sizing: border-box;
|
2024-12-02 16:39:38 +01:00
|
|
|
padding-top: calc(var(--unit--vertical-relative) * 7);
|
2024-04-10 16:52:41 +02:00
|
|
|
|
2024-03-10 12:03:31 +01:00
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
}
|
|
|
|
|
|
2024-04-10 16:52:41 +02:00
|
|
|
.page-cover .text-wrapper {
|
|
|
|
|
height: 100%;
|
|
|
|
|
overflow: auto;
|
2024-04-06 11:55:51 +02:00
|
|
|
}
|
|
|
|
|
|
2024-04-11 10:38:07 +02:00
|
|
|
button.toggle.left::after,
|
|
|
|
|
button.toggle.right::before {
|
2024-04-10 14:55:34 +02:00
|
|
|
transition: all 0.5s var(--curve-sine);
|
|
|
|
|
content: "+";
|
|
|
|
|
}
|
2024-04-10 15:23:18 +02:00
|
|
|
|
2024-12-02 16:39:38 +01:00
|
|
|
.page-cover .links {
|
|
|
|
|
position: absolute;
|
|
|
|
|
bottom: 8px;
|
|
|
|
|
padding-left: calc(5rem + var(--unit--horizontal));
|
|
|
|
|
width: 100%;
|
|
|
|
|
box-sizing: border-box;
|
2024-04-10 14:55:34 +02:00
|
|
|
}
|
|
|
|
|
|
2024-12-02 16:39:38 +01:00
|
|
|
.page-cover .links li {
|
|
|
|
|
display: inline-block;
|
|
|
|
|
margin-right: var(--unit--horizontal);
|
2024-04-06 10:08:45 +02:00
|
|
|
}
|
|
|
|
|
|
2024-03-10 19:24:24 +01:00
|
|
|
@media screen and (min-width: 640px) {
|
2024-11-26 13:21:42 +01:00
|
|
|
body:not([data-template="home"]) #main-header {
|
|
|
|
|
width: var(--body-padding);
|
|
|
|
|
}
|
2024-12-02 16:39:38 +01:00
|
|
|
#logo * {
|
|
|
|
|
font-size: 26.65vw;
|
|
|
|
|
}
|
|
|
|
|
#logo span {
|
|
|
|
|
padding-right: 1vw;
|
|
|
|
|
}
|
2024-11-26 13:21:42 +01:00
|
|
|
body:not([data-template="home"]) #logo * {
|
|
|
|
|
font-size: 6vw;
|
|
|
|
|
}
|
|
|
|
|
body:not([data-template="home"]) #logo span {
|
|
|
|
|
height: 5vw;
|
|
|
|
|
}
|
|
|
|
|
body:not([data-template="home"]) #main-header.minimized #inactuel {
|
|
|
|
|
margin-top: -4.9vw;
|
|
|
|
|
transform: translateX(-2px) translateY(-2px);
|
2024-03-10 19:24:24 +01:00
|
|
|
}
|
|
|
|
|
|
2024-06-20 11:35:57 +02:00
|
|
|
.page-cover:not(
|
|
|
|
|
[data-template="author"] .page-cover,
|
|
|
|
|
[data-template="year"] .page-cover,
|
|
|
|
|
[data-template="category"] .page-cover
|
|
|
|
|
) {
|
2024-04-15 13:43:57 +02:00
|
|
|
height: 100vh;
|
2024-03-10 19:24:24 +01:00
|
|
|
padding: calc(10 * var(--unit--vertical)) 0;
|
2024-11-26 13:21:42 +01:00
|
|
|
padding-top: calc(var(--unit--vertical) * 8);
|
2024-03-10 19:24:24 +01:00
|
|
|
}
|
2024-11-26 13:21:42 +01:00
|
|
|
[data-template="home"] .page-cover {
|
|
|
|
|
padding-top: calc(42.5vw) !important;
|
|
|
|
|
}
|
|
|
|
|
|
2024-06-20 11:35:57 +02:00
|
|
|
[data-template="author"] .page-cover,
|
|
|
|
|
[data-template="category"] .page-cover,
|
|
|
|
|
[data-template="year"] .page-cover {
|
|
|
|
|
height: initial;
|
|
|
|
|
}
|
2024-04-15 13:43:57 +02:00
|
|
|
|
2024-12-02 16:39:38 +01:00
|
|
|
.page-cover .links {
|
2024-04-15 13:43:57 +02:00
|
|
|
display: none;
|
|
|
|
|
}
|
2024-03-10 12:03:31 +01:00
|
|
|
}
|