refonte: portfolio statique Astro (design moderne développeur)
Some checks failed
Deploy production / build-deploy (push) Failing after 56s
Some checks failed
Deploy production / build-deploy (push) Failing after 56s
- Remplace l'ancien Astro hybrid + admin par un site one-page statique (sortie static) - Thème clair/sombre sans flash, contenu typé (src/data/content.ts), zéro admin - Icônes simple-icons (SVG monochrome), polices auto-hébergées (RGPD) - SEO complet : canonical, Open Graph, Twitter Card, JSON-LD Person, robots.txt, sitemap.xml, image OG 1200x630 - CI Gitea de déploiement FTPS vers Plesk (.gitea/workflows/prod.yml)
This commit is contained in:
@@ -1,373 +1,268 @@
|
||||
@import "tailwindcss";
|
||||
/* ============================================================
|
||||
Portfolio — Johan Leroy, développeur fullstack
|
||||
Thème sombre par défaut (:root), thème clair via [data-theme="light"].
|
||||
Aucune dépendance réseau (polices auto-hébergées).
|
||||
============================================================ */
|
||||
|
||||
/* =========================================================================
|
||||
PORTFOLIO — Cyberpunk Dark / Free Party v2
|
||||
Palette acid : noir warehouse + cyan UV + acid yellow + magenta + LED rouge
|
||||
========================================================================= */
|
||||
/* ---------- Polices auto-hébergées (sous-ensemble latin) ---------- */
|
||||
@font-face{font-family:'Inter';font-style:normal;font-weight:400;font-display:swap;src:url('/fonts/inter-400.woff2') format('woff2');}
|
||||
@font-face{font-family:'Inter';font-style:normal;font-weight:500;font-display:swap;src:url('/fonts/inter-500.woff2') format('woff2');}
|
||||
@font-face{font-family:'Inter';font-style:normal;font-weight:600;font-display:swap;src:url('/fonts/inter-600.woff2') format('woff2');}
|
||||
@font-face{font-family:'Inter';font-style:normal;font-weight:700;font-display:swap;src:url('/fonts/inter-700.woff2') format('woff2');}
|
||||
@font-face{font-family:'Inter';font-style:normal;font-weight:800;font-display:swap;src:url('/fonts/inter-800.woff2') format('woff2');}
|
||||
@font-face{font-family:'JetBrains Mono';font-style:normal;font-weight:400;font-display:swap;src:url('/fonts/jetbrains-mono-400.woff2') format('woff2');}
|
||||
@font-face{font-family:'JetBrains Mono';font-style:normal;font-weight:500;font-display:swap;src:url('/fonts/jetbrains-mono-500.woff2') format('woff2');}
|
||||
@font-face{font-family:'JetBrains Mono';font-style:normal;font-weight:600;font-display:swap;src:url('/fonts/jetbrains-mono-600.woff2') format('woff2');}
|
||||
|
||||
@theme {
|
||||
/* Couleurs de base */
|
||||
--color-bg: #0A0A0F;
|
||||
--color-surface: #111118;
|
||||
--color-surface-2: #16161F;
|
||||
--color-border: #1F1F2C;
|
||||
|
||||
/* Accents néon */
|
||||
--color-cyan: #00F0FF;
|
||||
--color-acid: #C6FF00; /* free party strobe */
|
||||
--color-magenta: #FF2A6D;
|
||||
--color-red: #FF0040; /* LED live / now playing */
|
||||
--color-violet: #B967FF;
|
||||
--color-ice: #D1F7FF;
|
||||
|
||||
/* Texte */
|
||||
--color-text: #E0E0FF;
|
||||
--color-text-muted: #8A8FA8;
|
||||
--color-text-dim: #5A5F78;
|
||||
|
||||
/* Typographies */
|
||||
--font-sans: "Inter", system-ui, -apple-system, sans-serif;
|
||||
--font-display: "Space Grotesk", system-ui, sans-serif;
|
||||
--font-mono: "JetBrains Mono", "Fira Code", ui-monospace, monospace;
|
||||
--font-stencil: "Bebas Neue", "Impact", sans-serif;
|
||||
/* ---------- Variables de thème ---------- */
|
||||
:root{
|
||||
--bg:#09090b; --surface:#18181b; --surface-2:rgba(24,24,27,.55); --border:#27272a; --border-soft:#1c1c1f;
|
||||
--text:#f4f4f5; --text-muted:#a1a1aa; --text-dim:#52525b;
|
||||
--accent:#34d399; --accent-solid:#059669; --accent-hover:#10b981; --coffee:#f59e0b;
|
||||
--info:#7dd3fc; --warn:#fcd34d; --danger:#f87171;
|
||||
--halo:.12; --grain:.025; --shadow:0 24px 48px -20px rgba(0,0,0,.65);
|
||||
--font-sans:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;
|
||||
--font-mono:"JetBrains Mono",ui-monospace,monospace;
|
||||
--maxw:1120px; --header-h:88px;
|
||||
}
|
||||
html[data-theme="light"]{
|
||||
--bg:#fafafa; --surface:#ffffff; --surface-2:#f4f4f5; --border:#e4e4e7; --border-soft:#ececee;
|
||||
--text:#18181b; --text-muted:#52525b; --text-dim:#a1a1aa;
|
||||
--accent:#059669; --accent-solid:#059669; --accent-hover:#047857; --coffee:#d97706;
|
||||
--info:#0284c7; --warn:#d97706; --danger:#dc2626;
|
||||
--halo:.06; --grain:.02; --shadow:0 18px 38px -22px rgba(24,24,27,.22);
|
||||
}
|
||||
|
||||
html {
|
||||
background: var(--color-bg);
|
||||
color: var(--color-text);
|
||||
font-family: var(--font-sans);
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
scroll-behavior: smooth;
|
||||
/* ---------- Base ---------- */
|
||||
*{box-sizing:border-box;}
|
||||
html{scroll-behavior:smooth;scroll-padding-top:var(--header-h);}
|
||||
html,body{margin:0;padding:0;background:var(--bg);}
|
||||
body{font-family:var(--font-sans);color:var(--text);-webkit-font-smoothing:antialiased;overflow-x:hidden;line-height:1.5;}
|
||||
a{color:inherit;text-decoration:none;}
|
||||
button{font-family:inherit;border:0;background:none;cursor:pointer;}
|
||||
img{max-width:100%;}
|
||||
h1,h2,h3,h4,p,ul{margin:0;}
|
||||
*,*::before,*::after{transition:background-color .22s ease,border-color .22s ease,color .22s ease,fill .22s ease;}
|
||||
::selection{background:var(--accent);color:var(--bg);}
|
||||
:focus-visible{outline:2px solid var(--accent);outline-offset:3px;border-radius:8px;}
|
||||
.mono{font-family:var(--font-mono);}
|
||||
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0;}
|
||||
|
||||
/* ---------- Animations ---------- */
|
||||
@keyframes jl-pulse{0%,100%{box-shadow:0 0 0 0 rgba(52,211,153,.55);}50%{box-shadow:0 0 0 5px rgba(52,211,153,0);}}
|
||||
@keyframes jl-blink{0%,49%{opacity:1;}50%,100%{opacity:0;}}
|
||||
|
||||
/* ---------- Overlays décoratifs (halo + grain) ---------- */
|
||||
.halo{position:fixed;top:-40px;left:50%;transform:translateX(-50%);width:1100px;max-width:140vw;height:560px;background:radial-gradient(50% 60% at 50% 0%,var(--accent) 0%,transparent 70%);opacity:var(--halo);pointer-events:none;z-index:0;filter:blur(18px);}
|
||||
.grain{position:fixed;inset:0;background-image:radial-gradient(var(--text) 1px,transparent 1px);background-size:34px 34px;opacity:var(--grain);pointer-events:none;z-index:0;-webkit-mask-image:linear-gradient(to bottom,#000,transparent 70%);mask-image:linear-gradient(to bottom,#000,transparent 70%);}
|
||||
.page{position:relative;z-index:1;}
|
||||
|
||||
/* ---------- Structure de page ---------- */
|
||||
.container{max-width:var(--maxw);margin:0 auto;padding-left:24px;padding-right:24px;}
|
||||
.section{padding-top:clamp(56px,8vw,96px);padding-bottom:clamp(56px,8vw,96px);}
|
||||
.eyebrow{font-family:var(--font-mono);font-size:13px;color:var(--accent);margin-bottom:12px;}
|
||||
.h2{font-size:clamp(28px,4vw,40px);font-weight:700;letter-spacing:-.03em;color:var(--text);}
|
||||
.label-mono{font-family:var(--font-mono);font-size:12px;color:var(--text-dim);text-transform:uppercase;letter-spacing:.08em;}
|
||||
|
||||
/* ---------- Apparition au scroll ---------- */
|
||||
.reveal{opacity:0;transform:translateY(22px);transition:opacity .7s ease,transform .7s ease;}
|
||||
.reveal.is-visible{opacity:1;transform:none;}
|
||||
|
||||
/* ---------- Icônes (fill/stroke posés en attribut sur chaque <svg>) ---------- */
|
||||
.ic{flex:none;}
|
||||
|
||||
/* ---------- En-tête / navigation ---------- */
|
||||
.site-header{position:sticky;top:0;z-index:50;backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);background:var(--surface-2);border-bottom:1px solid var(--border);}
|
||||
.nav{max-width:var(--maxw);margin:0 auto;padding:13px 24px;display:flex;align-items:center;gap:18px;}
|
||||
.nav-logo{display:flex;align-items:center;flex:none;}
|
||||
.nav-logo img{height:29px;width:auto;display:block;}
|
||||
.nav-links{display:flex;align-items:center;gap:6px;margin-left:6px;}
|
||||
.nav-link{font-family:var(--font-mono);font-size:13px;color:var(--text-muted);padding:7px 11px;border-radius:8px;}
|
||||
.nav-link:hover{color:var(--text);}
|
||||
.nav-link.is-active{color:var(--accent);}
|
||||
.nav-actions{margin-left:auto;display:flex;align-items:center;gap:9px;}
|
||||
|
||||
.btn-icon{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:9px;border:1px solid var(--border);background:var(--surface-2);color:var(--text-muted);}
|
||||
.btn-icon:hover{color:var(--accent);border-color:var(--accent);}
|
||||
|
||||
/* Bascule d'icône thème : soleil en sombre, lune en clair (CSS pur) */
|
||||
.icon-moon{display:none;}
|
||||
.icon-sun{display:block;}
|
||||
html[data-theme="light"] .icon-sun{display:none;}
|
||||
html[data-theme="light"] .icon-moon{display:block;}
|
||||
|
||||
.btn-coffee{display:inline-flex;align-items:center;gap:7px;padding:8px 13px;border-radius:9px;border:1px solid var(--coffee);color:var(--coffee);font-size:13px;font-weight:600;}
|
||||
.btn-coffee:hover{background:color-mix(in srgb,var(--coffee) 12%,transparent);transform:translateY(-1px);}
|
||||
|
||||
.burger{display:none;align-items:center;justify-content:center;width:40px;height:40px;border-radius:9px;border:1px solid var(--border);background:var(--surface-2);color:var(--text);}
|
||||
|
||||
/* Menu mobile (déplié sous l'en-tête) */
|
||||
.mobile-menu{display:none;border-top:1px solid var(--border);background:var(--surface);padding:14px 24px 18px;flex-direction:column;gap:4px;}
|
||||
.mobile-menu.is-open{display:flex;}
|
||||
.mobile-link{font-family:var(--font-mono);font-size:15px;color:var(--text);padding:11px 4px;border-bottom:1px solid var(--border-soft);}
|
||||
.mobile-cta{display:flex;gap:10px;margin-top:14px;}
|
||||
.mobile-cta a{flex:1;display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:11px;border-radius:9px;font-size:14px;font-weight:600;}
|
||||
.mobile-cta .m-github{border:1px solid var(--border);color:var(--text);}
|
||||
.mobile-cta .m-coffee{border:1px solid var(--coffee);color:var(--coffee);}
|
||||
|
||||
/* ---------- Hero ---------- */
|
||||
.hero-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(330px,1fr));gap:clamp(32px,5vw,56px);align-items:center;}
|
||||
.badge{display:inline-flex;align-items:center;gap:8px;padding:6px 13px;border:1px solid var(--border);border-radius:999px;background:var(--surface-2);font-family:var(--font-mono);font-size:12px;color:var(--text-muted);}
|
||||
.badge-dot{width:8px;height:8px;border-radius:50%;background:var(--accent);animation:jl-pulse 2.2s infinite;}
|
||||
.hero h1{font-size:clamp(42px,7.2vw,70px);font-weight:800;letter-spacing:-.04em;line-height:1;margin-top:20px;color:var(--text);}
|
||||
.hero-role{font-size:clamp(18px,2.4vw,22px);font-weight:600;color:var(--accent);margin-top:12px;}
|
||||
.hero-lede{font-size:17px;color:var(--text-muted);margin-top:20px;max-width:48ch;line-height:1.62;}
|
||||
.cta-row{display:flex;flex-wrap:wrap;gap:12px;margin-top:28px;}
|
||||
.btn{display:inline-flex;align-items:center;gap:9px;padding:13px 21px;border-radius:11px;font-weight:600;font-size:15px;}
|
||||
.btn-primary{background:var(--accent-solid);color:#fff;border:1px solid var(--accent-solid);}
|
||||
.btn-primary:hover{background:var(--accent-hover);transform:translateY(-1px);}
|
||||
.btn-secondary{background:transparent;color:var(--text);border:1px solid var(--border);}
|
||||
.btn-secondary:hover{border-color:var(--accent);color:var(--accent);transform:translateY(-1px);}
|
||||
.social-row{display:flex;gap:10px;margin-top:26px;}
|
||||
.social-link{display:inline-flex;align-items:center;justify-content:center;width:42px;height:42px;border-radius:10px;border:1px solid var(--border);background:var(--surface-2);color:var(--text-muted);}
|
||||
.social-link:hover{color:var(--accent);border-color:var(--accent);transform:translateY(-2px);}
|
||||
|
||||
/* Mockup terminal */
|
||||
.terminal{border:1px solid var(--border);border-radius:14px;background:var(--surface);box-shadow:var(--shadow);overflow:hidden;}
|
||||
.terminal-bar{display:flex;align-items:center;gap:7px;padding:12px 14px;border-bottom:1px solid var(--border);background:var(--surface-2);}
|
||||
.terminal-bar .dot{width:11px;height:11px;border-radius:50%;}
|
||||
.dot-r{background:#f87171;} .dot-y{background:#fbbf24;} .dot-g{background:#34d399;}
|
||||
.terminal-label{margin-left:8px;font-family:var(--font-mono);font-size:12px;color:var(--text-dim);}
|
||||
.terminal-avatar{margin-left:auto;width:28px;height:28px;border-radius:50%;object-fit:cover;border:1px solid var(--border);}
|
||||
.terminal-body{margin:0;padding:18px 20px;font-family:var(--font-mono);font-size:13.5px;line-height:1.72;color:var(--text-muted);white-space:pre-wrap;word-break:break-word;min-height:312px;}
|
||||
.caret{display:inline-block;width:8px;height:15px;background:var(--accent);vertical-align:-2px;margin-left:2px;animation:jl-blink 1.05s steps(1) infinite;}
|
||||
|
||||
/* ---------- À propos (portrait + texte) + stats ---------- */
|
||||
.about-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:clamp(28px,5vw,48px);align-items:center;}
|
||||
@media(min-width:760px){.about-grid{grid-template-columns:288px 1fr;}}
|
||||
.about-portrait{position:relative;border-radius:16px;overflow:hidden;border:1px solid var(--border);box-shadow:var(--shadow);max-width:320px;justify-self:center;}
|
||||
.about-portrait img{display:block;width:100%;height:auto;}
|
||||
.about-portrait::after{content:"";position:absolute;inset:0;border-radius:16px;box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--accent) 22%,transparent);pointer-events:none;}
|
||||
.about-h2{margin:0 0 18px;max-width:20ch;}
|
||||
.about-p{font-size:17px;color:var(--text-muted);line-height:1.65;max-width:62ch;}
|
||||
.stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:14px;margin-top:36px;}
|
||||
.stat{border:1px solid var(--border);border-radius:12px;background:var(--surface-2);padding:20px;}
|
||||
.stat-n{font-family:var(--font-mono);font-size:clamp(24px,3vw,30px);font-weight:700;color:var(--accent);}
|
||||
.stat-l{font-size:13px;color:var(--text-muted);margin-top:6px;}
|
||||
|
||||
/* ---------- Projets ---------- */
|
||||
.grid-projects{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:18px;}
|
||||
.grid-projects.is-other{grid-template-columns:repeat(auto-fit,minmax(280px,1fr));}
|
||||
.card{display:flex;flex-direction:column;border:1px solid var(--border);border-radius:14px;background:var(--surface-2);overflow:hidden;transition:transform .25s ease,border-color .25s ease,box-shadow .25s ease;}
|
||||
.card:hover{transform:translateY(-4px);border-color:var(--accent);box-shadow:var(--shadow);}
|
||||
.card-media{position:relative;height:168px;overflow:hidden;}
|
||||
.is-other .card-media{height:140px;}
|
||||
.card-media img{width:100%;height:100%;object-fit:cover;display:block;}
|
||||
.card-mono{height:100%;display:flex;align-items:center;justify-content:center;background:radial-gradient(120% 130% at 0% 0%,color-mix(in srgb,var(--accent) 18%,transparent),transparent 58%),var(--surface);}
|
||||
.card-mono span{font-family:var(--font-mono);font-size:44px;font-weight:700;color:var(--accent);opacity:.92;}
|
||||
.is-other .card-mono span{font-size:38px;}
|
||||
.card-body{padding:18px 18px 20px;display:flex;flex-direction:column;gap:11px;flex:1;}
|
||||
.is-other .card-body{padding:16px 16px 18px;gap:10px;}
|
||||
.card-head{display:flex;align-items:center;justify-content:space-between;gap:10px;}
|
||||
.status{display:inline-flex;align-items:center;gap:6px;font-family:var(--font-mono);font-size:11px;color:var(--text-muted);text-transform:uppercase;letter-spacing:.05em;}
|
||||
.status-dot{width:7px;height:7px;border-radius:50%;}
|
||||
.ext-link{color:var(--text-muted);display:inline-flex;}
|
||||
.ext-link:hover{color:var(--accent);}
|
||||
.card-title{font-size:19px;font-weight:700;letter-spacing:-.02em;color:var(--text);}
|
||||
.is-other .card-title{font-size:17px;}
|
||||
.card-sub{font-family:var(--font-mono);font-size:12px;color:var(--accent);}
|
||||
.card-desc{font-size:14px;color:var(--text-muted);line-height:1.55;}
|
||||
.is-other .card-desc{font-size:13.5px;}
|
||||
.chips{display:flex;flex-wrap:wrap;gap:6px;margin-top:auto;padding-top:6px;}
|
||||
.chip{font-family:var(--font-mono);font-size:11px;padding:4px 9px;border:1px solid var(--border);border-radius:999px;color:var(--text-muted);background:var(--bg);}
|
||||
|
||||
/* ---------- Parcours (timeline + formation) ---------- */
|
||||
.timeline{position:relative;padding-left:70px;}
|
||||
.timeline-line{position:absolute;left:23px;top:6px;bottom:6px;width:2px;background:var(--border);}
|
||||
.exp{position:relative;margin-bottom:34px;}
|
||||
.exp:last-child{margin-bottom:0;}
|
||||
.exp-logo{position:absolute;left:-70px;top:0;width:48px;height:48px;border-radius:50%;background:#fff;border:1px solid var(--border);display:flex;align-items:center;justify-content:center;overflow:hidden;box-shadow:0 0 0 5px var(--bg);}
|
||||
.exp-logo img{width:34px;height:34px;object-fit:contain;}
|
||||
.exp-card{border:1px solid var(--border);border-radius:14px;background:var(--surface-2);padding:18px 20px;}
|
||||
.exp-head{display:flex;flex-wrap:wrap;align-items:baseline;gap:8px 12px;}
|
||||
.exp-role{font-size:17px;font-weight:700;color:var(--text);}
|
||||
.exp-company{display:inline-flex;align-items:center;gap:7px;font-weight:600;color:var(--accent);font-size:14px;}
|
||||
.exp-period{font-family:var(--font-mono);font-size:12px;color:var(--text-dim);margin-top:7px;}
|
||||
.exp-desc{font-size:14px;color:var(--text-muted);line-height:1.55;margin-top:12px;}
|
||||
.exp-missions{margin-top:12px;padding-left:18px;display:flex;flex-direction:column;gap:5px;}
|
||||
.exp-missions li{font-size:13.5px;color:var(--text-muted);line-height:1.45;}
|
||||
.exp-card .chips{margin-top:14px;}
|
||||
.formation-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(238px,1fr));gap:14px;}
|
||||
.formation-card{border:1px solid var(--border);border-radius:12px;background:var(--surface-2);padding:18px;}
|
||||
.formation-period{font-family:var(--font-mono);font-size:11px;color:var(--accent);margin-bottom:9px;}
|
||||
.formation-title{font-size:15px;font-weight:700;margin-bottom:4px;color:var(--text);line-height:1.3;}
|
||||
.formation-school{font-size:13px;color:var(--text-muted);}
|
||||
.formation-desc{font-size:12.5px;color:var(--text-dim);line-height:1.5;margin-top:10px;}
|
||||
|
||||
/* ---------- Stack & compétences ---------- */
|
||||
.stack-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(284px,1fr));gap:16px;}
|
||||
.stack-grid.is-secondary{grid-template-columns:repeat(auto-fit,minmax(260px,1fr));}
|
||||
.stack-group{border:1px solid var(--border);border-radius:14px;background:var(--surface-2);padding:18px;}
|
||||
.is-secondary .stack-group{border:1px solid var(--border-soft);background:transparent;}
|
||||
.stack-group-label{font-family:var(--font-mono);font-size:11px;color:var(--text-dim);text-transform:uppercase;letter-spacing:.06em;}
|
||||
.tiles{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px;}
|
||||
.is-secondary .tiles{gap:7px;margin-top:13px;}
|
||||
.tile{display:flex;align-items:center;gap:9px;padding:7px 11px 7px 9px;border:1px solid var(--border);border-radius:10px;background:var(--bg);color:var(--text-muted);}
|
||||
.is-secondary .tile{gap:8px;padding:6px 10px 6px 8px;border-radius:9px;}
|
||||
.tile .ic{width:18px;height:18px;}
|
||||
.is-secondary .tile .ic{width:15px;height:15px;}
|
||||
.tile-mono{width:24px;height:24px;border-radius:7px;background:var(--accent-solid);color:#fff;display:flex;align-items:center;justify-content:center;flex:none;font-family:var(--font-mono);font-size:11px;font-weight:600;}
|
||||
.is-secondary .tile-mono{width:21px;height:21px;border-radius:6px;font-size:10px;}
|
||||
.tile-name{font-family:var(--font-mono);font-size:13px;color:var(--text);white-space:nowrap;}
|
||||
.is-secondary .tile-name{font-size:12.5px;color:var(--text-muted);}
|
||||
|
||||
.soft{margin-top:34px;display:flex;flex-direction:column;gap:16px;}
|
||||
.soft-label{font-family:var(--font-mono);font-size:11px;color:var(--text-dim);margin-bottom:11px;}
|
||||
.pills{display:flex;flex-wrap:wrap;gap:8px;}
|
||||
.pill{font-size:13px;padding:6px 12px;border:1px solid var(--border);border-radius:999px;color:var(--text-muted);background:var(--surface-2);}
|
||||
|
||||
/* ---------- Centres d'intérêt ---------- */
|
||||
.interests{display:grid;grid-template-columns:repeat(auto-fit,minmax(216px,1fr));gap:14px;}
|
||||
.interest{display:flex;flex-direction:column;gap:11px;padding:20px;border:1px solid var(--border);border-radius:14px;background:var(--surface-2);transition:border-color .25s,transform .25s;}
|
||||
.interest:hover{border-color:var(--accent);transform:translateY(-3px);}
|
||||
.interest-ic{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:10px;background:var(--bg);border:1px solid var(--border);color:var(--accent);}
|
||||
.interest-name{font-weight:600;font-size:15px;color:var(--text);}
|
||||
.interest-note{font-family:var(--font-mono);font-size:11px;color:var(--text-dim);}
|
||||
|
||||
/* ---------- Contact ---------- */
|
||||
.contact-card{border:1px solid var(--border);border-radius:18px;background:var(--surface-2);padding:clamp(28px,5vw,52px);text-align:center;}
|
||||
.contact-h2{font-size:clamp(28px,4.6vw,44px);font-weight:800;letter-spacing:-.03em;margin:0 auto;color:var(--text);max-width:18ch;}
|
||||
.contact-p{font-size:16px;color:var(--text-muted);margin:18px auto 0;max-width:52ch;line-height:1.6;}
|
||||
.contact-cta{display:flex;flex-wrap:wrap;gap:12px;justify-content:center;margin-top:30px;}
|
||||
.btn-email{display:inline-flex;align-items:center;gap:9px;padding:14px 24px;border-radius:11px;background:var(--accent-solid);color:#fff;font-weight:600;font-size:15px;border:1px solid var(--accent-solid);}
|
||||
.btn-email:hover{background:var(--accent-hover);transform:translateY(-1px);}
|
||||
.contact-social{display:flex;gap:10px;justify-content:center;margin-top:20px;}
|
||||
.contact-social .social-link{background:var(--bg);}
|
||||
.echo{font-family:var(--font-mono);font-size:13px;color:var(--text-dim);margin-top:28px;}
|
||||
.echo b{color:var(--accent);font-weight:400;}
|
||||
.coffee-box{margin-top:34px;padding-top:30px;border-top:1px solid var(--border);display:flex;flex-direction:column;align-items:center;gap:16px;}
|
||||
.coffee-box p{font-size:14.5px;color:var(--text-muted);max-width:46ch;line-height:1.6;}
|
||||
.btn-coffee-lg{display:inline-flex;align-items:center;gap:9px;padding:12px 22px;border-radius:11px;background:transparent;color:var(--coffee);font-weight:600;font-size:15px;border:1px solid var(--coffee);}
|
||||
.btn-coffee-lg:hover{background:color-mix(in srgb,var(--coffee) 12%,transparent);transform:translateY(-1px);}
|
||||
|
||||
/* ---------- Pied de page ---------- */
|
||||
.site-footer{border-top:1px solid var(--border);}
|
||||
.footer-inner{max-width:var(--maxw);margin:0 auto;padding:28px 24px;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:16px;}
|
||||
.footer-brand{display:flex;align-items:center;gap:12px;}
|
||||
.footer-brand img{height:26px;width:auto;display:block;}
|
||||
.footer-brand span{font-family:var(--font-mono);font-size:13px;color:var(--text-muted);}
|
||||
.footer-credit{font-family:var(--font-mono);font-size:12px;color:var(--text-dim);}
|
||||
|
||||
/* ---------- Responsive : repli nav < 820px ---------- */
|
||||
@media (max-width:819px){
|
||||
.nav-links,.btn-coffee--header,.btn-github--header{display:none;}
|
||||
.burger{display:inline-flex;}
|
||||
}
|
||||
@media (max-width:560px){
|
||||
.timeline{padding-left:58px;}
|
||||
.exp-logo{left:-58px;width:42px;height:42px;}
|
||||
.exp-logo img{width:28px;height:28px;}
|
||||
.timeline-line{left:20px;}
|
||||
}
|
||||
|
||||
body {
|
||||
background: var(--color-bg);
|
||||
min-height: 100vh;
|
||||
overflow-x: hidden;
|
||||
}
|
||||
|
||||
::selection {
|
||||
background: var(--color-acid);
|
||||
color: var(--color-bg);
|
||||
}
|
||||
|
||||
::-webkit-scrollbar { width: 10px; height: 10px; }
|
||||
::-webkit-scrollbar-track { background: var(--color-bg); }
|
||||
::-webkit-scrollbar-thumb {
|
||||
background: linear-gradient(180deg, var(--color-cyan), var(--color-acid));
|
||||
border-radius: 10px;
|
||||
}
|
||||
|
||||
/* =========================================================================
|
||||
Glow utilities
|
||||
========================================================================= */
|
||||
|
||||
@utility glow-cyan {
|
||||
box-shadow:
|
||||
0 0 8px rgba(0, 240, 255, 0.4),
|
||||
0 0 20px rgba(0, 240, 255, 0.25),
|
||||
0 0 40px rgba(0, 240, 255, 0.12);
|
||||
}
|
||||
@utility glow-acid {
|
||||
box-shadow:
|
||||
0 0 8px rgba(198, 255, 0, 0.5),
|
||||
0 0 20px rgba(198, 255, 0, 0.3),
|
||||
0 0 40px rgba(198, 255, 0, 0.15);
|
||||
}
|
||||
@utility glow-magenta {
|
||||
box-shadow:
|
||||
0 0 8px rgba(255, 42, 109, 0.4),
|
||||
0 0 20px rgba(255, 42, 109, 0.25),
|
||||
0 0 40px rgba(255, 42, 109, 0.12);
|
||||
}
|
||||
@utility glow-red {
|
||||
box-shadow:
|
||||
0 0 6px rgba(255, 0, 64, 0.6),
|
||||
0 0 16px rgba(255, 0, 64, 0.3);
|
||||
}
|
||||
|
||||
@utility glow-text-cyan {
|
||||
text-shadow: 0 0 6px rgba(0, 240, 255, 0.8), 0 0 20px rgba(0, 240, 255, 0.4);
|
||||
}
|
||||
@utility glow-text-acid {
|
||||
text-shadow: 0 0 6px rgba(198, 255, 0, 0.85), 0 0 22px rgba(198, 255, 0, 0.45);
|
||||
}
|
||||
@utility glow-text-magenta {
|
||||
text-shadow: 0 0 6px rgba(255, 42, 109, 0.8), 0 0 20px rgba(255, 42, 109, 0.4);
|
||||
}
|
||||
|
||||
@utility neon-border-cyan {
|
||||
border: 1px solid var(--color-cyan);
|
||||
box-shadow:
|
||||
0 0 0 1px rgba(0, 240, 255, 0.3),
|
||||
0 0 20px rgba(0, 240, 255, 0.2),
|
||||
inset 0 0 12px rgba(0, 240, 255, 0.08);
|
||||
}
|
||||
@utility neon-border-acid {
|
||||
border: 1px solid var(--color-acid);
|
||||
box-shadow:
|
||||
0 0 0 1px rgba(198, 255, 0, 0.35),
|
||||
0 0 20px rgba(198, 255, 0, 0.2),
|
||||
inset 0 0 12px rgba(198, 255, 0, 0.08);
|
||||
}
|
||||
@utility neon-border-magenta {
|
||||
border: 1px solid var(--color-magenta);
|
||||
box-shadow:
|
||||
0 0 0 1px rgba(255, 42, 109, 0.3),
|
||||
0 0 20px rgba(255, 42, 109, 0.2),
|
||||
inset 0 0 12px rgba(255, 42, 109, 0.08);
|
||||
}
|
||||
|
||||
/* =========================================================================
|
||||
Free party utilities
|
||||
========================================================================= */
|
||||
|
||||
@utility stencil {
|
||||
font-family: var(--font-stencil);
|
||||
letter-spacing: 0.04em;
|
||||
font-weight: 400;
|
||||
}
|
||||
|
||||
/* Sticker style (pour les overlays "flyer" collés) */
|
||||
@utility sticker {
|
||||
display: inline-block;
|
||||
padding: 0.25rem 0.5rem;
|
||||
font-family: var(--font-mono);
|
||||
font-size: 0.625rem;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.1em;
|
||||
border: 1px solid currentColor;
|
||||
border-radius: 2px;
|
||||
background: rgba(10, 10, 15, 0.6);
|
||||
backdrop-filter: blur(4px);
|
||||
transform: rotate(-2deg);
|
||||
}
|
||||
|
||||
/* Warehouse background — gradient + grain + UV spots (pas encore les spots mobiles, juste la base) */
|
||||
@utility warehouse-bg {
|
||||
background:
|
||||
radial-gradient(ellipse 60% 40% at 15% 20%, rgba(0, 240, 255, 0.1), transparent 60%),
|
||||
radial-gradient(ellipse 50% 40% at 85% 70%, rgba(255, 42, 109, 0.08), transparent 60%),
|
||||
radial-gradient(ellipse 70% 50% at 50% 100%, rgba(198, 255, 0, 0.05), transparent 60%),
|
||||
var(--color-bg);
|
||||
}
|
||||
|
||||
/* Aurora (kept as alias for warehouse) */
|
||||
@utility aurora-bg {
|
||||
background:
|
||||
radial-gradient(ellipse 60% 40% at 15% 20%, rgba(0, 240, 255, 0.1), transparent 60%),
|
||||
radial-gradient(ellipse 50% 40% at 85% 70%, rgba(255, 42, 109, 0.08), transparent 60%),
|
||||
radial-gradient(ellipse 70% 50% at 50% 100%, rgba(198, 255, 0, 0.05), transparent 60%),
|
||||
var(--color-bg);
|
||||
}
|
||||
|
||||
/* Scanlines CRT subtiles (à appliquer sur un pseudo-élément ou overlay fixe) */
|
||||
@utility scanlines {
|
||||
background-image: repeating-linear-gradient(
|
||||
0deg,
|
||||
rgba(255, 255, 255, 0.015) 0px,
|
||||
rgba(255, 255, 255, 0.015) 1px,
|
||||
transparent 1px,
|
||||
transparent 3px
|
||||
);
|
||||
}
|
||||
|
||||
/* =========================================================================
|
||||
Keyframes
|
||||
========================================================================= */
|
||||
|
||||
@keyframes flicker {
|
||||
0%, 100% { opacity: 1; }
|
||||
45%, 55% { opacity: 1; }
|
||||
50% { opacity: 0.5; }
|
||||
}
|
||||
|
||||
@keyframes pulse-neon {
|
||||
0%, 100% { box-shadow: 0 0 8px rgba(0, 240, 255, 0.4), 0 0 20px rgba(0, 240, 255, 0.25); }
|
||||
50% { box-shadow: 0 0 16px rgba(0, 240, 255, 0.7), 0 0 32px rgba(0, 240, 255, 0.4); }
|
||||
}
|
||||
|
||||
@keyframes pulse-led-green {
|
||||
0%, 100% {
|
||||
background: #00FF6A;
|
||||
box-shadow: 0 0 8px rgba(0, 255, 106, 0.7), 0 0 16px rgba(0, 255, 106, 0.35);
|
||||
}
|
||||
50% {
|
||||
background: #00FF6A;
|
||||
box-shadow: 0 0 14px rgba(0, 255, 106, 1), 0 0 28px rgba(0, 255, 106, 0.6);
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes pulse-led-red {
|
||||
0%, 100% {
|
||||
background: var(--color-red);
|
||||
box-shadow: 0 0 6px rgba(255, 0, 64, 0.7), 0 0 14px rgba(255, 0, 64, 0.35);
|
||||
}
|
||||
50% {
|
||||
background: var(--color-red);
|
||||
box-shadow: 0 0 12px rgba(255, 0, 64, 1), 0 0 22px rgba(255, 0, 64, 0.55);
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes glitch-skew {
|
||||
0%, 100% { transform: translate(-50%, -50%) skew(0deg); }
|
||||
20% { transform: translate(-50%, -50%) skew(3deg, -1deg); }
|
||||
40% { transform: translate(-50%, -50%) skew(-2deg, 1deg); }
|
||||
60% { transform: translate(-50%, -50%) skew(2deg, 0deg); }
|
||||
80% { transform: translate(-50%, -50%) skew(-3deg, 2deg); }
|
||||
}
|
||||
|
||||
@keyframes grain {
|
||||
0%, 100% { transform: translate(0, 0); }
|
||||
10% { transform: translate(-5%, -10%); }
|
||||
20% { transform: translate(-15%, 5%); }
|
||||
30% { transform: translate(7%, -25%); }
|
||||
40% { transform: translate(-5%, 25%); }
|
||||
50% { transform: translate(-15%, 10%); }
|
||||
60% { transform: translate(15%, 0%); }
|
||||
70% { transform: translate(0%, 15%); }
|
||||
80% { transform: translate(3%, 35%); }
|
||||
90% { transform: translate(-10%, 10%); }
|
||||
}
|
||||
|
||||
@utility animate-flicker { animation: flicker 3s infinite; }
|
||||
@utility animate-pulse-neon { animation: pulse-neon 2s ease-in-out infinite; }
|
||||
@utility animate-led-green { animation: pulse-led-green 1.4s ease-in-out infinite; }
|
||||
@utility animate-led-red { animation: pulse-led-red 1s ease-in-out infinite; }
|
||||
@utility animate-grain { animation: grain 8s steps(10) infinite; }
|
||||
|
||||
/* =========================================================================
|
||||
Composants de base
|
||||
========================================================================= */
|
||||
|
||||
@layer components {
|
||||
/* CTA principal : acid yellow (free party flyer) */
|
||||
.btn-primary {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 0.5rem;
|
||||
padding: 0.75rem 1.75rem;
|
||||
font-family: var(--font-display);
|
||||
font-weight: 500;
|
||||
letter-spacing: 0.04em;
|
||||
background: var(--color-acid);
|
||||
color: var(--color-bg);
|
||||
border: 1px solid var(--color-acid);
|
||||
border-radius: 2px;
|
||||
transition: all 0.3s ease;
|
||||
box-shadow: 0 0 20px rgba(198, 255, 0, 0.35);
|
||||
text-transform: uppercase;
|
||||
font-size: 0.875rem;
|
||||
}
|
||||
.btn-primary:hover {
|
||||
transform: translateY(-2px);
|
||||
box-shadow:
|
||||
0 0 30px rgba(198, 255, 0, 0.7),
|
||||
0 0 60px rgba(198, 255, 0, 0.3);
|
||||
}
|
||||
|
||||
/* CTA ghost : cyan UV */
|
||||
.btn-ghost {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 0.5rem;
|
||||
padding: 0.75rem 1.75rem;
|
||||
font-family: var(--font-display);
|
||||
font-weight: 500;
|
||||
letter-spacing: 0.04em;
|
||||
background: transparent;
|
||||
color: var(--color-cyan);
|
||||
border: 1px solid var(--color-cyan);
|
||||
border-radius: 2px;
|
||||
transition: all 0.3s ease;
|
||||
text-transform: uppercase;
|
||||
font-size: 0.875rem;
|
||||
}
|
||||
.btn-ghost:hover {
|
||||
background: var(--color-cyan);
|
||||
color: var(--color-bg);
|
||||
box-shadow: 0 0 30px rgba(0, 240, 255, 0.6);
|
||||
}
|
||||
|
||||
.card-neon {
|
||||
background: var(--color-surface);
|
||||
border: 1px solid var(--color-border);
|
||||
border-radius: 4px;
|
||||
padding: 1.5rem;
|
||||
transition: all 0.3s ease;
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
}
|
||||
.card-neon:hover {
|
||||
transform: translateY(-4px);
|
||||
border-color: rgba(0, 240, 255, 0.4);
|
||||
box-shadow: 0 10px 40px -10px rgba(0, 240, 255, 0.2);
|
||||
}
|
||||
|
||||
.chip {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 0.25rem;
|
||||
padding: 0.25rem 0.625rem;
|
||||
font-family: var(--font-mono);
|
||||
font-size: 0.75rem;
|
||||
background: rgba(0, 240, 255, 0.08);
|
||||
border: 1px solid rgba(0, 240, 255, 0.25);
|
||||
color: var(--color-cyan);
|
||||
border-radius: 2px;
|
||||
}
|
||||
|
||||
/* LED indicators (circles à côté d'un label) */
|
||||
.led {
|
||||
display: inline-block;
|
||||
width: 0.5rem;
|
||||
height: 0.5rem;
|
||||
border-radius: 50%;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
.led-green { background: #00FF6A; box-shadow: 0 0 8px #00FF6A; }
|
||||
.led-red { background: var(--color-red); box-shadow: 0 0 8px var(--color-red); }
|
||||
.led-cyan { background: var(--color-cyan); box-shadow: 0 0 8px var(--color-cyan); }
|
||||
.led-acid { background: var(--color-acid); box-shadow: 0 0 8px var(--color-acid); }
|
||||
|
||||
.font-display { font-family: var(--font-display); }
|
||||
.font-mono { font-family: var(--font-mono); }
|
||||
.font-stencil { font-family: var(--font-stencil); letter-spacing: 0.04em; }
|
||||
}
|
||||
|
||||
/* =========================================================================
|
||||
View Transitions (crossfade EQ entre pages)
|
||||
========================================================================= */
|
||||
|
||||
::view-transition-old(root) {
|
||||
animation: fade-blur-out 0.3s cubic-bezier(0.4, 0, 0.2, 1) both;
|
||||
}
|
||||
::view-transition-new(root) {
|
||||
animation: fade-blur-in 0.4s cubic-bezier(0.22, 1, 0.36, 1) both;
|
||||
}
|
||||
|
||||
@keyframes fade-blur-out {
|
||||
from { opacity: 1; filter: blur(0); }
|
||||
to { opacity: 0; filter: blur(8px); }
|
||||
}
|
||||
@keyframes fade-blur-in {
|
||||
from { opacity: 0; filter: blur(8px); transform: translateY(8px); }
|
||||
to { opacity: 1; filter: blur(0); transform: translateY(0); }
|
||||
}
|
||||
|
||||
/* =========================================================================
|
||||
Accessibility
|
||||
========================================================================= */
|
||||
|
||||
@media (prefers-reduced-motion: reduce) {
|
||||
*, *::before, *::after {
|
||||
animation-duration: 0.01ms !important;
|
||||
animation-iteration-count: 1 !important;
|
||||
transition-duration: 0.01ms !important;
|
||||
}
|
||||
::view-transition-old(root),
|
||||
::view-transition-new(root) {
|
||||
animation: none !important;
|
||||
}
|
||||
/* ---------- Respect de prefers-reduced-motion ---------- */
|
||||
@media (prefers-reduced-motion: reduce){
|
||||
html{scroll-behavior:auto;}
|
||||
*,*::before,*::after{animation-duration:.001ms!important;animation-iteration-count:1!important;transition-duration:.001ms!important;}
|
||||
.reveal{opacity:1;transform:none;}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user