PR — Ouverture automatique / create-pr (push) Successful in 3s
- Events: render each year as a horizontal band of media at native ratio with a chapter card, lightbox (keyboard nav + close), and a progress bar. - Add a route transition overlay that preloads the destination hero image and shows a typed "Unis par le cœur" loading bar; hide the header while active and sync page entrance animations until the transition ends. - Add proper favicon set (favicon.ico, Apple touch icon, Android/PWA icon) and web manifest; fix the icon MIME type. - Mobile menu: replace hover-only feedback with an :active tap state (color + scale), remove sticky hover. - Privacy policy: document server-side relay of Meta content, add hosting/logs and GDPR rights sections.
52 lines
1.0 KiB
CSS
52 lines
1.0 KiB
CSS
@import "tailwindcss";
|
|
|
|
@theme {
|
|
--color-primary: #1a247f;
|
|
--color-blue-accent: #0e1449;
|
|
--color-site-text: #242424;
|
|
--color-heading: #470b15;
|
|
--color-heading-accent: #751424;
|
|
--color-bg-1: #f7f0e5;
|
|
--color-bg-2: #f1e6d3;
|
|
--color-hover-nav: #dfbe85;
|
|
--color-bg-carousel: #d3c1a5;
|
|
}
|
|
|
|
@layer components {
|
|
.vertical-text {
|
|
writing-mode: vertical-rl;
|
|
text-orientation: mixed;
|
|
transform: rotate(180deg);
|
|
}
|
|
|
|
.site-header {
|
|
transition: opacity 150ms ease-out;
|
|
}
|
|
|
|
.mobile-menu-link {
|
|
background-color: var(--pill-bg);
|
|
color: var(--pill-text);
|
|
-webkit-tap-highlight-color: transparent;
|
|
touch-action: manipulation;
|
|
}
|
|
|
|
.mobile-menu-link:active {
|
|
background-color: var(--color-bg-2);
|
|
color: var(--color-heading-accent);
|
|
transform: scale(0.96);
|
|
}
|
|
}
|
|
|
|
.is-transitioning .site-header {
|
|
opacity: 0;
|
|
}
|
|
|
|
body {
|
|
-webkit-font-smoothing: antialiased;
|
|
-moz-osx-font-smoothing: grayscale;
|
|
@apply bg-bg-1 text-site-text;
|
|
margin: 0;
|
|
/* Passage à Poppins */
|
|
font-family: "Poppins", sans-serif;
|
|
}
|