first commit

This commit is contained in:
mrtoine 2025-09-20 14:16:14 +02:00
parent b216a187bd
commit f73c77f548
119 changed files with 4504 additions and 4829 deletions

View file

@ -0,0 +1,69 @@
/* Design tokens — CV/Portfolio blanc & orange */
:root {
/* Couleurs de base (clair) */
--color-bg: #ffffff;
--color-surface: #ffffff;
--color-text: #1f2937;
--color-muted: #6b7280;
--color-border: #efefef;
--color-accent: #ff6b35;
/* Variantes daccent */
--color-accent-50: #fff4ec;
--color-accent-100: #ffe4d6;
--color-accent-200: #ffcfba;
--color-accent-600: #e55a2b;
--color-accent-700: #c74d25;
/* Rayons et ombres */
--radius-sm: 6px;
--radius-md: 10px;
--radius-lg: 14px;
--shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.06);
--shadow-md: 0 2px 10px rgba(0, 0, 0, 0.08);
/* Layout */
--header-height: 80px;
--container-max: 1100px;
/* Espacements */
--space-1: 0.25rem;
--space-2: 0.5rem;
--space-3: 0.75rem;
--space-4: 1rem;
--space-5: 1.25rem;
--space-6: 1.5rem;
--space-8: 2rem;
--space-12: 3rem;
--space-16: 4rem;
}
/* Thème sombre (préférence système par défaut) */
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #1f2937;
--color-surface: #0e141b;
--color-text: #e5e7eb;
--color-muted: #9ca3af;
--color-border: #0b0f14;
/* accent inchangé pour la cohérence de marque */
}
}
/* Thème forcé via data-attribute */
html[data-theme="light"] {
--color-bg: #ffffff;
--color-surface: #FFF7F7;
--color-text: #1f2937;
--color-muted: #6b7280;
--color-border: #efefef;
}
html[data-theme="dark"] {
--color-bg: #1f2937;
--color-surface: #0e141b;
--color-text: #e5e7eb;
--color-muted: #9ca3af;
--color-border: #0b0f14;
--color-accent-50: #041D36;
}

View file

@ -0,0 +1,576 @@
/* Composants réutilisables — minimal & pro */
/* Titres de section avec liseré orange */
.section-title {
display: inline-block;
position: relative;
padding-bottom: 0.4rem;
margin-bottom: var(--space-6, 1.5rem);
}
.section-title::after {
content: "";
position: absolute;
left: 0;
bottom: 0;
width: 56px;
height: 3px;
background: var(--color-accent, #ff6b35);
border-radius: 999px;
}
/* Grille responsive */
.grid {
display: grid;
gap: var(--space-6, 1.5rem);
grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
}
/* Carte */
.card {
background: var(--color-surface, #ffffff);
border: 1px solid var(--color-border, #efefef);
border-radius: var(--radius-md, 10px);
box-shadow: var(--shadow-sm, 0 1px 2px rgba(0,0,0,0.06));
padding: var(--space-6, 1.5rem);
transition: transform 0.15s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.card:hover {
transform: translateY(-2px);
border-color: var(--color-accent-100, #ffe4d6);
box-shadow: var(--shadow-md, 0 2px 10px rgba(0,0,0,0.08));
}
/* Blocs génériques (layout de sections) */
.block {
background: var(--color-surface, #ffffff);
border: 1px solid var(--color-border, #efefef);
border-radius: var(--radius-md, 10px);
padding: var(--space-6, 1.5rem);
box-shadow: var(--shadow-sm, 0 1px 2px rgba(0,0,0,0.06));
}
.block--split {
display: flex;
align-items: center;
gap: var(--space-6, 1.5rem);
flex-wrap: wrap;
}
.block__media {
flex: 0 0 96px;
height: 96px;
border-radius: var(--radius-md, 10px);
background: var(--color-accent-50, #fff4ec);
border: 1px solid var(--color-accent-100, #ffe4d6);
}
.block__content {
flex: 1 1 360px;
}
/* Feature (icône + texte) */
.feature {
display: flex;
align-items: flex-start;
gap: var(--space-4, 1rem);
}
.feature__icon {
width: 40px;
height: 40px;
border-radius: 999px;
background: var(--color-accent-50, #fff4ec);
border: 1px solid var(--color-accent-100, #ffe4d6);
box-shadow: inset 0 0 0 2px rgba(255, 107, 53, 0.08);
}
.feature__title {
margin: 0;
}
/* Barre d'appel à action */
.cta-bar {
display: flex;
align-items: center;
justify-content: space-between;
gap: var(--space-4, 1rem);
padding: var(--space-5, 1.25rem) var(--space-6, 1.5rem);
border-radius: var(--radius-md, 10px);
background: var(--color-accent-50, #fff4ec);
border: 1px solid var(--color-accent-100, #ffe4d6);
}
/* Blocs génériques (layout de sections) */
.block {
background: var(--color-surface, #ffffff);
border: 1px solid var(--color-border, #efefef);
border-radius: var(--radius-md, 10px);
padding: var(--space-6, 1.5rem);
box-shadow: var(--shadow-sm, 0 1px 2px rgba(0,0,0,0.06));
}
.block--split {
display: flex;
align-items: center;
gap: var(--space-6, 1.5rem);
flex-wrap: wrap;
}
.block__media {
flex: 0 0 96px;
height: 96px;
border-radius: var(--radius-md, 10px);
background: var(--color-accent-50, #fff4ec);
border: 1px solid var(--color-accent-100, #ffe4d6);
}
.block__content {
flex: 1 1 360px;
}
/* Feature (icône + texte) */
.feature {
display: flex;
align-items: flex-start;
gap: var(--space-4, 1rem);
}
.feature__icon {
width: 40px;
height: 40px;
border-radius: 999px;
background: var(--color-accent-50, #fff4ec);
border: 1px solid var(--color-accent-100, #ffe4d6);
box-shadow: inset 0 0 0 2px rgba(255, 107, 53, 0.08);
}
.feature__title {
margin: 0;
}
/* Barre d'appel à action */
.cta-bar {
display: flex;
align-items: center;
justify-content: space-between;
gap: var(--space-4, 1rem);
padding: var(--space-5, 1.25rem) var(--space-6, 1.5rem);
border-radius: var(--radius-md, 10px);
background: var(--color-accent-50, #fff4ec);
border: 1px solid var(--color-accent-100, #ffe4d6);
}
/* =========================
DEV HERO + badges techno
========================= */
.dev-hero {
position: relative;
background: linear-gradient(180deg, var(--color-surface), var(--color-accent-50, #fff4ec));
border-bottom: 1px solid var(--color-border, #efefef);
padding-block: var(--space-16, 4rem);
overflow: hidden;
}
.dev-hero::before {
content: "";
position: absolute;
inset: -10% -20% auto -20%;
height: 220px;
background: radial-gradient(closest-side, color-mix(in oklab, var(--color-accent) 12%, transparent), transparent 70%);
opacity: .35;
filter: blur(20px);
}
.dev-hero .headline {
font-weight: 800;
letter-spacing: -0.02em;
}
.dev-hero .subheadline {
color: var(--color-muted, #6b7280);
max-width: 70ch;
}
.tech-badges {
display: flex;
flex-wrap: wrap;
gap: 0.5rem;
margin-top: var(--space-4, 1rem);
}
.badge {
display: inline-flex;
align-items: center;
padding: 0.35rem 0.6rem;
border-radius: 999px;
border: 1px solid var(--color-accent-100, #ffe4d6);
background: var(--color-accent-50, #fff4ec);
color: var(--color-accent-700, #c74d25);
font-weight: 600;
font-size: 0.9rem;
}
.badge--mono {
font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
letter-spacing: .02em;
}
/* =========================
Projets liste en cartes
========================= */
.projects-list {
list-style: none;
padding: 0;
margin: 0;
display: grid;
gap: var(--space-6, 1.5rem);
grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
}
.projects-list > li {
background: var(--color-surface, #ffffff);
border: 1px solid var(--color-border, #efefef);
border-radius: var(--radius-md, 10px);
padding: var(--space-6, 1.5rem);
box-shadow: var(--shadow-sm, 0 1px 2px rgba(0,0,0,0.06));
transition: transform 0.15s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.projects-list > li:hover {
transform: translateY(-2px);
border-color: var(--color-accent-100, #ffe4d6);
box-shadow: var(--shadow-md, 0 2px 10px rgba(0,0,0,0.08));
}
.projects-list h3 {
margin: 0 0 var(--space-2, 0.5rem);
font-size: 1.125rem;
}
.projects-list p {
margin: 0;
color: var(--color-muted, #6b7280);
}
/* =========================
Services cartes (features)
========================= */
#services ul {
list-style: none;
padding: 0;
margin: 0;
display: grid;
gap: var(--space-6, 1.5rem);
grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
}
.service-card {
display: flex;
flex-direction: column;
gap: var(--space-3, 0.75rem);
}
/* =====================================
Compétences skill cards & meters
===================================== */
.skill-grid {
display: grid;
gap: var(--space-6, 1.5rem);
grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
}
/* Carte de compétence — plus expressive et accessible */
.skill-card {
position: relative;
display: flex;
flex-direction: column;
gap: var(--space-4, 1rem);
background: var(--color-surface, #ffffff);
border: 1px solid var(--color-border, #efefef);
border-radius: var(--radius-md, 10px);
padding: var(--space-6, 1.5rem);
box-shadow: var(--shadow-sm, 0 1px 2px rgba(0,0,0,0.06));
transition:
transform 0.15s ease,
box-shadow 0.2s ease,
border-color 0.2s ease,
background-color 0.2s ease;
}
/* Accent latéral qui apparaît au survol (met en valeur la carte) */
.skill-card::after {
content: "";
position: absolute;
inset: 0 auto 0 0;
width: 4px;
background: transparent;
border-top-left-radius: var(--radius-md, 10px);
border-bottom-left-radius: var(--radius-md, 10px);
transition: background-color 0.2s ease;
}
.skill-card:hover {
transform: translateY(-2px);
border-color: var(--color-accent-100, #ffe4d6);
box-shadow: var(--shadow-md, 0 2px 10px rgba(0,0,0,0.08));
}
.skill-card:hover::after {
background: var(--color-accent, #ff6b35);
}
/* Focus clavier visible (accessibilité) */
.skill-card:focus-within {
border-color: var(--color-accent, #ff6b35);
box-shadow: 0 0 0 3px color-mix(in oklab, var(--color-accent, #ff6b35) 22%, transparent);
}
/* Sous-blocs optionnels */
.skill-card__header {
display: flex;
align-items: center;
gap: var(--space-3, 0.75rem);
}
.skill-card__icon {
width: 36px;
height: 36px;
border-radius: 10px;
background: var(--color-accent-50, #fff4ec);
border: 1px solid var(--color-accent-100, #ffe4d6);
flex: 0 0 auto;
}
.skill-card__body {
display: flex;
flex-direction: column;
gap: var(--space-3, 0.75rem);
}
.skill-card__footer {
margin-top: auto;
display: flex;
align-items: center;
justify-content: space-between;
gap: var(--space-3, 0.75rem);
padding-top: var(--space-4, 1rem);
border-top: 1px solid var(--color-border, #efefef);
}
.skill-card__title {
margin: 0 0 var(--space-3, 0.75rem);
}
.skill-card__tags {
display: flex;
flex-wrap: wrap;
gap: 0.5rem;
}
.skill-meter {
height: 8px;
background: #ffffff;
border: 1px solid var(--color-border, #efefef);
border-radius: 999px;
overflow: hidden;
}
.skill-meter__bar {
height: 100%;
width: var(--level, 70%);
background: linear-gradient(90deg, var(--color-accent, #ff6b35), var(--color-accent-700, #c74d25));
}
/* =====================================
Code block et stats
===================================== */
.code-block {
background: #0b0f14;
color: #e5e7eb;
border-radius: var(--radius-md, 10px);
padding: var(--space-6, 1.5rem);
border: 1px solid #1f2937;
font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}
.code-block .code-accent {
color: #ffb38f;
}
.stats {
display: grid;
gap: var(--space-6, 1.5rem);
grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
margin-top: var(--space-6, 1.5rem);
}
.stat {
background: #ffffff;
border: 1px solid var(--color-border, #efefef);
border-radius: var(--radius-md, 10px);
padding: var(--space-5, 1.25rem);
text-align: center;
box-shadow: var(--shadow-sm, 0 1px 2px rgba(0,0,0,0.06));
}
.stat .stat__value {
font-size: 1.5rem;
font-weight: 800;
color: var(--color-accent-700, #c74d25);
}
.stat .stat__label {
color: var(--color-muted, #6b7280);
font-size: 0.9rem;
}
/* =====================================
Catégories + puces (chips)
===================================== */
section > ul > li {
background: var(--color-surface, #ffffff);
border: 1px solid var(--color-border, #efefef);
border-radius: var(--radius-md, 10px);
padding: var(--space-5, 1.25rem) var(--space-6, 1.5rem);
}
section > ul > li + li {
margin-top: var(--space-4, 1rem);
}
section > ul > li > h3 {
margin: 0 0 var(--space-3, 0.75rem);
}
section > ul > li > ul {
list-style: none;
margin: 0;
padding: 0;
display: flex;
gap: 0.5rem;
flex-wrap: wrap;
}
section > ul > li > ul > li {
padding: 0.25rem 0.5rem;
border-radius: 999px;
background: var(--color-accent-50, #fff4ec);
color: var(--color-accent-700, #c74d25);
border: 1px solid var(--color-accent-100, #ffe4d6);
font-size: 0.85rem;
font-weight: 600;
}
/* =========================
Projets liste en cartes
========================= */
.projects-list {
list-style: none;
padding: 0;
margin: 0;
display: grid;
gap: var(--space-6, 1.5rem);
grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
}
.projects-list > li {
background: var(--color-surface, #ffffff);
border: 1px solid var(--color-border, #efefef);
border-radius: var(--radius-md, 10px);
padding: var(--space-6, 1.5rem);
box-shadow: var(--shadow-sm, 0 1px 2px rgba(0,0,0,0.06));
transition: transform 0.15s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.projects-list > li:hover {
transform: translateY(-2px);
border-color: var(--color-accent-100, #ffe4d6);
box-shadow: var(--shadow-md, 0 2px 10px rgba(0,0,0,0.08));
}
.projects-list h3 {
margin: 0 0 var(--space-2, 0.5rem);
font-size: 1.125rem;
}
.projects-list p {
margin: 0;
color: var(--color-muted, #6b7280);
}
/* =========================
Services cartes simples
========================= */
#services ul {
list-style: none;
padding: 0;
margin: 0;
display: grid;
gap: var(--space-6, 1.5rem);
grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
}
#services li {
position: relative;
background: var(--color-surface, #ffffff);
border: 1px solid var(--color-border, #efefef);
border-radius: var(--radius-md, 10px);
padding: var(--space-5, 1.25rem) var(--space-6, 1.5rem);
box-shadow: var(--shadow-sm, 0 1px 2px rgba(0,0,0,0.06));
transition: transform 0.15s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
#services li::before {
content: "";
position: absolute;
inset: 0 auto 0 0;
width: 4px;
background: var(--color-accent, #ff6b35);
border-top-left-radius: var(--radius-md, 10px);
border-bottom-left-radius: var(--radius-md, 10px);
}
#services li:hover {
transform: translateY(-2px);
border-color: var(--color-accent-100, #ffe4d6);
box-shadow: var(--shadow-md, 0 2px 10px rgba(0,0,0,0.08));
}
/* =====================================
Compétences catégories + puces (chips)
===================================== */
section > ul > li {
background: var(--color-surface, #ffffff);
border: 1px solid var(--color-border, #efefef);
border-radius: var(--radius-md, 10px);
padding: var(--space-5, 1.25rem) var(--space-6, 1.5rem);
}
section > ul > li + li {
margin-top: var(--space-4, 1rem);
}
section > ul > li > h3 {
margin: 0 0 var(--space-3, 0.75rem);
}
section > ul > li > ul {
list-style: none;
margin: 0;
padding: 0;
display: flex;
gap: 0.5rem;
flex-wrap: wrap;
}
section > ul > li > ul > li {
padding: 0.25rem 0.5rem;
border-radius: 999px;
background: var(--color-accent-50, #fff4ec);
color: var(--color-accent-700, #c74d25);
border: 1px solid var(--color-accent-100, #ffe4d6);
font-size: 0.85rem;
font-weight: 600;
}

112
frontend/app/css/forms.css Normal file
View file

@ -0,0 +1,112 @@
/* Formulaires minimalistes — blanc & orange */
label {
display: block;
margin-bottom: var(--space-2, 0.5rem);
font-weight: 600;
}
input[type="text"],
input[type="email"],
input[type="url"],
input[type="tel"],
input[type="password"],
input[type="number"],
select,
textarea {
width: 100%;
max-width: 640px;
background: #ffffff;
color: var(--color-text, #1f2937);
border: 1px solid var(--color-border, #efefef);
border-radius: var(--radius-sm, 6px);
padding: 0.625rem 0.75rem;
outline: none;
transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}
input:hover,
select:hover,
textarea:hover {
border-color: var(--color-accent-100, #ffe4d6);
}
textarea {
min-height: 140px;
resize: vertical;
}
input::placeholder,
textarea::placeholder {
color: var(--color-muted, #6b7280);
}
input:focus,
select:focus,
textarea:focus {
border-color: var(--color-accent, #ff6b35);
box-shadow: 0 0 0 3px color-mix(in oklab, var(--color-accent, #ff6b35) 22%, transparent);
background: #fff;
}
/* Boutons */
button,
.button {
display: inline-flex;
align-items: center;
justify-content: center;
gap: 0.5rem;
padding: 0.6rem 1rem;
border: 1px solid transparent;
border-radius: var(--radius-sm, 6px);
background: var(--color-accent, #ff6b35);
color: #fff;
font-weight: 600;
cursor: pointer;
transition: transform 0.05s ease, background-color 0.2s ease, box-shadow 0.2s ease;
text-decoration: none;
}
button:hover,
.button:hover {
background: var(--color-accent-600, #e55a2b);
box-shadow: 0 6px 14px rgba(255, 107, 53, 0.2);
}
button:active,
.button:active {
transform: translateY(0.5px);
background: var(--color-accent-700, #c74d25);
}
button:focus-visible,
.button:focus-visible {
outline: 2px solid var(--color-accent, #ff6b35);
outline-offset: 2px;
box-shadow: 0 0 0 4px color-mix(in oklab, var(--color-accent, #ff6b35) 25%, transparent);
}
button:disabled,
.button:disabled {
opacity: 0.6;
cursor: not-allowed;
}
/* Variantes */
.button--elevated {
box-shadow: 0 8px 18px rgba(255, 107, 53, 0.25);
}
.button--soft {
background: var(--color-accent-50, #fff4ec);
color: var(--color-accent-700, #c74d25);
border: 1px solid var(--color-accent-100, #ffe4d6);
}
.button--soft:hover {
background: var(--color-accent-100, #ffe4d6);
color: var(--color-accent-700, #c74d25);
}
.button--pill {
border-radius: 999px;
}

View file

@ -0,0 +1,131 @@
/* Reset léger et bases */
*,
*::before,
*::after {
box-sizing: border-box;
}
html, body {
height: 100%;
}
body {
margin: 0;
background: var(--color-bg, #ffffff);
color: var(--color-text, #1f2937);
min-height: 100svh;
padding-top: var(--header-height, 80px); /* espace pour le header fixe */
transition: background-color 0.25s ease, color 0.25s ease;
transition: background-color 0.25s ease, color 0.25s ease;
}
/* Images fluides */
img, svg, video {
max-width: 100%;
height: auto;
display: block;
}
/* Mise en page commune */
main {
display: block;
}
.container {
max-width: var(--container-max, 1100px);
margin-inline: auto;
padding-inline: min(5vw, var(--space-6, 1.5rem));
}
.section {
padding-block: var(--space-16, 4rem) var(--space-12, 3rem);
}
.hero {
background: var(--color-surface, #ffffff);
border-bottom: 1px solid var(--color-border, #efefef);
box-shadow: inset 0 -6px 0 var(--color-accent-50, #fff4ec);
padding-block: var(--space-16, 4rem);
}
.hero h2 {
margin: 0 0 var(--space-2, 0.5rem);
}
.hero p {
margin: 0;
max-width: 60ch;
color: var(--color-muted, #6b7280);
}
/* Footer minimal */
footer {
background: var(--color-bg, #ffffff);
border-top: 1px solid var(--color-border, #efefef);
margin-top: var(--space-16, 4rem);
padding: var(--space-6, 1.5rem) min(5vw, var(--space-6, 1.5rem));
color: var(--color-muted, #6b7280);
text-align: center;
}
/* Accessibilité et confort */
:focus-visible {
outline: 2px solid var(--color-accent, #ff6b35);
outline-offset: 2px;
border-radius: var(--radius-sm, 6px);
}
/* Sélection de texte en orange doux */
::selection {
background: var(--color-accent-100, #ffe4d6);
color: var(--color-text, #1f2937);
}
/* Scroll fluide + offset pour header fixe */
html {
scroll-behavior: smooth;
color-scheme: light;
}
html[data-theme="dark"] {
color-scheme: dark;
color-scheme: light;
}
html[data-theme="dark"] {
color-scheme: dark;
}
/* Tout élément ciblé par un id laissera la place au header */
[id] {
scroll-margin-top: calc(var(--header-height, 80px) + 12px);
}
/* Séparateur horizontal discret */
hr {
border: 0;
height: 1px;
background: var(--color-border, #efefef);
margin: var(--space-8, 2rem) 0;
}
/* Variantes de section */
.section--alt {
background: var(--color-accent-50, #fff4ec);
border-top: 1px solid var(--color-border, #efefef);
border-bottom: 1px solid var(--color-border, #efefef);
}
.lead {
font-size: 1.125rem;
color: var(--color-muted, #6b7280);
}
/* Fin: préférences de mouvement */
@media (prefers-reduced-motion: reduce) {
* {
animation: none !important;
transition: none !important;
scroll-behavior: auto !important;
}
}

View file

@ -0,0 +1,66 @@
.cyberpunk {
background: #0a0a1a;
padding: 1rem 5%;
font-family: 'Courier New', monospace;
color: #00ff88;
position: fixed;
width: 100%;
top: 0;
z-index: 1000;
}
.cyberpunk .glitch-logo {
font-size: 1.8rem;
position: relative;
}
.cyberpunk .glitch-logo span {
animation: glitch 1.5s infinite;
}
@keyframes glitch {
0% { transform: skew(0deg); }
20% { transform: skew(2deg); }
40% { transform: skew(-1deg); }
60% { transform: skew(1deg); }
80% { transform: skew(-2deg); }
100% { transform: skew(0deg); }
}
.cyberpunk .subtitle {
font-size: 0.9rem;
opacity: 0.8;
}
.cyberpunk .neon-nav ul {
display: flex;
list-style: none;
gap: 1.5rem;
}
.cyberpunk .neon-nav a {
color: #00ff88;
text-decoration: none;
position: relative;
}
.cyberpunk .neon-nav a::after {
content: '';
position: absolute;
bottom: -5px;
left: 0;
width: 0;
height: 2px;
background: #00ff88;
transition: width 0.3s;
}
.cyberpunk .neon-nav a:hover::after {
width: 100%;
}
.cyberpunk .status-bar {
font-size: 0.8rem;
margin-top: 0.5rem;
color: #ff6b35;
}

View file

@ -0,0 +1,43 @@
.dark-header {
background: #1a1a2e;
padding: 1rem 5%;
position: fixed;
width: 100%;
top: 0;
z-index: 1000;
}
.dark-header .container {
display: flex;
justify-content: space-between;
align-items: center;
}
.dark-header .logo img {
height: 50px;
}
.dark-header nav ul {
display: flex;
list-style: none;
gap: 2rem;
}
.dark-header nav a {
color: #e6e6e6;
text-decoration: none;
font-weight: 500;
transition: color 0.3s;
}
.dark-header nav a:hover {
color: #ff6b35;
}
.dark-header .theme-toggle button {
background: none;
border: none;
color: #e6e6e6;
font-size: 1.2rem;
cursor: pointer;
}

View file

@ -0,0 +1,87 @@
.interactive-header {
text-align: center;
padding: 3rem 5%;
background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
position: relative;
overflow: hidden;
}
.interactive-header .typewriter h1 {
font-size: 2.5rem;
margin: 0;
color: #333;
}
.interactive-header .typed-text {
color: #ff6b35;
border-right: 2px solid #ff6b35;
animation: blink 0.7s infinite;
}
@keyframes blink {
0%, 100% { opacity: 1; }
50% { opacity: 0; }
}
.interactive-header p {
font-size: 1.2rem;
margin: 0.5rem 0 2rem;
color: #666;
}
.interactive-header .tech-tag {
background: #ff6b35;
color: white;
padding: 0.2rem 0.5rem;
border-radius: 3px;
font-weight: 600;
}
.interactive-header nav ul {
display: flex;
justify-content: center;
list-style: none;
gap: 2rem;
}
.interactive-header nav a {
color: #333;
text-decoration: none;
font-weight: 500;
padding-bottom: 0.5rem;
position: relative;
}
.interactive-header nav a::after {
content: '';
position: absolute;
bottom: 0;
left: 0;
width: 0;
height: 2px;
background: #ff6b35;
transition: width 0.3s;
}
.interactive-header nav a:hover::after {
width: 100%;
}
.interactive-header .language-switcher {
position: absolute;
top: 1rem;
right: 1rem;
}
.interactive-header .language-switcher button {
background: none;
border: 1px solid #ccc;
padding: 0.3rem 0.6rem;
cursor: pointer;
}
.interactive-header .language-switcher button:first-child {
background: #ff6b35;
color: white;
border-color: #ff6b35;
}

View file

@ -0,0 +1,75 @@
.sidebar-header {
display: flex;
flex-direction: column;
align-items: center;
background: #f8f8f8;
padding: 2rem 1rem;
position: fixed;
height: 100vh;
width: 250px;
left: 0;
top: 0;
z-index: 1000;
box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
}
.sidebar-header .profile-pic img {
width: 80px;
height: 80px;
border-radius: 50%;
object-fit: cover;
border: 3px solid #ff6b35;
}
.sidebar-header .profile-info {
text-align: center;
margin: 1rem 0;
}
.sidebar-header h1 {
font-size: 1.3rem;
margin: 0.5rem 0;
color: #333;
}
.sidebar-header p {
font-size: 0.9rem;
color: #666;
}
.sidebar-header nav ul {
list-style: none;
width: 100%;
padding: 0;
}
.sidebar-header nav li {
margin: 1rem 0;
}
.sidebar-header nav a {
display: flex;
align-items: center;
gap: 0.5rem;
color: #333;
text-decoration: none;
padding: 0.5rem;
border-radius: 5px;
transition: background 0.3s;
}
.sidebar-header nav a:hover {
background: #ff6b35;
color: white;
}
.sidebar-header .social-links {
display: flex;
gap: 1rem;
margin-top: 2rem;
}
.sidebar-header .social-links a {
color: #333;
font-size: 1.2rem;
}

View file

@ -0,0 +1,115 @@
.minimalist-pro {
display: flex;
justify-content: space-between;
align-items: center;
padding: 1rem 5%;
background: var(--color-surface);
color: var(--color-text);
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
border-bottom: 1px solid var(--color-border);
position: fixed;
width: 100%;
top: 0;
z-index: 1000;
box-sizing: border-box; /* important pour éviter lélargissement avec le padding */
overflow-x: auto; /* autorise un scroll horizontal si vraiment nécessaire */
height: var(--header-height, 80px);
transition: background-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
/* Quand la page est tout en haut: enlever la bordure (et lombre pour un rendu plat) */
.minimalist-pro.is-top {
border-bottom-color: transparent;
box-shadow: none;
}
.minimalist-pro .logo {
font-weight: 700;
font-size: 1.25rem;
min-width: 0; /* permet de rétrécir correctement en flex */
}
.minimalist-pro .name {
color: inherit;
}
.minimalist-pro .tagline {
display: block;
font-size: 0.85rem;
color: var(--color-muted);
font-weight: 400;
}
.minimalist-pro nav ul {
display: flex;
list-style: none;
gap: 2rem;
flex-wrap: wrap; /* évite le débordement: passe à la ligne si pas assez de place */
margin: 0;
padding: 0;
}
.minimalist-pro nav a {
text-decoration: none;
color: inherit;
font-weight: 600;
transition: color 0.2s ease;
white-space: nowrap; /* garde chaque lien sur une ligne, mais la UL peut retourner à la ligne */
}
.minimalist-pro nav a:hover {
color: var(--color-accent);
}
.minimalist-pro .cta {
display: inline-flex;
align-items: center;
gap: 0.75rem;
}
.minimalist-pro .button {
background: var(--color-accent);
color: #fff;
padding: 0.55rem 1rem;
border-radius: var(--radius-sm);
text-decoration: none;
font-weight: 700;
flex-shrink: 0; /* ne rétrécit pas, mais ne force pas lélargissement grâce au wrap de la UL */
transition: background-color 0.2s ease, box-shadow 0.2s ease;
}
.minimalist-pro .button:hover {
background: var(--color-accent-600);
box-shadow: 0 6px 14px rgba(255, 107, 53, 0.2);
}
/* Bouton de bascule du thème */
.theme-toggle__btn {
display: inline-flex;
align-items: center;
justify-content: center;
width: 2.25rem;
height: 2.25rem;
border-radius: 999px;
border: 1px solid var(--color-border);
background: var(--color-surface);
color: var(--color-text);
transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.05s ease;
cursor: pointer;
}
.theme-toggle__btn:hover {
background: var(--color-accent-50);
border-color: var(--color-accent-100);
}
.theme-toggle__btn:active {
transform: translateY(0.5px);
}
/* Réduit lespace entre liens sur écrans moyens pour limiter les risques de débordement */
@media (max-width: 1024px) {
.minimalist-pro nav ul {
gap: 1rem;
}
}

View file

@ -0,0 +1,31 @@
/* Liens minimaux et professionnels (underline animé) */
a {
color: inherit;
text-decoration: none;
background-image: linear-gradient(var(--color-accent, #ff6b35), var(--color-accent, #ff6b35));
background-position: 0 100%;
background-size: 0% 2px;
background-repeat: no-repeat;
transition: background-size 0.25s ease, color 0.2s ease, opacity 0.2s ease;
}
a:hover {
color: var(--color-accent-700, #c74d25);
background-size: 100% 2px;
}
a:active {
opacity: 0.9;
}
a:focus-visible {
outline: 2px solid var(--color-accent, #ff6b35);
outline-offset: 2px;
border-radius: var(--radius-sm, 6px);
}
/* Variante de lien "bouton texte" */
.link-button {
color: var(--color-accent, #ff6b35);
font-weight: 600;
}

View file

@ -0,0 +1,66 @@
/* Typographie */
html {
font-size: 16px;
}
body {
font-family: Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
line-height: 1.7;
letter-spacing: 0.1px;
color: var(--color-text, #1f2937);
}
h1, h2, h3, h4 {
line-height: 1.25;
margin: 0 0 var(--space-3, 0.75rem);
font-weight: 700;
color: var(--color-text, #1f2937);
}
h1 { font-size: clamp(2rem, 1.2rem + 1.8vw, 2.5rem); }
h2 { font-size: clamp(1.5rem, 1.1rem + 1.1vw, 2rem); }
h3 { font-size: clamp(1.25rem, 1rem + 0.7vw, 1.5rem); }
h4 { font-size: clamp(1.1rem, 0.95rem + 0.5vw, 1.25rem); }
p {
margin: 0 0 var(--space-4, 1rem);
color: var(--color-text, #1f2937);
}
small { color: var(--color-muted, #6b7280); }
strong { font-weight: 700; }
/* Utilitaires de texte */
.text-accent { color: var(--color-accent, #ff6b35); }
.eyebrow {
display: inline-block;
text-transform: uppercase;
letter-spacing: .08em;
font-size: 0.75rem;
color: var(--color-muted, #6b7280);
}
/* Accent “dev” */
.mono {
font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
letter-spacing: .02em;
}
.headline--code::before { content: "<"; color: var(--color-accent, #ff6b35); margin-right: 0.25rem; }
.headline--code::after { content: " />"; color: var(--color-accent, #ff6b35); margin-left: 0.25rem; }
/* Code inline et bloc */
code {
font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
background: var(--color-accent-50, #fff4ec);
border: 1px solid var(--color-accent-100, #ffe4d6);
color: var(--color-text, #1f2937);
border-radius: 6px;
padding: 0.1rem 0.35rem;
}
pre {
margin: 0;
}

View file

@ -0,0 +1,130 @@
/* Utilitaires légers */
/* Centrer un bloc dans son conteneur et limiter la largeur */
.container--narrow {
max-width: 820px;
margin-inline: auto;
}
/* Centrage */
.u-center {
display: grid;
place-items: center;
}
.u-text-center { text-align: center; }
.u-muted { color: var(--color-muted, #6b7280); }
/* Rythme vertical: ajoute un espace entre les éléments frères */
.flow > * + * {
margin-top: var(--space-4, 1rem);
}
/* Ombre au survol */
.shadow-hover {
transition: box-shadow 0.2s ease, transform 0.15s ease;
}
.shadow-hover:hover {
transform: translateY(-2px);
box-shadow: var(--shadow-md, 0 2px 10px rgba(0,0,0,0.08));
}
/* Visually hidden pour laccessibilité */
.visually-hidden,
.sr-only {
position: absolute !important;
height: 1px; width: 1px;
overflow: hidden;
clip: rect(1px, 1px, 1px, 1px);
white-space: nowrap;
border: 0; padding: 0; margin: -1px;
}
/* Flexbox utilitaires */
.flex { display: flex; }
.flex-col { display: flex; flex-direction: column; }
.flex-row { display: flex; flex-direction: row; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.items-end { align-items: flex-end; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.gap-2 { gap: var(--space-2, 0.5rem); }
.gap-4 { gap: var(--space-4, 1rem); }
.gap-6 { gap: var(--space-6, 1.5rem); }
/* Grilles rapides */
.grid-2 { display: grid; gap: var(--space-6, 1.5rem); grid-template-columns: repeat(2, 1fr); }
.grid-3 { display: grid; gap: var(--space-6, 1.5rem); grid-template-columns: repeat(3, 1fr); }
.grid-4 { display: grid; gap: var(--space-6, 1.5rem); grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) {
.grid-3 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
.grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}
/* Piles verticales */
.stack > * + * { margin-top: var(--space-4, 1rem); }
.stack-sm > * + * { margin-top: var(--space-3, 0.75rem); }
.stack-lg > * + * { margin-top: var(--space-6, 1.5rem); }
/* Espacements rapides */
.mt-0 { margin-top: 0 !important; }
.mt-4 { margin-top: var(--space-4, 1rem) !important; }
.mt-8 { margin-top: var(--space-8, 2rem) !important; }
.mb-0 { margin-bottom: 0 !important; }
.mb-4 { margin-bottom: var(--space-4, 1rem) !important; }
.mb-8 { margin-bottom: var(--space-8, 2rem) !important; }
/* Largeurs utiles */
.max-w-prose { max-width: 65ch; }
.max-w-wide { max-width: var(--container-max, 1100px); }
.w-full { width: 100%; }
/* Groupes de boutons */
.btn-group {
display: inline-flex;
gap: 0.5rem;
flex-wrap: wrap;
}
/* Grilles rapides */
.grid-2 { display: grid; gap: var(--space-6, 1.5rem); grid-template-columns: repeat(2, 1fr); }
.grid-3 { display: grid; gap: var(--space-6, 1.5rem); grid-template-columns: repeat(3, 1fr); }
.grid-4 { display: grid; gap: var(--space-6, 1.5rem); grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) {
.grid-3 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
.grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}
/* Piles verticales */
.stack > * + * { margin-top: var(--space-4, 1rem); }
.stack-sm > * + * { margin-top: var(--space-3, 0.75rem); }
.stack-lg > * + * { margin-top: var(--space-6, 1.5rem); }
/* Espacements rapides */
.mt-0 { margin-top: 0 !important; }
.mt-4 { margin-top: var(--space-4, 1rem) !important; }
.mt-8 { margin-top: var(--space-8, 2rem) !important; }
.mb-0 { margin-bottom: 0 !important; }
.mb-4 { margin-bottom: var(--space-4, 1rem) !important; }
.mb-8 { margin-bottom: var(--space-8, 2rem) !important; }
/* Largeurs utiles */
.max-w-prose { max-width: 65ch; }
.max-w-wide { max-width: var(--container-max, 1100px); }
.w-full { width: 100%; }
/* Groupes de boutons */
.btn-group {
display: inline-flex;
gap: 0.5rem;
flex-wrap: wrap;
}