Compare commits
6
Commits
830db5dca7
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
fa22f766ea | ||
|
|
579ad8b15d | ||
|
|
720070bee8 | ||
|
|
e180a97113 | ||
|
|
685599e706 | ||
|
|
5b1705e146 |
No files matched your search
@@ -31,7 +31,7 @@
|
|||||||
# N'activer HSTS qu'une fois le HTTPS vérifié : irréversible côté serveur.
|
# N'activer HSTS qu'une fois le HTTPS vérifié : irréversible côté serveur.
|
||||||
Header always set Strict-Transport-Security "max-age=63072000; includeSubDomains; preload"
|
Header always set Strict-Transport-Security "max-age=63072000; includeSubDomains; preload"
|
||||||
|
|
||||||
Header always set Content-Security-Policy "default-src 'self'; style-src 'self' 'unsafe-inline' https://fonts.googleapis.com; font-src 'self' https://fonts.gstatic.com; script-src 'self' 'unsafe-inline'; img-src 'self' data:; connect-src 'self'; base-uri 'self'; form-action 'self'; frame-ancestors 'none'; object-src 'none'; upgrade-insecure-requests"
|
Header always set Content-Security-Policy "default-src 'self'; style-src 'self' 'unsafe-inline' https://fonts.googleapis.com; font-src 'self' https://fonts.gstatic.com; script-src 'self' 'unsafe-inline' https://umami.ghostinthemachine.fr; img-src 'self' data:; connect-src 'self' https://umami.ghostinthemachine.fr; base-uri 'self'; form-action 'self'; frame-ancestors 'none'; object-src 'none'; upgrade-insecure-requests"
|
||||||
|
|
||||||
Header always set X-Content-Type-Options "nosniff"
|
Header always set X-Content-Type-Options "nosniff"
|
||||||
Header always set Referrer-Policy "strict-origin-when-cross-origin"
|
Header always set Referrer-Policy "strict-origin-when-cross-origin"
|
||||||
|
|||||||
@@ -169,15 +169,17 @@ de puce. Les liens utilisent `#03996F` (4,3:1).
|
|||||||
|
|
||||||
### Balises
|
### Balises
|
||||||
|
|
||||||
`title` de 56 caractères (sous le seuil de troncature de 60), description de
|
`title` de 55 caractères (sous le seuil de troncature de 60), description de
|
||||||
153 caractères (plage utile 120-170), `rel="canonical"`, `hreflang` avec
|
149 caractères (plage utile 120-170), `rel="canonical"`, `hreflang` avec
|
||||||
`x-default`, directives `robots` explicites avec `max-image-preview:large`.
|
`x-default`, directives `robots` explicites avec `max-image-preview:large`.
|
||||||
|
|
||||||
### Données structurées
|
### Données structurées
|
||||||
|
|
||||||
Graphe JSON-LD schema.org à trois entités reliées par `@id` :
|
Graphe JSON-LD schema.org à quatre entités reliées par `@id` :
|
||||||
`WebSite` → `ProfilePage` → `Person`, avec `worksFor`, `alumniOf`,
|
`WebSite` → `ProfilePage` → `Person`, avec `worksFor` (un établissement
|
||||||
`hasCredential`, `hasOccupation` et `knowsAbout`.
|
actuel par entrée), `sameAs` (LinkedIn), `alumniOf`, `hasCredential`,
|
||||||
|
`hasOccupation` et `knowsAbout`. L'entité `Organization` underscorelab
|
||||||
|
renvoie à `Person` par `founder` et figure dans son `worksFor`.
|
||||||
|
|
||||||
Double bénéfice : Google associe la page à une entité « personne » plutôt
|
Double bénéfice : Google associe la page à une entité « personne » plutôt
|
||||||
qu'à un simple document, et les agents conversationnels disposent d'une
|
qu'à un simple document, et les agents conversationnels disposent d'une
|
||||||
@@ -225,7 +227,7 @@ quelques secondes — il veut les postes, les compétences, les diplômes et de
|
|||||||
quoi rappeler.
|
quoi rappeler.
|
||||||
|
|
||||||
La feuille d'impression ne masque donc pas « un peu » de contenu : elle
|
La feuille d'impression ne masque donc pas « un peu » de contenu : elle
|
||||||
recompose le document en **CV classique sur une seule page A4**.
|
recompose le document en **CV classique sur deux pages A4**.
|
||||||
|
|
||||||
| Conservé | Retiré |
|
| Conservé | Retiré |
|
||||||
|---|---|
|
|---|---|
|
||||||
@@ -258,7 +260,9 @@ vide. L'arbitrage dépend du destinataire — underscorelab, Festifun et les
|
|||||||
outils IA sont ce qui distingue ce CV d'un profil d'enseignant classique, mais
|
outils IA sont ce qui distingue ce CV d'un profil d'enseignant classique, mais
|
||||||
un jury de recrutement statutaire n'en a pas l'usage.
|
un jury de recrutement statutaire n'en a pas l'usage.
|
||||||
|
|
||||||
Résultat mesuré : **1 page A4**, dans les deux configurations.
|
Résultat mesuré (novembre 2026, après l'ajout des postes de 2026) : **2 pages
|
||||||
|
A4** sans projets. La coupure tombe dans la grille des compétences, sans
|
||||||
|
scinder de fiche. Les mesures antérieures (1 page) ne sont plus valables.
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|||||||
@@ -152,6 +152,25 @@
|
|||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* ======================================================================
|
||||||
|
TRANSITIONS D'ÉTAT (≤ 250ms — « motion signals state »)
|
||||||
|
====================================================================== */
|
||||||
|
::view-transition-old(root),
|
||||||
|
::view-transition-new(root) {
|
||||||
|
animation-duration: 220ms;
|
||||||
|
animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
|
||||||
|
}
|
||||||
|
|
||||||
|
@keyframes logo-theme-pulse {
|
||||||
|
0% { transform: scale(1); }
|
||||||
|
45% { transform: scale(1.12) rotate(-4deg); }
|
||||||
|
100% { transform: scale(1) rotate(0deg); }
|
||||||
|
}
|
||||||
|
|
||||||
|
.site-header__logo[data-theme-pulse="true"] {
|
||||||
|
animation: logo-theme-pulse 240ms cubic-bezier(0.22, 1, 0.36, 1);
|
||||||
|
}
|
||||||
|
|
||||||
/* ======================================================================
|
/* ======================================================================
|
||||||
PRÉFÉRENCES SYSTÈME
|
PRÉFÉRENCES SYSTÈME
|
||||||
Respecter les réglages d'accessibilité de l'utilisateur n'est pas
|
Respecter les réglages d'accessibilité de l'utilisateur n'est pas
|
||||||
|
|||||||
+133
-47
@@ -31,15 +31,44 @@
|
|||||||
margin: 12mm 13mm;
|
margin: 12mm 13mm;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* --------------------------------------------------------------------------
|
||||||
|
NEUTRALISATION MULTI-THÈMES & ANIMATIONS
|
||||||
|
Quel que soit data-theme à l'écran (classic, neo-brutalist ou futur thème),
|
||||||
|
l'impression force un rendu sobre, opaque et sans décoration superflue.
|
||||||
|
-------------------------------------------------------------------------- */
|
||||||
|
*,
|
||||||
|
*::before,
|
||||||
|
*::after {
|
||||||
|
opacity: 1 !important;
|
||||||
|
transform: none !important;
|
||||||
|
animation: none !important;
|
||||||
|
transition: none !important;
|
||||||
|
box-shadow: none !important;
|
||||||
|
text-shadow: none !important;
|
||||||
|
backdrop-filter: none !important;
|
||||||
|
-webkit-backdrop-filter: none !important;
|
||||||
|
border-radius: 0 !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
[data-reveal] {
|
||||||
|
opacity: 1 !important;
|
||||||
|
visibility: visible !important;
|
||||||
|
transform: none !important;
|
||||||
|
}
|
||||||
|
|
||||||
/* --------------------------------------------------------------------------
|
/* --------------------------------------------------------------------------
|
||||||
MASQUAGE
|
MASQUAGE
|
||||||
Tout ce qui relève de la navigation, de l'interaction ou du récit.
|
Tout ce qui relève de la navigation, de l'interaction, des thèmes ou du récit.
|
||||||
-------------------------------------------------------------------------- */
|
-------------------------------------------------------------------------- */
|
||||||
.site-header,
|
.site-header,
|
||||||
.skip-link,
|
.skip-link,
|
||||||
.nav-toggle,
|
.nav-toggle,
|
||||||
.site-nav,
|
.site-nav,
|
||||||
.to-top,
|
.to-top,
|
||||||
|
.theme-dock,
|
||||||
|
.theme-modal,
|
||||||
|
.c64-terminal,
|
||||||
|
.reading-progress,
|
||||||
.actions,
|
.actions,
|
||||||
.screen-only,
|
.screen-only,
|
||||||
.site-footer,
|
.site-footer,
|
||||||
@@ -56,71 +85,116 @@
|
|||||||
BASE
|
BASE
|
||||||
Noir sur blanc : lisible sur toute imprimante, y compris monochrome.
|
Noir sur blanc : lisible sur toute imprimante, y compris monochrome.
|
||||||
-------------------------------------------------------------------------- */
|
-------------------------------------------------------------------------- */
|
||||||
|
html[data-theme],
|
||||||
body {
|
body {
|
||||||
background: #fff;
|
color-scheme: light !important;
|
||||||
color: #000;
|
background: #fff !important;
|
||||||
|
background-image: none !important;
|
||||||
|
color: #000 !important;
|
||||||
|
font-family: "Inter", system-ui, -apple-system, sans-serif !important;
|
||||||
font-size: 9.1pt;
|
font-size: 9.1pt;
|
||||||
line-height: 1.42;
|
line-height: 1.42;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
h1, h2, h3, h4, h5, h6 {
|
||||||
|
font-family: "JetBrains Mono", ui-monospace, monospace !important;
|
||||||
|
text-transform: none !important;
|
||||||
|
color: #000 !important;
|
||||||
|
}
|
||||||
|
|
||||||
.container {
|
.container {
|
||||||
max-inline-size: none;
|
max-inline-size: none;
|
||||||
padding-inline: 0;
|
padding-inline: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
main > .container { display: block; }
|
main > .container {
|
||||||
|
display: block !important;
|
||||||
|
padding-block: 0 !important;
|
||||||
|
}
|
||||||
|
|
||||||
/* --------------------------------------------------------------------------
|
/* --------------------------------------------------------------------------
|
||||||
EN-TÊTE
|
EN-TÊTE
|
||||||
Nom, fonction et coordonnées compressés en un bandeau de trois lignes.
|
Nom, fonction et coordonnées compressés en un bandeau de trois lignes.
|
||||||
-------------------------------------------------------------------------- */
|
-------------------------------------------------------------------------- */
|
||||||
.masthead {
|
.masthead {
|
||||||
padding-block: 0 6pt;
|
background: transparent !important;
|
||||||
margin-block-end: 8pt;
|
border: 0 !important;
|
||||||
border-block-end: 1pt solid #000;
|
border-block-end: 1pt solid #000 !important;
|
||||||
|
padding: 0 0 6pt !important;
|
||||||
|
margin-block-end: 8pt !important;
|
||||||
|
overflow: visible !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.eyebrow { display: none; }
|
.masthead::before,
|
||||||
|
.masthead::after {
|
||||||
|
content: none !important;
|
||||||
|
display: none !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.eyebrow { display: none !important; }
|
||||||
|
|
||||||
.page-title {
|
.page-title {
|
||||||
font-size: 21pt;
|
font-size: 21pt !important;
|
||||||
letter-spacing: -0.5pt;
|
letter-spacing: -0.5pt !important;
|
||||||
margin-block-end: 3pt;
|
margin-block-end: 3pt !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.page-subtitle {
|
.page-subtitle {
|
||||||
font-size: 10.5pt;
|
font-family: "JetBrains Mono", ui-monospace, monospace !important;
|
||||||
color: #333;
|
font-weight: 400 !important;
|
||||||
max-inline-size: none;
|
font-size: 10.5pt !important;
|
||||||
margin-block-end: 7pt;
|
color: #333 !important;
|
||||||
|
background: transparent !important;
|
||||||
|
border: 0 !important;
|
||||||
|
padding: 0 !important;
|
||||||
|
max-inline-size: none !important;
|
||||||
|
margin-block-end: 7pt !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Coordonnées sur une seule ligne */
|
/* Coordonnées sur une seule ligne */
|
||||||
.contact-list {
|
.contact-list {
|
||||||
gap: 0 18pt;
|
gap: 0 18pt !important;
|
||||||
font-size: 9pt;
|
font-size: 9pt !important;
|
||||||
color: #000;
|
color: #000 !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.contact-list__icon { stroke: #000; }
|
.contact-list li {
|
||||||
|
background: transparent !important;
|
||||||
|
border: 0 !important;
|
||||||
|
padding: 0 !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.contact-list__icon { stroke: #000 !important; }
|
||||||
|
|
||||||
/* --------------------------------------------------------------------------
|
/* --------------------------------------------------------------------------
|
||||||
SECTIONS
|
SECTIONS
|
||||||
-------------------------------------------------------------------------- */
|
-------------------------------------------------------------------------- */
|
||||||
.section {
|
.section {
|
||||||
padding-block: 7.5pt 0;
|
display: block !important;
|
||||||
border-block-start: 0;
|
background: transparent !important;
|
||||||
|
border: 0 !important;
|
||||||
|
padding: 7.5pt 0 0 !important;
|
||||||
|
margin: 0 !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.section-title {
|
.section-title {
|
||||||
font-size: 11pt;
|
display: block !important;
|
||||||
margin-block-end: 5.5pt;
|
position: static !important;
|
||||||
padding-block-end: 2.5pt;
|
background: transparent !important;
|
||||||
border-block-end: 0.5pt solid #999;
|
margin-inline: 0 !important;
|
||||||
|
padding: 0 0 2.5pt !important;
|
||||||
|
font-size: 11pt !important;
|
||||||
|
margin-block-end: 5.5pt !important;
|
||||||
|
border: 0 !important;
|
||||||
|
border-block-end: 0.5pt solid #999 !important;
|
||||||
break-after: avoid;
|
break-after: avoid;
|
||||||
}
|
}
|
||||||
|
|
||||||
.section-title::before { content: none; }
|
.section-title::before,
|
||||||
|
.section-title::after {
|
||||||
|
content: none !important;
|
||||||
|
display: none !important;
|
||||||
|
}
|
||||||
|
|
||||||
/* --------------------------------------------------------------------------
|
/* --------------------------------------------------------------------------
|
||||||
POSTES
|
POSTES
|
||||||
@@ -128,19 +202,25 @@ main > .container { display: block; }
|
|||||||
coûtent 6 mm de marge gauche pour un gain de lisibilité nul.
|
coûtent 6 mm de marge gauche pour un gain de lisibilité nul.
|
||||||
-------------------------------------------------------------------------- */
|
-------------------------------------------------------------------------- */
|
||||||
.entry {
|
.entry {
|
||||||
border-inline-start: 0;
|
background: transparent !important;
|
||||||
padding-inline-start: 0;
|
border: 0 !important;
|
||||||
padding-block-end: 7pt;
|
padding: 0 0 7pt !important;
|
||||||
|
margin: 0 !important;
|
||||||
break-inside: avoid;
|
break-inside: avoid;
|
||||||
}
|
}
|
||||||
|
|
||||||
.entry::before { content: none; }
|
.entry::before { content: none; }
|
||||||
|
|
||||||
.entry__date {
|
.entry__date {
|
||||||
font-size: 8.6pt;
|
display: block !important;
|
||||||
font-weight: 700;
|
background: transparent !important;
|
||||||
color: #000;
|
border: 0 !important;
|
||||||
margin-block-end: 0;
|
padding: 0 !important;
|
||||||
|
font-family: "JetBrains Mono", ui-monospace, monospace !important;
|
||||||
|
font-size: 8.6pt !important;
|
||||||
|
font-weight: 700 !important;
|
||||||
|
color: #000 !important;
|
||||||
|
margin-block-end: 0 !important;
|
||||||
float: right; /* Date alignée à droite, à hauteur de l'intitulé */
|
float: right; /* Date alignée à droite, à hauteur de l'intitulé */
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -209,23 +289,26 @@ main > .container { display: block; }
|
|||||||
la place et n'apportent rien sur papier.
|
la place et n'apportent rien sur papier.
|
||||||
-------------------------------------------------------------------------- */
|
-------------------------------------------------------------------------- */
|
||||||
#competences .grid {
|
#competences .grid {
|
||||||
display: grid;
|
display: grid !important;
|
||||||
grid-template-columns: repeat(3, 1fr);
|
grid-template-columns: repeat(3, 1fr) !important;
|
||||||
gap: 7pt 16pt;
|
gap: 7pt 16pt !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.card {
|
.card {
|
||||||
background: transparent;
|
grid-column: auto !important;
|
||||||
border: 0;
|
background: transparent !important;
|
||||||
box-shadow: none;
|
border: 0 !important;
|
||||||
padding: 0;
|
box-shadow: none !important;
|
||||||
transform: none;
|
padding: 0 !important;
|
||||||
|
transform: none !important;
|
||||||
break-inside: avoid;
|
break-inside: avoid;
|
||||||
}
|
}
|
||||||
|
|
||||||
.card__title {
|
.card__title {
|
||||||
font-size: 9.3pt;
|
font-size: 9.3pt !important;
|
||||||
margin-block-end: 3pt;
|
margin-block-end: 3pt !important;
|
||||||
|
padding-block-end: 0 !important;
|
||||||
|
border-block-end: 0 !important;
|
||||||
gap: 4pt;
|
gap: 4pt;
|
||||||
/* Sur deux lignes (« Intelligence artificielle appliquée »), l'icône doit
|
/* Sur deux lignes (« Intelligence artificielle appliquée »), l'icône doit
|
||||||
rester alignée sur la première ligne et non se centrer entre les deux. */
|
rester alignée sur la première ligne et non se centrer entre les deux. */
|
||||||
@@ -253,13 +336,16 @@ main > .container { display: block; }
|
|||||||
FORMATION
|
FORMATION
|
||||||
-------------------------------------------------------------------------- */
|
-------------------------------------------------------------------------- */
|
||||||
#formation .grid {
|
#formation .grid {
|
||||||
grid-template-columns: 1fr 1fr;
|
display: grid !important;
|
||||||
gap: 14pt;
|
grid-template-columns: 1fr 1fr !important;
|
||||||
|
gap: 14pt !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.education {
|
.education {
|
||||||
border-inline-start: 0;
|
grid-column: auto !important;
|
||||||
padding-inline-start: 0;
|
background: transparent !important;
|
||||||
|
border: 0 !important;
|
||||||
|
padding: 0 !important;
|
||||||
break-inside: avoid;
|
break-inside: avoid;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -0,0 +1,388 @@
|
|||||||
|
/* ==========================================================================
|
||||||
|
theme-switcher.css — Contrôleur flottant et modale d'exploration de thèmes
|
||||||
|
--------------------------------------------------------------------------
|
||||||
|
Volontairement isolé des variables du thème actif (valeurs propres en
|
||||||
|
--ts-*) pour garantir une lisibilité et un contraste WCAG AAA quel que
|
||||||
|
soit le webdesign appliqué à la page.
|
||||||
|
========================================================================== */
|
||||||
|
|
||||||
|
@layer utilities {
|
||||||
|
|
||||||
|
/* ------------------------------------------------------------------------
|
||||||
|
CONTRÔLEUR FLOTTANT (bas gauche)
|
||||||
|
------------------------------------------------------------------------ */
|
||||||
|
.theme-dock {
|
||||||
|
--ts-bg: #10201c;
|
||||||
|
--ts-bg-elevated: #1b312b;
|
||||||
|
--ts-border: rgb(255 255 255 / 20%);
|
||||||
|
--ts-ink: #f7f8f8;
|
||||||
|
--ts-ink-muted: #b7c7c2;
|
||||||
|
--ts-accent: #2fe59b;
|
||||||
|
--ts-accent-ink: #0a1915;
|
||||||
|
|
||||||
|
position: fixed;
|
||||||
|
inset-block-end: 1.25rem;
|
||||||
|
inset-inline-start: 1.25rem;
|
||||||
|
z-index: 180;
|
||||||
|
display: inline-flex;
|
||||||
|
align-items: center;
|
||||||
|
gap: 0.4rem;
|
||||||
|
max-inline-size: calc(100vw - 5.5rem);
|
||||||
|
padding: 0.35rem 0.45rem 0.35rem 0.75rem;
|
||||||
|
background-color: var(--ts-bg);
|
||||||
|
color: var(--ts-ink);
|
||||||
|
border: 1.5px solid var(--ts-border);
|
||||||
|
border-radius: 999px;
|
||||||
|
box-shadow: 0 10px 28px rgb(0 0 0 / 28%);
|
||||||
|
font-family: "JetBrains Mono", ui-monospace, monospace;
|
||||||
|
font-size: 0.76rem;
|
||||||
|
line-height: 1.2;
|
||||||
|
}
|
||||||
|
|
||||||
|
.theme-dock__status {
|
||||||
|
display: inline-flex;
|
||||||
|
align-items: center;
|
||||||
|
gap: 0.45rem;
|
||||||
|
padding-inline-end: 0.35rem;
|
||||||
|
white-space: nowrap;
|
||||||
|
overflow: hidden;
|
||||||
|
text-overflow: ellipsis;
|
||||||
|
}
|
||||||
|
|
||||||
|
.theme-dock__dot {
|
||||||
|
inline-size: 0.55rem;
|
||||||
|
block-size: 0.55rem;
|
||||||
|
border-radius: 50%;
|
||||||
|
background-color: var(--ts-accent);
|
||||||
|
flex-shrink: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.theme-dock__label {
|
||||||
|
color: var(--ts-ink-muted);
|
||||||
|
}
|
||||||
|
|
||||||
|
.theme-dock__name {
|
||||||
|
color: var(--ts-ink);
|
||||||
|
font-weight: 700;
|
||||||
|
}
|
||||||
|
|
||||||
|
.theme-dock__actions {
|
||||||
|
display: inline-flex;
|
||||||
|
align-items: center;
|
||||||
|
gap: 0.3rem;
|
||||||
|
flex-shrink: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.theme-dock__btn {
|
||||||
|
display: inline-flex;
|
||||||
|
align-items: center;
|
||||||
|
gap: 0.35rem;
|
||||||
|
min-block-size: 2.1rem;
|
||||||
|
padding: 0.3rem 0.65rem;
|
||||||
|
border-radius: 999px;
|
||||||
|
border: 1px solid rgb(255 255 255 / 16%);
|
||||||
|
background-color: var(--ts-bg-elevated);
|
||||||
|
color: var(--ts-ink);
|
||||||
|
font-family: inherit;
|
||||||
|
font-size: 0.74rem;
|
||||||
|
font-weight: 600;
|
||||||
|
white-space: nowrap;
|
||||||
|
cursor: pointer;
|
||||||
|
transition: background-color 150ms ease, color 150ms ease, border-color 150ms ease;
|
||||||
|
}
|
||||||
|
|
||||||
|
.theme-dock__btn:hover {
|
||||||
|
background-color: var(--ts-accent);
|
||||||
|
color: var(--ts-accent-ink);
|
||||||
|
border-color: var(--ts-accent);
|
||||||
|
}
|
||||||
|
|
||||||
|
.theme-dock__btn:focus-visible {
|
||||||
|
outline: 2px solid var(--ts-accent);
|
||||||
|
outline-offset: 2px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.theme-dock__btn--primary {
|
||||||
|
background-color: var(--ts-accent);
|
||||||
|
color: var(--ts-accent-ink);
|
||||||
|
border-color: var(--ts-accent);
|
||||||
|
}
|
||||||
|
|
||||||
|
.theme-dock__btn--primary:hover {
|
||||||
|
background-color: #ffffff;
|
||||||
|
color: var(--ts-bg);
|
||||||
|
border-color: #ffffff;
|
||||||
|
}
|
||||||
|
|
||||||
|
.theme-dock__icon {
|
||||||
|
inline-size: 0.9rem;
|
||||||
|
block-size: 0.9rem;
|
||||||
|
stroke: currentcolor;
|
||||||
|
stroke-width: 2;
|
||||||
|
fill: none;
|
||||||
|
flex-shrink: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* ------------------------------------------------------------------------
|
||||||
|
MODALE D'EXPLORATION DES DESIGNS (<dialog>)
|
||||||
|
------------------------------------------------------------------------ */
|
||||||
|
.theme-modal {
|
||||||
|
--tm-bg: #ffffff;
|
||||||
|
--tm-surface: #f7f8f8;
|
||||||
|
--tm-border: #d5dddd;
|
||||||
|
--tm-ink: #10201c;
|
||||||
|
--tm-ink-soft: #43524e;
|
||||||
|
--tm-accent: #03996f;
|
||||||
|
--tm-accent-bright: #05bc8a;
|
||||||
|
|
||||||
|
inline-size: min(44rem, calc(100vw - 2rem));
|
||||||
|
max-block-size: calc(100svh - 3rem);
|
||||||
|
margin: auto;
|
||||||
|
padding: 0;
|
||||||
|
border: 1.5px solid var(--tm-ink);
|
||||||
|
border-radius: 12px;
|
||||||
|
background-color: var(--tm-bg);
|
||||||
|
color: var(--tm-ink);
|
||||||
|
box-shadow: 0 24px 64px rgb(0 0 0 / 32%);
|
||||||
|
font-family: "Inter", system-ui, sans-serif;
|
||||||
|
overflow: hidden;
|
||||||
|
}
|
||||||
|
|
||||||
|
.theme-modal::backdrop {
|
||||||
|
background: rgb(16 32 28 / 62%);
|
||||||
|
backdrop-filter: blur(4px);
|
||||||
|
-webkit-backdrop-filter: blur(4px);
|
||||||
|
}
|
||||||
|
|
||||||
|
.theme-modal[open] {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
}
|
||||||
|
|
||||||
|
.theme-modal__header {
|
||||||
|
display: flex;
|
||||||
|
align-items: flex-start;
|
||||||
|
justify-content: space-between;
|
||||||
|
gap: 1rem;
|
||||||
|
padding: 1.25rem 1.5rem 1rem;
|
||||||
|
border-block-end: 1px solid var(--tm-border);
|
||||||
|
background-color: var(--tm-surface);
|
||||||
|
}
|
||||||
|
|
||||||
|
.theme-modal__title {
|
||||||
|
margin: 0;
|
||||||
|
font-family: "JetBrains Mono", ui-monospace, monospace;
|
||||||
|
font-size: 1.05rem;
|
||||||
|
font-weight: 700;
|
||||||
|
color: var(--tm-ink);
|
||||||
|
}
|
||||||
|
|
||||||
|
.theme-modal__subtitle {
|
||||||
|
margin: 0.25rem 0 0;
|
||||||
|
font-size: 0.86rem;
|
||||||
|
color: var(--tm-ink-soft);
|
||||||
|
}
|
||||||
|
|
||||||
|
.theme-modal__close {
|
||||||
|
display: inline-grid;
|
||||||
|
place-items: center;
|
||||||
|
inline-size: 2.25rem;
|
||||||
|
block-size: 2.25rem;
|
||||||
|
border-radius: 8px;
|
||||||
|
border: 1px solid var(--tm-border);
|
||||||
|
background: var(--tm-bg);
|
||||||
|
color: var(--tm-ink);
|
||||||
|
flex-shrink: 0;
|
||||||
|
cursor: pointer;
|
||||||
|
transition: background-color 150ms ease, border-color 150ms ease;
|
||||||
|
}
|
||||||
|
|
||||||
|
.theme-modal__close:hover {
|
||||||
|
background-color: var(--tm-ink);
|
||||||
|
color: #ffffff;
|
||||||
|
border-color: var(--tm-ink);
|
||||||
|
}
|
||||||
|
|
||||||
|
.theme-modal__body {
|
||||||
|
padding: 1.25rem 1.5rem;
|
||||||
|
overflow-y: auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
.theme-modal__grid {
|
||||||
|
display: grid;
|
||||||
|
grid-template-columns: repeat(auto-fit, minmax(min(17rem, 100%), 1fr));
|
||||||
|
gap: 1rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.theme-card {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
gap: 0.7rem;
|
||||||
|
padding: 1rem;
|
||||||
|
border-radius: 10px;
|
||||||
|
border: 1.5px solid var(--tm-border);
|
||||||
|
background-color: var(--tm-bg);
|
||||||
|
transition: border-color 150ms ease, box-shadow 150ms ease;
|
||||||
|
}
|
||||||
|
|
||||||
|
.theme-card[data-active="true"] {
|
||||||
|
border-color: var(--tm-accent);
|
||||||
|
box-shadow: 0 0 0 2px rgb(5 188 138 / 22%);
|
||||||
|
}
|
||||||
|
|
||||||
|
.theme-card__swatches {
|
||||||
|
display: flex;
|
||||||
|
gap: 0.35rem;
|
||||||
|
align-items: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
.theme-card__swatch {
|
||||||
|
inline-size: 1.5rem;
|
||||||
|
block-size: 1.5rem;
|
||||||
|
border-radius: 6px;
|
||||||
|
border: 1px solid rgb(16 32 28 / 22%);
|
||||||
|
}
|
||||||
|
|
||||||
|
.theme-card__head {
|
||||||
|
display: flex;
|
||||||
|
align-items: baseline;
|
||||||
|
justify-content: space-between;
|
||||||
|
gap: 0.5rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.theme-card__name {
|
||||||
|
margin: 0;
|
||||||
|
font-family: "JetBrains Mono", ui-monospace, monospace;
|
||||||
|
font-size: 0.96rem;
|
||||||
|
font-weight: 700;
|
||||||
|
color: var(--tm-ink);
|
||||||
|
}
|
||||||
|
|
||||||
|
.theme-card__active {
|
||||||
|
font-family: "JetBrains Mono", ui-monospace, monospace;
|
||||||
|
font-size: 0.7rem;
|
||||||
|
font-weight: 700;
|
||||||
|
text-transform: uppercase;
|
||||||
|
padding: 0.15rem 0.45rem;
|
||||||
|
border-radius: 999px;
|
||||||
|
background-color: #eafaf4;
|
||||||
|
color: var(--tm-accent);
|
||||||
|
border: 1px solid rgb(5 188 138 / 35%);
|
||||||
|
}
|
||||||
|
|
||||||
|
.theme-card__subtitle {
|
||||||
|
margin: -0.45rem 0 0;
|
||||||
|
font-family: "JetBrains Mono", ui-monospace, monospace;
|
||||||
|
font-size: 0.76rem;
|
||||||
|
color: var(--tm-accent);
|
||||||
|
}
|
||||||
|
|
||||||
|
.theme-card__desc {
|
||||||
|
margin: 0;
|
||||||
|
font-size: 0.86rem;
|
||||||
|
line-height: 1.55;
|
||||||
|
color: var(--tm-ink-soft);
|
||||||
|
flex: 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
.theme-card__tags {
|
||||||
|
display: flex;
|
||||||
|
flex-wrap: wrap;
|
||||||
|
gap: 0.3rem;
|
||||||
|
list-style: none;
|
||||||
|
margin: 0;
|
||||||
|
padding: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.theme-card__tags li {
|
||||||
|
font-family: "JetBrains Mono", ui-monospace, monospace;
|
||||||
|
font-size: 0.68rem;
|
||||||
|
padding: 0.15rem 0.45rem;
|
||||||
|
border-radius: 4px;
|
||||||
|
background-color: var(--tm-surface);
|
||||||
|
border: 1px solid var(--tm-border);
|
||||||
|
color: var(--tm-ink-soft);
|
||||||
|
}
|
||||||
|
|
||||||
|
.theme-card__btn {
|
||||||
|
margin-block-start: 0.25rem;
|
||||||
|
min-block-size: 2.5rem;
|
||||||
|
padding: 0.45rem 0.9rem;
|
||||||
|
border-radius: 8px;
|
||||||
|
border: 1.5px solid var(--tm-ink);
|
||||||
|
background-color: var(--tm-ink);
|
||||||
|
color: #ffffff;
|
||||||
|
font-family: "JetBrains Mono", ui-monospace, monospace;
|
||||||
|
font-size: 0.8rem;
|
||||||
|
font-weight: 600;
|
||||||
|
cursor: pointer;
|
||||||
|
transition: background-color 150ms ease, color 150ms ease, border-color 150ms ease;
|
||||||
|
}
|
||||||
|
|
||||||
|
.theme-card__btn:hover {
|
||||||
|
background-color: var(--tm-accent);
|
||||||
|
border-color: var(--tm-accent);
|
||||||
|
}
|
||||||
|
|
||||||
|
.theme-card[data-active="true"] .theme-card__btn {
|
||||||
|
background-color: var(--tm-surface);
|
||||||
|
color: var(--tm-ink);
|
||||||
|
border-color: var(--tm-border);
|
||||||
|
}
|
||||||
|
|
||||||
|
.theme-modal__footer {
|
||||||
|
display: flex;
|
||||||
|
flex-wrap: wrap;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: space-between;
|
||||||
|
gap: 0.75rem;
|
||||||
|
padding: 0.9rem 1.5rem;
|
||||||
|
border-block-start: 1px solid var(--tm-border);
|
||||||
|
background-color: var(--tm-surface);
|
||||||
|
font-size: 0.8rem;
|
||||||
|
color: var(--tm-ink-soft);
|
||||||
|
}
|
||||||
|
|
||||||
|
.theme-modal__surprise {
|
||||||
|
display: inline-flex;
|
||||||
|
align-items: center;
|
||||||
|
gap: 0.4rem;
|
||||||
|
min-block-size: 2.25rem;
|
||||||
|
padding: 0.35rem 0.85rem;
|
||||||
|
border-radius: 999px;
|
||||||
|
border: 1.5px solid var(--tm-ink);
|
||||||
|
background-color: #ffffff;
|
||||||
|
color: var(--tm-ink);
|
||||||
|
font-family: "JetBrains Mono", ui-monospace, monospace;
|
||||||
|
font-size: 0.78rem;
|
||||||
|
font-weight: 700;
|
||||||
|
cursor: pointer;
|
||||||
|
transition: background-color 150ms ease, color 150ms ease;
|
||||||
|
}
|
||||||
|
|
||||||
|
.theme-modal__surprise:hover {
|
||||||
|
background-color: var(--tm-ink);
|
||||||
|
color: #ffffff;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* ------------------------------------------------------------------------
|
||||||
|
MOBILE
|
||||||
|
------------------------------------------------------------------------ */
|
||||||
|
@media (width <= 46rem) {
|
||||||
|
.theme-dock {
|
||||||
|
inset-block-end: 0.85rem;
|
||||||
|
inset-inline-start: 0.85rem;
|
||||||
|
padding: 0.3rem 0.35rem 0.3rem 0.6rem;
|
||||||
|
gap: 0.3rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.theme-dock__label {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.theme-dock__btn {
|
||||||
|
padding: 0.3rem 0.55rem;
|
||||||
|
font-size: 0.72rem;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,254 @@
|
|||||||
|
/* ==========================================================================
|
||||||
|
themes/bento-grid.css — Thème « Grille Bento » (Modulaire 2027)
|
||||||
|
--------------------------------------------------------------------------
|
||||||
|
Esthétique :
|
||||||
|
- Fond gris très clair neutre (#F4F5F7)
|
||||||
|
- Cartes blanches aux coins généreusement arrondis (22px), bordures
|
||||||
|
subtiles (1px solid rgb(0 0 0 / 6%))
|
||||||
|
- Grilles CSS modulaires asymétriques sur desktop (Profil, Projets,
|
||||||
|
Compétences, Formation) avec tuiles de largeur variée
|
||||||
|
- Retour propre sur une seule colonne sur mobile
|
||||||
|
- Accents vert émeraude repris du logo SVG
|
||||||
|
========================================================================== */
|
||||||
|
|
||||||
|
@layer themes {
|
||||||
|
|
||||||
|
[data-theme="bento-grid"] {
|
||||||
|
--color-bg: #f4f5f7;
|
||||||
|
--color-bg-translucent: rgb(244 245 247 / 86%);
|
||||||
|
--color-surface: #ffffff;
|
||||||
|
--color-surface-alt: #eef0f3;
|
||||||
|
--color-line: rgb(0 0 0 / 6%);
|
||||||
|
--color-line-strong: rgb(0 0 0 / 12%);
|
||||||
|
|
||||||
|
--color-ink: #10201c;
|
||||||
|
--color-ink-soft: #43504c;
|
||||||
|
--color-ink-faint: #5e6b67;
|
||||||
|
--color-accent: #05bc8a;
|
||||||
|
--color-accent-dark: #038762;
|
||||||
|
--color-accent-wash: #e8faf3;
|
||||||
|
|
||||||
|
--radius-sm: 10px;
|
||||||
|
--radius-md: 22px;
|
||||||
|
--shadow-sm: 0 1px 2px rgb(16 32 28 / 4%), 0 4px 14px rgb(16 32 28 / 3%);
|
||||||
|
--shadow-md: 0 8px 24px rgb(16 32 28 / 7%);
|
||||||
|
--transition-fast: 140ms ease;
|
||||||
|
--transition-base: 220ms cubic-bezier(0.22, 1, 0.36, 1);
|
||||||
|
}
|
||||||
|
|
||||||
|
[data-theme="bento-grid"] .site-header {
|
||||||
|
border-block-end: 1px solid rgb(0 0 0 / 6%);
|
||||||
|
}
|
||||||
|
|
||||||
|
[data-theme="bento-grid"] .site-header__logo .logo-bars {
|
||||||
|
color: var(--color-ink);
|
||||||
|
}
|
||||||
|
|
||||||
|
[data-theme="bento-grid"] .masthead {
|
||||||
|
background-color: var(--color-surface);
|
||||||
|
border: 1px solid var(--color-line);
|
||||||
|
border-radius: 24px;
|
||||||
|
padding: var(--space-2xl);
|
||||||
|
margin-block-start: var(--space-xl);
|
||||||
|
box-shadow: var(--shadow-sm);
|
||||||
|
}
|
||||||
|
|
||||||
|
[data-theme="bento-grid"] .section {
|
||||||
|
border-block-start: 0;
|
||||||
|
padding-block: var(--space-2xl) var(--space-lg);
|
||||||
|
}
|
||||||
|
|
||||||
|
/* ------------------------------------------------------------------------
|
||||||
|
TUILES BENTO (Enseignement, Coordination, Contact)
|
||||||
|
------------------------------------------------------------------------ */
|
||||||
|
[data-theme="bento-grid"] .entry {
|
||||||
|
background-color: var(--color-surface);
|
||||||
|
border: 1px solid var(--color-line);
|
||||||
|
border-radius: var(--radius-md);
|
||||||
|
padding: var(--space-lg);
|
||||||
|
margin-block-end: var(--space-md);
|
||||||
|
box-shadow: var(--shadow-sm);
|
||||||
|
}
|
||||||
|
|
||||||
|
[data-theme="bento-grid"] .entry:last-child {
|
||||||
|
margin-block-end: 0;
|
||||||
|
border-color: var(--color-line);
|
||||||
|
}
|
||||||
|
|
||||||
|
[data-theme="bento-grid"] .entry::before {
|
||||||
|
content: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
[data-theme="bento-grid"] .course {
|
||||||
|
background-color: var(--color-bg);
|
||||||
|
border: 1px solid var(--color-line);
|
||||||
|
border-radius: 14px;
|
||||||
|
}
|
||||||
|
|
||||||
|
[data-theme="bento-grid"] .card,
|
||||||
|
[data-theme="bento-grid"] .project,
|
||||||
|
[data-theme="bento-grid"] .education,
|
||||||
|
[data-theme="bento-grid"] .contact-block {
|
||||||
|
background-color: var(--color-surface);
|
||||||
|
border: 1px solid var(--color-line);
|
||||||
|
border-radius: var(--radius-md);
|
||||||
|
padding: var(--space-lg);
|
||||||
|
box-shadow: var(--shadow-sm);
|
||||||
|
margin: 0;
|
||||||
|
transition:
|
||||||
|
border-color var(--transition-base),
|
||||||
|
box-shadow var(--transition-base),
|
||||||
|
transform var(--transition-base);
|
||||||
|
}
|
||||||
|
|
||||||
|
[data-theme="bento-grid"] .card:hover,
|
||||||
|
[data-theme="bento-grid"] .project:hover,
|
||||||
|
[data-theme="bento-grid"] .education:hover {
|
||||||
|
border-color: rgb(5 188 138 / 38%);
|
||||||
|
box-shadow: var(--shadow-md);
|
||||||
|
transform: translateY(-2px);
|
||||||
|
}
|
||||||
|
|
||||||
|
[data-theme="bento-grid"] .button {
|
||||||
|
border-radius: 14px;
|
||||||
|
}
|
||||||
|
|
||||||
|
[data-theme="bento-grid"] .badge {
|
||||||
|
border-radius: 999px;
|
||||||
|
padding: 3px 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
[data-theme="bento-grid"] .project__stack li {
|
||||||
|
border-radius: 999px;
|
||||||
|
padding: 3px 9px;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* ------------------------------------------------------------------------
|
||||||
|
GRILLES ASYMÉTRIQUES BENTO (Desktop)
|
||||||
|
------------------------------------------------------------------------ */
|
||||||
|
[data-theme="bento-grid"] .intro {
|
||||||
|
display: grid;
|
||||||
|
grid-template-columns: repeat(6, minmax(0, 1fr));
|
||||||
|
gap: var(--space-md);
|
||||||
|
padding-block: var(--space-xl) var(--space-lg);
|
||||||
|
}
|
||||||
|
|
||||||
|
[data-theme="bento-grid"] .intro__heading {
|
||||||
|
grid-column: 1 / -1;
|
||||||
|
max-inline-size: none;
|
||||||
|
margin-block-end: var(--space-xs);
|
||||||
|
}
|
||||||
|
|
||||||
|
[data-theme="bento-grid"] .intro__text {
|
||||||
|
background-color: var(--color-surface);
|
||||||
|
border: 1px solid var(--color-line);
|
||||||
|
border-radius: var(--radius-md);
|
||||||
|
padding: var(--space-lg);
|
||||||
|
margin: 0;
|
||||||
|
max-inline-size: none;
|
||||||
|
box-shadow: var(--shadow-sm);
|
||||||
|
}
|
||||||
|
|
||||||
|
[data-theme="bento-grid"] .intro__text:nth-of-type(1) { grid-column: span 3; }
|
||||||
|
[data-theme="bento-grid"] .intro__text:nth-of-type(2) { grid-column: span 3; }
|
||||||
|
[data-theme="bento-grid"] .intro__text:nth-of-type(3) { grid-column: span 2; }
|
||||||
|
[data-theme="bento-grid"] .intro__text:nth-of-type(4) {
|
||||||
|
grid-column: span 4;
|
||||||
|
background: linear-gradient(135deg, #ffffff 0%, #eafaf4 100%);
|
||||||
|
border-color: rgb(5 188 138 / 28%);
|
||||||
|
border-inline-start: 4px solid var(--color-accent);
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Projets : 6 tuiles sur 3 rangées asymétriques (4+2, 2+4, 3+3) */
|
||||||
|
[data-theme="bento-grid"] #projets {
|
||||||
|
display: grid;
|
||||||
|
grid-template-columns: repeat(6, minmax(0, 1fr));
|
||||||
|
gap: var(--space-md);
|
||||||
|
}
|
||||||
|
|
||||||
|
[data-theme="bento-grid"] #projets .section-title {
|
||||||
|
grid-column: 1 / -1;
|
||||||
|
margin-block-end: var(--space-xs);
|
||||||
|
}
|
||||||
|
|
||||||
|
[data-theme="bento-grid"] #projets .project:nth-of-type(1) { grid-column: span 4; }
|
||||||
|
[data-theme="bento-grid"] #projets .project:nth-of-type(2) { grid-column: span 2; }
|
||||||
|
[data-theme="bento-grid"] #projets .project:nth-of-type(3) { grid-column: span 2; }
|
||||||
|
[data-theme="bento-grid"] #projets .project:nth-of-type(4) { grid-column: span 4; }
|
||||||
|
[data-theme="bento-grid"] #projets .project:nth-of-type(5) { grid-column: span 3; }
|
||||||
|
[data-theme="bento-grid"] #projets .project:nth-of-type(6) { grid-column: span 3; }
|
||||||
|
|
||||||
|
/* Compétences : 6 cartes asymétriques (4+2, 2+4, 4+2) */
|
||||||
|
[data-theme="bento-grid"] #competences .grid {
|
||||||
|
grid-template-columns: repeat(6, minmax(0, 1fr));
|
||||||
|
gap: var(--space-md);
|
||||||
|
}
|
||||||
|
|
||||||
|
[data-theme="bento-grid"] #competences .card:nth-child(1) { grid-column: span 4; }
|
||||||
|
[data-theme="bento-grid"] #competences .card:nth-child(2) { grid-column: span 2; }
|
||||||
|
[data-theme="bento-grid"] #competences .card:nth-child(3) { grid-column: span 2; }
|
||||||
|
[data-theme="bento-grid"] #competences .card:nth-child(4) { grid-column: span 4; }
|
||||||
|
[data-theme="bento-grid"] #competences .card:nth-child(5) { grid-column: span 4; }
|
||||||
|
[data-theme="bento-grid"] #competences .card:nth-child(6) { grid-column: span 2; }
|
||||||
|
|
||||||
|
/* Formation : asymétrie 4 + 2 */
|
||||||
|
[data-theme="bento-grid"] #formation .grid {
|
||||||
|
grid-template-columns: repeat(6, minmax(0, 1fr));
|
||||||
|
gap: var(--space-md);
|
||||||
|
}
|
||||||
|
|
||||||
|
[data-theme="bento-grid"] #formation .education:nth-child(1) { grid-column: span 4; }
|
||||||
|
[data-theme="bento-grid"] #formation .education:nth-child(2) { grid-column: span 2; }
|
||||||
|
|
||||||
|
/* ------------------------------------------------------------------------
|
||||||
|
MOBILE — retour propre en une seule colonne
|
||||||
|
------------------------------------------------------------------------ */
|
||||||
|
@media (width <= 46rem) {
|
||||||
|
[data-theme="bento-grid"] .masthead {
|
||||||
|
padding: var(--space-lg);
|
||||||
|
border-radius: 20px;
|
||||||
|
}
|
||||||
|
|
||||||
|
[data-theme="bento-grid"] .intro,
|
||||||
|
[data-theme="bento-grid"] #projets,
|
||||||
|
[data-theme="bento-grid"] #competences .grid,
|
||||||
|
[data-theme="bento-grid"] #formation .grid {
|
||||||
|
grid-template-columns: 1fr;
|
||||||
|
}
|
||||||
|
|
||||||
|
[data-theme="bento-grid"] .intro__text,
|
||||||
|
[data-theme="bento-grid"] #projets .project,
|
||||||
|
[data-theme="bento-grid"] #competences .card,
|
||||||
|
[data-theme="bento-grid"] #formation .education {
|
||||||
|
grid-column: 1 / -1 !important;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/* ------------------------------------------------------------------------
|
||||||
|
ANIMATION D'ÉTAT (≤ 260ms) & PREFERS-REDUCED-MOTION
|
||||||
|
------------------------------------------------------------------------ */
|
||||||
|
[data-js="true"][data-theme="bento-grid"] [data-reveal] {
|
||||||
|
opacity: 0;
|
||||||
|
transform: translateY(10px);
|
||||||
|
transition: opacity 240ms ease-out, transform 240ms cubic-bezier(0.22, 1, 0.36, 1);
|
||||||
|
}
|
||||||
|
|
||||||
|
[data-js="true"][data-theme="bento-grid"] [data-reveal][data-revealed="true"] {
|
||||||
|
opacity: 1;
|
||||||
|
transform: translateY(0);
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (prefers-reduced-motion: reduce) {
|
||||||
|
[data-js="true"][data-theme="bento-grid"] [data-reveal] {
|
||||||
|
opacity: 1;
|
||||||
|
transform: none;
|
||||||
|
transition: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
[data-theme="bento-grid"] .card:hover,
|
||||||
|
[data-theme="bento-grid"] .project:hover,
|
||||||
|
[data-theme="bento-grid"] .education:hover {
|
||||||
|
transform: none;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,514 @@
|
|||||||
|
/* ==========================================================================
|
||||||
|
themes/c64-basic.css — Thème « Commodore 64 » (BASIC V2 / Ligne de commande)
|
||||||
|
--------------------------------------------------------------------------
|
||||||
|
Esthétique Commodore 64 authentique et haute lisibilité :
|
||||||
|
- Bordure extérieure bleu clair C64 (#6C5EB5) entourant l'écran bleu
|
||||||
|
profond (#352879)
|
||||||
|
- Texte bleu pâle / blanc (#D9D9FF / #FFFFFF) — contraste WCAG AAA (> 8.5:1)
|
||||||
|
- Police pixel « Press Start 2P » pour l'écran de démarrage et les invites,
|
||||||
|
associée à JetBrains Mono pour le texte du CV
|
||||||
|
- Au chargement, seuls l'en-tête, la liste des commandes et le prompt
|
||||||
|
interactif « mC:> » sont affichés ; les 7 sections apparaissent à la
|
||||||
|
demande (clavier ou clic)
|
||||||
|
========================================================================== */
|
||||||
|
|
||||||
|
@layer themes {
|
||||||
|
|
||||||
|
/* Le terminal C64 est masqué sur tous les autres thèmes (dans @layer themes
|
||||||
|
pour ne pas écraser la règle [data-theme="c64-basic"] ci-dessous) */
|
||||||
|
.c64-terminal {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
[data-theme="c64-basic"] {
|
||||||
|
color-scheme: dark;
|
||||||
|
|
||||||
|
--c64-border: #6c5eb5;
|
||||||
|
--c64-screen: #352879;
|
||||||
|
--c64-screen-alt: #2b2066;
|
||||||
|
--c64-ink: #e4e4ff;
|
||||||
|
--c64-ink-bright: #ffffff;
|
||||||
|
--c64-ink-muted: #b8b8f5;
|
||||||
|
--c64-accent: #7ef7d4;
|
||||||
|
--c64-line: rgb(184 184 245 / 35%);
|
||||||
|
|
||||||
|
--color-bg: var(--c64-border);
|
||||||
|
--color-bg-translucent: rgb(53 40 121 / 94%);
|
||||||
|
--color-surface: var(--c64-screen-alt);
|
||||||
|
--color-surface-alt: #231a54;
|
||||||
|
--color-line: var(--c64-line);
|
||||||
|
--color-line-strong: var(--c64-ink-muted);
|
||||||
|
|
||||||
|
--color-ink: var(--c64-ink-bright);
|
||||||
|
--color-ink-soft: var(--c64-ink);
|
||||||
|
--color-ink-faint: var(--c64-ink-muted);
|
||||||
|
--color-ink-inverse: var(--c64-screen);
|
||||||
|
|
||||||
|
--color-accent: var(--c64-accent);
|
||||||
|
--color-accent-dark: var(--c64-accent);
|
||||||
|
--color-accent-wash: rgb(126 247 212 / 14%);
|
||||||
|
--color-accent-border: var(--c64-accent);
|
||||||
|
--color-focus: var(--c64-accent);
|
||||||
|
|
||||||
|
--font-c64: "Press Start 2P", var(--font-mono);
|
||||||
|
--font-sans: var(--font-mono);
|
||||||
|
|
||||||
|
--radius-sm: 0px;
|
||||||
|
--radius-md: 0px;
|
||||||
|
--shadow-sm: none;
|
||||||
|
--shadow-md: none;
|
||||||
|
--transition-fast: 120ms steps(2, end);
|
||||||
|
--transition-base: 180ms ease-out;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* ------------------------------------------------------------------------
|
||||||
|
CADRE ÉCRAN C64 (bordure bleu clair + écran bleu profond)
|
||||||
|
------------------------------------------------------------------------ */
|
||||||
|
[data-theme="c64-basic"] body {
|
||||||
|
background-color: var(--c64-border);
|
||||||
|
color: var(--c64-ink);
|
||||||
|
font-family: var(--font-mono);
|
||||||
|
}
|
||||||
|
|
||||||
|
[data-theme="c64-basic"] main {
|
||||||
|
padding-block: var(--space-lg) var(--space-2xl);
|
||||||
|
padding-inline: clamp(0.5rem, 2.5vw, 1.5rem);
|
||||||
|
}
|
||||||
|
|
||||||
|
[data-theme="c64-basic"] main > .container {
|
||||||
|
background-color: var(--c64-screen);
|
||||||
|
background-image: repeating-linear-gradient(
|
||||||
|
0deg,
|
||||||
|
rgb(0 0 0 / 10%) 0px,
|
||||||
|
rgb(0 0 0 / 10%) 1px,
|
||||||
|
transparent 1px,
|
||||||
|
transparent 3px
|
||||||
|
);
|
||||||
|
border: 4px solid var(--c64-ink-muted);
|
||||||
|
box-shadow: 0 0 0 12px var(--c64-border), inset 0 0 48px rgb(0 0 0 / 28%);
|
||||||
|
padding: var(--space-xl) clamp(1rem, 3.5vw, 2.25rem) var(--space-2xl);
|
||||||
|
min-block-size: calc(100svh - 9rem);
|
||||||
|
position: relative;
|
||||||
|
}
|
||||||
|
|
||||||
|
[data-theme="c64-basic"] .reading-progress__bar {
|
||||||
|
background: var(--c64-accent);
|
||||||
|
}
|
||||||
|
|
||||||
|
/* ------------------------------------------------------------------------
|
||||||
|
EN-TÊTE & NAVIGATION
|
||||||
|
------------------------------------------------------------------------ */
|
||||||
|
[data-theme="c64-basic"] .site-header {
|
||||||
|
background-color: var(--c64-screen);
|
||||||
|
border-block-end: 3px solid var(--c64-ink-muted);
|
||||||
|
backdrop-filter: none;
|
||||||
|
-webkit-backdrop-filter: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
[data-theme="c64-basic"] .site-header__brand {
|
||||||
|
font-family: var(--font-c64);
|
||||||
|
font-size: 0.7rem;
|
||||||
|
color: var(--c64-ink-bright);
|
||||||
|
letter-spacing: 0.03em;
|
||||||
|
}
|
||||||
|
|
||||||
|
[data-theme="c64-basic"] .site-header__logo .logo-bars {
|
||||||
|
color: var(--c64-ink-bright);
|
||||||
|
}
|
||||||
|
|
||||||
|
[data-theme="c64-basic"] .site-nav__link {
|
||||||
|
font-family: var(--font-mono);
|
||||||
|
font-size: 0.78rem;
|
||||||
|
text-transform: uppercase;
|
||||||
|
color: var(--c64-ink-muted);
|
||||||
|
}
|
||||||
|
|
||||||
|
[data-theme="c64-basic"] .site-nav__link:hover,
|
||||||
|
[data-theme="c64-basic"] .site-nav__link[aria-current="true"] {
|
||||||
|
color: var(--c64-screen);
|
||||||
|
background-color: var(--c64-ink-bright);
|
||||||
|
padding-inline: 0.35rem;
|
||||||
|
border-block-end-color: transparent;
|
||||||
|
}
|
||||||
|
|
||||||
|
[data-theme="c64-basic"] .nav-toggle {
|
||||||
|
font-family: var(--font-c64);
|
||||||
|
font-size: 0.68rem;
|
||||||
|
color: var(--c64-ink-bright);
|
||||||
|
border: 2px solid var(--c64-ink-muted);
|
||||||
|
padding-inline: 0.6rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* ------------------------------------------------------------------------
|
||||||
|
MASTHEAD COMPACT C64
|
||||||
|
------------------------------------------------------------------------ */
|
||||||
|
[data-theme="c64-basic"] .masthead {
|
||||||
|
padding-block: 0 var(--space-lg);
|
||||||
|
border-block-end: 2px dashed var(--c64-line);
|
||||||
|
}
|
||||||
|
|
||||||
|
[data-theme="c64-basic"] .eyebrow {
|
||||||
|
font-family: var(--font-c64);
|
||||||
|
font-size: 0.65rem;
|
||||||
|
text-transform: uppercase;
|
||||||
|
color: var(--c64-accent);
|
||||||
|
}
|
||||||
|
|
||||||
|
[data-theme="c64-basic"] .eyebrow::before {
|
||||||
|
content: "*** ";
|
||||||
|
color: var(--c64-ink-muted);
|
||||||
|
}
|
||||||
|
|
||||||
|
[data-theme="c64-basic"] .page-title {
|
||||||
|
font-family: var(--font-c64);
|
||||||
|
font-size: clamp(1.25rem, 0.9rem + 1.8vw, 2rem);
|
||||||
|
line-height: 1.45;
|
||||||
|
letter-spacing: 0.02em;
|
||||||
|
text-transform: uppercase;
|
||||||
|
color: var(--c64-ink-bright);
|
||||||
|
}
|
||||||
|
|
||||||
|
[data-theme="c64-basic"] .page-subtitle {
|
||||||
|
font-family: var(--font-mono);
|
||||||
|
color: var(--c64-ink);
|
||||||
|
max-inline-size: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
[data-theme="c64-basic"] .contact-list {
|
||||||
|
color: var(--c64-ink);
|
||||||
|
}
|
||||||
|
|
||||||
|
[data-theme="c64-basic"] .contact-list a {
|
||||||
|
color: var(--c64-accent);
|
||||||
|
}
|
||||||
|
|
||||||
|
[data-theme="c64-basic"] .contact-list__icon {
|
||||||
|
stroke: var(--c64-accent);
|
||||||
|
}
|
||||||
|
|
||||||
|
[data-theme="c64-basic"] .button {
|
||||||
|
font-family: var(--font-mono);
|
||||||
|
font-weight: 700;
|
||||||
|
text-transform: uppercase;
|
||||||
|
border-radius: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
[data-theme="c64-basic"] .button--primary {
|
||||||
|
background-color: var(--c64-ink-bright);
|
||||||
|
color: var(--c64-screen);
|
||||||
|
border: 2px solid var(--c64-ink-bright);
|
||||||
|
}
|
||||||
|
|
||||||
|
[data-theme="c64-basic"] .button--primary:hover {
|
||||||
|
background-color: var(--c64-accent);
|
||||||
|
border-color: var(--c64-accent);
|
||||||
|
color: var(--c64-screen);
|
||||||
|
}
|
||||||
|
|
||||||
|
[data-theme="c64-basic"] .button--secondary {
|
||||||
|
background-color: transparent;
|
||||||
|
color: var(--c64-ink-bright);
|
||||||
|
border: 2px solid var(--c64-ink-muted);
|
||||||
|
}
|
||||||
|
|
||||||
|
[data-theme="c64-basic"] .button--secondary:hover {
|
||||||
|
background-color: var(--c64-ink-bright);
|
||||||
|
color: var(--c64-screen);
|
||||||
|
border-color: var(--c64-ink-bright);
|
||||||
|
}
|
||||||
|
|
||||||
|
/* ------------------------------------------------------------------------
|
||||||
|
CONSOLE INTERACTIVE COMMODORE 64 (visible uniquement sur ce thème)
|
||||||
|
------------------------------------------------------------------------ */
|
||||||
|
[data-theme="c64-basic"] .c64-terminal {
|
||||||
|
display: block;
|
||||||
|
padding-block: var(--space-lg);
|
||||||
|
border-block-end: 2px dashed var(--c64-line);
|
||||||
|
}
|
||||||
|
|
||||||
|
[data-theme="c64-basic"] .c64-boot {
|
||||||
|
text-align: center;
|
||||||
|
font-family: var(--font-c64);
|
||||||
|
font-size: clamp(0.62rem, 0.5rem + 0.5vw, 0.82rem);
|
||||||
|
line-height: 1.9;
|
||||||
|
color: var(--c64-ink-bright);
|
||||||
|
text-transform: uppercase;
|
||||||
|
margin-block-end: var(--space-lg);
|
||||||
|
}
|
||||||
|
|
||||||
|
[data-theme="c64-basic"] .c64-boot__ram {
|
||||||
|
color: var(--c64-ink-muted);
|
||||||
|
}
|
||||||
|
|
||||||
|
[data-theme="c64-basic"] .c64-ready {
|
||||||
|
font-family: var(--font-c64);
|
||||||
|
font-size: 0.72rem;
|
||||||
|
color: var(--c64-ink-bright);
|
||||||
|
margin-block-end: var(--space-sm);
|
||||||
|
}
|
||||||
|
|
||||||
|
[data-theme="c64-basic"] .c64-help {
|
||||||
|
background-color: var(--c64-screen-alt);
|
||||||
|
border: 2px solid var(--c64-line);
|
||||||
|
padding: var(--space-md) var(--space-lg);
|
||||||
|
margin-block-end: var(--space-lg);
|
||||||
|
}
|
||||||
|
|
||||||
|
[data-theme="c64-basic"] .c64-help__title {
|
||||||
|
font-family: var(--font-c64);
|
||||||
|
font-size: 0.68rem;
|
||||||
|
color: var(--c64-accent);
|
||||||
|
margin-block-end: var(--space-sm);
|
||||||
|
text-transform: uppercase;
|
||||||
|
}
|
||||||
|
|
||||||
|
[data-theme="c64-basic"] .c64-commands {
|
||||||
|
display: flex;
|
||||||
|
flex-wrap: wrap;
|
||||||
|
gap: 0.45rem;
|
||||||
|
list-style: none;
|
||||||
|
margin: 0;
|
||||||
|
padding: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
[data-theme="c64-basic"] .c64-cmd-btn {
|
||||||
|
display: inline-flex;
|
||||||
|
align-items: center;
|
||||||
|
min-block-size: 2.1rem;
|
||||||
|
padding: 0.25rem 0.65rem;
|
||||||
|
background-color: var(--c64-screen);
|
||||||
|
color: var(--c64-ink-bright);
|
||||||
|
border: 1.5px solid var(--c64-ink-muted);
|
||||||
|
font-family: var(--font-mono);
|
||||||
|
font-size: 0.8rem;
|
||||||
|
font-weight: 700;
|
||||||
|
text-transform: uppercase;
|
||||||
|
letter-spacing: 0.04em;
|
||||||
|
cursor: pointer;
|
||||||
|
transition: background-color var(--transition-fast), color var(--transition-fast);
|
||||||
|
}
|
||||||
|
|
||||||
|
[data-theme="c64-basic"] .c64-cmd-btn:hover {
|
||||||
|
background-color: var(--c64-ink-bright);
|
||||||
|
color: var(--c64-screen);
|
||||||
|
border-color: var(--c64-ink-bright);
|
||||||
|
}
|
||||||
|
|
||||||
|
[data-theme="c64-basic"] .c64-cmd-btn[data-loaded="true"] {
|
||||||
|
background-color: var(--c64-accent);
|
||||||
|
color: var(--c64-screen);
|
||||||
|
border-color: var(--c64-accent);
|
||||||
|
}
|
||||||
|
|
||||||
|
[data-theme="c64-basic"] .c64-cmd-btn--util {
|
||||||
|
border-style: dashed;
|
||||||
|
color: var(--c64-accent);
|
||||||
|
}
|
||||||
|
|
||||||
|
[data-theme="c64-basic"] .c64-cmd-btn--util:hover {
|
||||||
|
background-color: var(--c64-accent);
|
||||||
|
color: var(--c64-screen);
|
||||||
|
border-color: var(--c64-accent);
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Log des commandes exécutées */
|
||||||
|
[data-theme="c64-basic"] .c64-log {
|
||||||
|
font-family: var(--font-mono);
|
||||||
|
font-size: 0.84rem;
|
||||||
|
line-height: 1.55;
|
||||||
|
color: var(--c64-ink-muted);
|
||||||
|
margin-block-end: var(--space-md);
|
||||||
|
white-space: pre-wrap;
|
||||||
|
}
|
||||||
|
|
||||||
|
[data-theme="c64-basic"] .c64-log:empty {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Invite interactive mC:> */
|
||||||
|
[data-theme="c64-basic"] .c64-prompt-form {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
gap: 0.55rem;
|
||||||
|
padding: 0.55rem 0.75rem;
|
||||||
|
background-color: var(--c64-screen-alt);
|
||||||
|
border: 2px solid var(--c64-ink-bright);
|
||||||
|
}
|
||||||
|
|
||||||
|
[data-theme="c64-basic"] .c64-prompt-label {
|
||||||
|
font-family: var(--font-c64);
|
||||||
|
font-size: 0.82rem;
|
||||||
|
color: var(--c64-accent);
|
||||||
|
white-space: nowrap;
|
||||||
|
flex-shrink: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
[data-theme="c64-basic"] .c64-prompt-input {
|
||||||
|
flex: 1;
|
||||||
|
min-inline-size: 0;
|
||||||
|
background: transparent;
|
||||||
|
border: 0;
|
||||||
|
color: var(--c64-ink-bright);
|
||||||
|
font-family: var(--font-mono);
|
||||||
|
font-size: 0.96rem;
|
||||||
|
font-weight: 700;
|
||||||
|
text-transform: uppercase;
|
||||||
|
letter-spacing: 0.05em;
|
||||||
|
caret-color: var(--c64-accent);
|
||||||
|
outline: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
[data-theme="c64-basic"] .c64-prompt-input::placeholder {
|
||||||
|
color: rgb(184 184 245 / 55%);
|
||||||
|
font-weight: 400;
|
||||||
|
}
|
||||||
|
|
||||||
|
[data-theme="c64-basic"] .c64-prompt-submit {
|
||||||
|
min-block-size: 2.1rem;
|
||||||
|
padding: 0.25rem 0.75rem;
|
||||||
|
background-color: var(--c64-accent);
|
||||||
|
color: var(--c64-screen);
|
||||||
|
font-family: var(--font-c64);
|
||||||
|
font-size: 0.64rem;
|
||||||
|
text-transform: uppercase;
|
||||||
|
cursor: pointer;
|
||||||
|
flex-shrink: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
[data-theme="c64-basic"] .c64-prompt-submit:hover {
|
||||||
|
background-color: var(--c64-ink-bright);
|
||||||
|
}
|
||||||
|
|
||||||
|
@keyframes c64-blink {
|
||||||
|
0%, 49% { opacity: 1; }
|
||||||
|
50%, 100% { opacity: 0; }
|
||||||
|
}
|
||||||
|
|
||||||
|
[data-theme="c64-basic"] .c64-cursor {
|
||||||
|
display: inline-block;
|
||||||
|
inline-size: 0.65em;
|
||||||
|
block-size: 1.05em;
|
||||||
|
vertical-align: -0.15em;
|
||||||
|
background-color: var(--c64-accent);
|
||||||
|
animation: c64-blink 900ms steps(1, end) infinite;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* ------------------------------------------------------------------------
|
||||||
|
VISIBILITÉ DES 7 SECTIONS PILOTÉE PAR COMMANDES (si JS actif)
|
||||||
|
------------------------------------------------------------------------ */
|
||||||
|
[data-js="true"][data-theme="c64-basic"] [data-section] {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
[data-js="true"][data-theme="c64-basic"] [data-section][data-c64-visible="true"] {
|
||||||
|
display: block;
|
||||||
|
animation: c64-appear 200ms steps(4, end);
|
||||||
|
}
|
||||||
|
|
||||||
|
@keyframes c64-appear {
|
||||||
|
from { opacity: 0; transform: translateY(6px); }
|
||||||
|
to { opacity: 1; transform: translateY(0); }
|
||||||
|
}
|
||||||
|
|
||||||
|
/* ------------------------------------------------------------------------
|
||||||
|
HABILLAGE DES SECTIONS CHARGÉES
|
||||||
|
------------------------------------------------------------------------ */
|
||||||
|
[data-theme="c64-basic"] .intro,
|
||||||
|
[data-theme="c64-basic"] .section {
|
||||||
|
padding-block: var(--space-xl);
|
||||||
|
border-block-start: 2px dashed var(--c64-line);
|
||||||
|
}
|
||||||
|
|
||||||
|
[data-theme="c64-basic"] .intro__heading,
|
||||||
|
[data-theme="c64-basic"] .section-title {
|
||||||
|
font-family: var(--font-c64);
|
||||||
|
font-size: clamp(0.88rem, 0.72rem + 0.7vw, 1.15rem);
|
||||||
|
line-height: 1.65;
|
||||||
|
text-transform: uppercase;
|
||||||
|
color: var(--c64-accent);
|
||||||
|
max-inline-size: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
[data-theme="c64-basic"] .section-title::before {
|
||||||
|
content: "READY. > ";
|
||||||
|
color: var(--c64-ink-bright);
|
||||||
|
}
|
||||||
|
|
||||||
|
[data-theme="c64-basic"] .intro__text--highlight {
|
||||||
|
background-color: var(--c64-screen-alt);
|
||||||
|
border: 2px solid var(--c64-accent);
|
||||||
|
padding: var(--space-md) var(--space-lg);
|
||||||
|
color: var(--c64-ink-bright);
|
||||||
|
}
|
||||||
|
|
||||||
|
[data-theme="c64-basic"] .entry {
|
||||||
|
border-inline-start: 2px dashed var(--c64-ink-muted);
|
||||||
|
}
|
||||||
|
|
||||||
|
[data-theme="c64-basic"] .entry::before {
|
||||||
|
border-radius: 0;
|
||||||
|
background-color: var(--c64-accent);
|
||||||
|
border-color: var(--c64-ink-bright);
|
||||||
|
}
|
||||||
|
|
||||||
|
[data-theme="c64-basic"] .course,
|
||||||
|
[data-theme="c64-basic"] .project,
|
||||||
|
[data-theme="c64-basic"] .card,
|
||||||
|
[data-theme="c64-basic"] .contact-block {
|
||||||
|
background-color: var(--c64-screen-alt);
|
||||||
|
border: 2px solid var(--c64-line);
|
||||||
|
}
|
||||||
|
|
||||||
|
[data-theme="c64-basic"] .badge {
|
||||||
|
background-color: var(--c64-screen);
|
||||||
|
color: var(--c64-accent);
|
||||||
|
border: 1.5px solid var(--c64-accent);
|
||||||
|
}
|
||||||
|
|
||||||
|
[data-theme="c64-basic"] .project__stack li {
|
||||||
|
background-color: var(--c64-screen);
|
||||||
|
color: var(--c64-ink-bright);
|
||||||
|
border: 1px solid var(--c64-line);
|
||||||
|
}
|
||||||
|
|
||||||
|
[data-theme="c64-basic"] .site-footer {
|
||||||
|
background-color: var(--c64-screen);
|
||||||
|
border-block-start: 3px solid var(--c64-ink-muted);
|
||||||
|
}
|
||||||
|
|
||||||
|
[data-theme="c64-basic"] .site-footer__inner {
|
||||||
|
color: var(--c64-ink-muted);
|
||||||
|
}
|
||||||
|
|
||||||
|
[data-theme="c64-basic"] .to-top {
|
||||||
|
background-color: var(--c64-screen-alt);
|
||||||
|
border: 2px solid var(--c64-ink-bright);
|
||||||
|
color: var(--c64-ink-bright);
|
||||||
|
border-radius: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (width <= 46rem) {
|
||||||
|
[data-theme="c64-basic"] .site-nav {
|
||||||
|
background-color: var(--c64-screen-alt);
|
||||||
|
border-block-end: 3px solid var(--c64-ink-muted);
|
||||||
|
}
|
||||||
|
|
||||||
|
[data-theme="c64-basic"] .c64-prompt-form {
|
||||||
|
flex-wrap: wrap;
|
||||||
|
}
|
||||||
|
|
||||||
|
[data-theme="c64-basic"] .c64-prompt-submit {
|
||||||
|
inline-size: 100%;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (prefers-reduced-motion: reduce) {
|
||||||
|
[data-theme="c64-basic"] .c64-cursor {
|
||||||
|
animation: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
[data-js="true"][data-theme="c64-basic"] [data-section][data-c64-visible="true"] {
|
||||||
|
animation: none;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,131 @@
|
|||||||
|
/* ==========================================================================
|
||||||
|
themes/classic.css — Thème « Classique » (Sobriété institutionnelle)
|
||||||
|
--------------------------------------------------------------------------
|
||||||
|
Affine l'identité originelle du site (fond blanc cassé, anthracite profond,
|
||||||
|
vert émeraude) et ajoute des micro-animations sobres :
|
||||||
|
- barre de progression de lecture
|
||||||
|
- apparition douce au défilement
|
||||||
|
- animation discrète du nouveau logo SVG au survol
|
||||||
|
- retour visuel franc sur la copie d'e-mail
|
||||||
|
========================================================================== */
|
||||||
|
|
||||||
|
@layer themes {
|
||||||
|
|
||||||
|
/* ------------------------------------------------------------------------
|
||||||
|
BARRE DE PROGRESSION DE LECTURE
|
||||||
|
------------------------------------------------------------------------ */
|
||||||
|
.reading-progress {
|
||||||
|
position: fixed;
|
||||||
|
inset-block-start: 0;
|
||||||
|
inset-inline: 0;
|
||||||
|
block-size: 3px;
|
||||||
|
z-index: calc(var(--z-sticky) + 5);
|
||||||
|
pointer-events: none;
|
||||||
|
background: transparent;
|
||||||
|
}
|
||||||
|
|
||||||
|
.reading-progress__bar {
|
||||||
|
display: block;
|
||||||
|
inline-size: 100%;
|
||||||
|
block-size: 100%;
|
||||||
|
background: linear-gradient(90deg, var(--color-accent-dark), var(--color-accent));
|
||||||
|
transform-origin: left center;
|
||||||
|
transform: scaleX(var(--scroll-progress, 0));
|
||||||
|
will-change: transform;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* ------------------------------------------------------------------------
|
||||||
|
LOGO SVG — animation discrète au survol (stroke-dasharray)
|
||||||
|
------------------------------------------------------------------------ */
|
||||||
|
.site-header__logo .logo-bars {
|
||||||
|
color: var(--color-ink);
|
||||||
|
}
|
||||||
|
|
||||||
|
.site-header__logo .logo-bar {
|
||||||
|
transition: transform 220ms cubic-bezier(0.22, 1, 0.36, 1);
|
||||||
|
transform-origin: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
.site-header__brand:hover .logo-bar-1 {
|
||||||
|
transform: translate(-1.5px, -1.5px);
|
||||||
|
}
|
||||||
|
|
||||||
|
.site-header__brand:hover .logo-bar-2 {
|
||||||
|
transform: translateY(-2px);
|
||||||
|
}
|
||||||
|
|
||||||
|
.site-header__brand:hover .logo-bar-3 {
|
||||||
|
transform: translate(1.5px, 1.5px);
|
||||||
|
}
|
||||||
|
|
||||||
|
/* ------------------------------------------------------------------------
|
||||||
|
APPARITION DOUCE AU DÉFILEMENT (uniquement si JS actif, ≤ 260ms)
|
||||||
|
------------------------------------------------------------------------ */
|
||||||
|
[data-js="true"][data-theme="classic"] [data-reveal] {
|
||||||
|
opacity: 0;
|
||||||
|
transform: translateY(10px);
|
||||||
|
transition:
|
||||||
|
opacity 240ms cubic-bezier(0.22, 1, 0.36, 1),
|
||||||
|
transform 240ms cubic-bezier(0.22, 1, 0.36, 1);
|
||||||
|
}
|
||||||
|
|
||||||
|
[data-js="true"][data-theme="classic"] [data-reveal][data-revealed="true"] {
|
||||||
|
opacity: 1;
|
||||||
|
transform: translateY(0);
|
||||||
|
}
|
||||||
|
|
||||||
|
/* ------------------------------------------------------------------------
|
||||||
|
RETOUR VISUEL SUR COPIE D'E-MAIL
|
||||||
|
------------------------------------------------------------------------ */
|
||||||
|
[data-copy][data-copied="true"] {
|
||||||
|
background-color: var(--color-accent-wash);
|
||||||
|
border-color: var(--color-accent);
|
||||||
|
color: var(--color-accent-dark);
|
||||||
|
}
|
||||||
|
|
||||||
|
/* ------------------------------------------------------------------------
|
||||||
|
AFFINAGE VISUEL CLASSIC
|
||||||
|
------------------------------------------------------------------------ */
|
||||||
|
[data-theme="classic"] .entry__role,
|
||||||
|
[data-theme="classic"] .project__title {
|
||||||
|
transition: color var(--transition-fast);
|
||||||
|
}
|
||||||
|
|
||||||
|
[data-theme="classic"] .project:hover .project__title {
|
||||||
|
color: var(--color-accent-dark);
|
||||||
|
}
|
||||||
|
|
||||||
|
[data-theme="classic"] .course {
|
||||||
|
transition:
|
||||||
|
border-color var(--transition-base),
|
||||||
|
transform var(--transition-base),
|
||||||
|
box-shadow var(--transition-base);
|
||||||
|
}
|
||||||
|
|
||||||
|
[data-theme="classic"] .course:hover {
|
||||||
|
border-color: var(--color-accent-border);
|
||||||
|
box-shadow: var(--shadow-sm);
|
||||||
|
transform: translateY(-1px);
|
||||||
|
}
|
||||||
|
|
||||||
|
/* ------------------------------------------------------------------------
|
||||||
|
RESPECT DE PREFERS-REDUCED-MOTION
|
||||||
|
------------------------------------------------------------------------ */
|
||||||
|
@media (prefers-reduced-motion: reduce) {
|
||||||
|
[data-js="true"][data-theme="classic"] [data-reveal] {
|
||||||
|
opacity: 1;
|
||||||
|
transform: none;
|
||||||
|
transition: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.reading-progress {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.site-header__brand:hover .logo-bar-1,
|
||||||
|
.site-header__brand:hover .logo-bar-2,
|
||||||
|
.site-header__brand:hover .logo-bar-3 {
|
||||||
|
transform: none;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,366 @@
|
|||||||
|
/* ==========================================================================
|
||||||
|
themes/editorial-type.css — Thème « Éditorial » (Typographie radicale)
|
||||||
|
--------------------------------------------------------------------------
|
||||||
|
Esthétique inspirée de l'édition suisse et du scan visuel en F :
|
||||||
|
- Fond papier ivoire chaud (#FAF8F5), encre sombre (#141413)
|
||||||
|
- Filets horizontaux fins (1px solid #141413), zéro ombre portée
|
||||||
|
- Police serif éditoriale contrastée (Instrument Serif) à très grande
|
||||||
|
échelle clamp() pour les titres, associée à Inter pour le corps
|
||||||
|
- Mise en page suisse en 2 colonnes sur desktop (catégorie/titre figé
|
||||||
|
à gauche, contenu détaillé à droite)
|
||||||
|
- Vert émeraude utilisé avec parcimonie uniquement sur les états actifs
|
||||||
|
et les appels à l'action
|
||||||
|
========================================================================== */
|
||||||
|
|
||||||
|
@layer themes {
|
||||||
|
|
||||||
|
[data-theme="editorial-type"] {
|
||||||
|
--color-bg: #faf8f5;
|
||||||
|
--color-bg-translucent: rgb(250 248 245 / 92%);
|
||||||
|
--color-surface: #faf8f5;
|
||||||
|
--color-surface-alt: #f2eee7;
|
||||||
|
--color-line: #141413;
|
||||||
|
--color-line-strong: #141413;
|
||||||
|
|
||||||
|
--color-ink: #141413;
|
||||||
|
--color-ink-soft: #353431;
|
||||||
|
--color-ink-faint: #57554f;
|
||||||
|
--color-ink-inverse: #faf8f5;
|
||||||
|
|
||||||
|
--color-accent: #03996f;
|
||||||
|
--color-accent-dark: #027f5c;
|
||||||
|
--color-accent-wash: transparent;
|
||||||
|
--color-accent-border: #141413;
|
||||||
|
--color-focus: #027f5c;
|
||||||
|
|
||||||
|
--font-editorial: "Instrument Serif", Georgia, "Times New Roman", serif;
|
||||||
|
|
||||||
|
--radius-sm: 0px;
|
||||||
|
--radius-md: 0px;
|
||||||
|
--shadow-sm: none;
|
||||||
|
--shadow-md: none;
|
||||||
|
--transition-fast: 140ms ease;
|
||||||
|
--transition-base: 200ms ease;
|
||||||
|
}
|
||||||
|
|
||||||
|
[data-theme="editorial-type"] .site-header {
|
||||||
|
background-color: var(--color-bg-translucent);
|
||||||
|
border-block-end: 1px solid #141413;
|
||||||
|
}
|
||||||
|
|
||||||
|
[data-theme="editorial-type"] .site-header__logo .logo-bars {
|
||||||
|
color: #141413;
|
||||||
|
}
|
||||||
|
|
||||||
|
[data-theme="editorial-type"] .site-nav__link {
|
||||||
|
font-family: var(--font-sans);
|
||||||
|
font-size: 0.84rem;
|
||||||
|
font-weight: 500;
|
||||||
|
color: var(--color-ink-faint);
|
||||||
|
}
|
||||||
|
|
||||||
|
[data-theme="editorial-type"] .site-nav__link[aria-current="true"] {
|
||||||
|
color: var(--color-accent-dark);
|
||||||
|
border-block-end-color: var(--color-accent-dark);
|
||||||
|
}
|
||||||
|
|
||||||
|
/* ------------------------------------------------------------------------
|
||||||
|
MASTHEAD ÉDITORIAL — grande échelle typographique
|
||||||
|
------------------------------------------------------------------------ */
|
||||||
|
[data-theme="editorial-type"] .masthead {
|
||||||
|
border-block-end: 1px solid #141413;
|
||||||
|
padding-block: var(--space-3xl) var(--space-2xl);
|
||||||
|
}
|
||||||
|
|
||||||
|
[data-theme="editorial-type"] .eyebrow {
|
||||||
|
font-family: var(--font-sans);
|
||||||
|
text-transform: uppercase;
|
||||||
|
letter-spacing: 0.14em;
|
||||||
|
font-size: 0.72rem;
|
||||||
|
font-weight: 600;
|
||||||
|
color: var(--color-ink-faint);
|
||||||
|
}
|
||||||
|
|
||||||
|
[data-theme="editorial-type"] .eyebrow::before {
|
||||||
|
content: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
[data-theme="editorial-type"] .page-title {
|
||||||
|
font-family: var(--font-editorial);
|
||||||
|
font-weight: 400;
|
||||||
|
font-size: clamp(3rem, 2rem + 4.8vw, 5.25rem);
|
||||||
|
line-height: 0.98;
|
||||||
|
letter-spacing: -0.02em;
|
||||||
|
color: #141413;
|
||||||
|
margin-block-end: var(--space-md);
|
||||||
|
}
|
||||||
|
|
||||||
|
[data-theme="editorial-type"] .page-subtitle {
|
||||||
|
font-family: var(--font-sans);
|
||||||
|
font-size: clamp(1rem, 0.95rem + 0.35vw, 1.2rem);
|
||||||
|
color: var(--color-ink-soft);
|
||||||
|
max-inline-size: 52ch;
|
||||||
|
}
|
||||||
|
|
||||||
|
[data-theme="editorial-type"] .contact-list {
|
||||||
|
font-family: var(--font-sans);
|
||||||
|
color: var(--color-ink-soft);
|
||||||
|
}
|
||||||
|
|
||||||
|
[data-theme="editorial-type"] .contact-list a {
|
||||||
|
color: #141413;
|
||||||
|
text-decoration: underline;
|
||||||
|
text-decoration-color: rgb(20 20 19 / 35%);
|
||||||
|
}
|
||||||
|
|
||||||
|
[data-theme="editorial-type"] .contact-list a:hover {
|
||||||
|
color: var(--color-accent-dark);
|
||||||
|
text-decoration-color: var(--color-accent-dark);
|
||||||
|
}
|
||||||
|
|
||||||
|
[data-theme="editorial-type"] .contact-list__icon {
|
||||||
|
stroke: #141413;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* ------------------------------------------------------------------------
|
||||||
|
GRILLE SUISSE EN 2 COLONNES (Desktop)
|
||||||
|
Colonne gauche : titre / catégorie figé en sticky
|
||||||
|
Colonne droite : contenu détaillé
|
||||||
|
------------------------------------------------------------------------ */
|
||||||
|
[data-theme="editorial-type"] .intro,
|
||||||
|
[data-theme="editorial-type"] .section {
|
||||||
|
display: grid;
|
||||||
|
grid-template-columns: minmax(12.5rem, 16.5rem) minmax(0, 1fr);
|
||||||
|
column-gap: var(--space-2xl);
|
||||||
|
align-items: start;
|
||||||
|
border-block-start: 1px solid #141413;
|
||||||
|
padding-block: var(--space-2xl);
|
||||||
|
}
|
||||||
|
|
||||||
|
[data-theme="editorial-type"] .intro {
|
||||||
|
border-block-start: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
[data-theme="editorial-type"] .intro > *,
|
||||||
|
[data-theme="editorial-type"] .section > * {
|
||||||
|
grid-column: 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
[data-theme="editorial-type"] .intro__heading,
|
||||||
|
[data-theme="editorial-type"] .section-title {
|
||||||
|
grid-column: 1;
|
||||||
|
grid-row: 1 / span 12;
|
||||||
|
position: sticky;
|
||||||
|
inset-block-start: calc(var(--header-height) + var(--space-lg));
|
||||||
|
font-family: var(--font-editorial);
|
||||||
|
font-weight: 400;
|
||||||
|
font-size: clamp(2rem, 1.5rem + 1.8vw, 2.85rem);
|
||||||
|
line-height: 1.05;
|
||||||
|
letter-spacing: -0.015em;
|
||||||
|
color: #141413;
|
||||||
|
margin: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
[data-theme="editorial-type"] .section-title::before {
|
||||||
|
content: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* ------------------------------------------------------------------------
|
||||||
|
CONTENU ÉDITORIAL — zéro ombre, filets fins 1px
|
||||||
|
------------------------------------------------------------------------ */
|
||||||
|
[data-theme="editorial-type"] .intro__text--highlight {
|
||||||
|
border-inline-start: 2px solid #141413;
|
||||||
|
color: #141413;
|
||||||
|
}
|
||||||
|
|
||||||
|
[data-theme="editorial-type"] .entry {
|
||||||
|
border-inline-start: 0;
|
||||||
|
padding-inline-start: 0;
|
||||||
|
padding-block: 0 var(--space-lg);
|
||||||
|
margin-block-end: var(--space-lg);
|
||||||
|
border-block-end: 1px solid rgb(20 20 19 / 20%);
|
||||||
|
}
|
||||||
|
|
||||||
|
[data-theme="editorial-type"] .entry:last-child {
|
||||||
|
border-block-end: 0;
|
||||||
|
margin-block-end: 0;
|
||||||
|
padding-block-end: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
[data-theme="editorial-type"] .entry::before {
|
||||||
|
content: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
[data-theme="editorial-type"] .entry__date {
|
||||||
|
font-family: var(--font-sans);
|
||||||
|
text-transform: uppercase;
|
||||||
|
letter-spacing: 0.08em;
|
||||||
|
font-size: 0.72rem;
|
||||||
|
font-weight: 600;
|
||||||
|
color: var(--color-ink-faint);
|
||||||
|
}
|
||||||
|
|
||||||
|
[data-theme="editorial-type"] .entry__role,
|
||||||
|
[data-theme="editorial-type"] .project__title,
|
||||||
|
[data-theme="editorial-type"] .card__title,
|
||||||
|
[data-theme="editorial-type"] .education__degree {
|
||||||
|
font-family: var(--font-editorial);
|
||||||
|
font-weight: 400;
|
||||||
|
font-size: clamp(1.35rem, 1.2rem + 0.5vw, 1.65rem);
|
||||||
|
line-height: 1.15;
|
||||||
|
letter-spacing: -0.01em;
|
||||||
|
color: #141413;
|
||||||
|
}
|
||||||
|
|
||||||
|
[data-theme="editorial-type"] .course {
|
||||||
|
background: transparent;
|
||||||
|
border: 0;
|
||||||
|
border-block-start: 1px solid rgb(20 20 19 / 16%);
|
||||||
|
padding: var(--space-sm) 0;
|
||||||
|
margin: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
[data-theme="editorial-type"] .course__name {
|
||||||
|
font-family: var(--font-sans);
|
||||||
|
font-weight: 600;
|
||||||
|
color: #141413;
|
||||||
|
}
|
||||||
|
|
||||||
|
[data-theme="editorial-type"] .course__name::before {
|
||||||
|
content: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
[data-theme="editorial-type"] .project {
|
||||||
|
background: transparent;
|
||||||
|
border: 0;
|
||||||
|
border-block-end: 1px solid rgb(20 20 19 / 20%);
|
||||||
|
padding: 0 0 var(--space-lg);
|
||||||
|
margin-block-end: var(--space-lg);
|
||||||
|
}
|
||||||
|
|
||||||
|
[data-theme="editorial-type"] .project:last-child {
|
||||||
|
border-block-end: 0;
|
||||||
|
margin-block-end: 0;
|
||||||
|
padding-block-end: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
[data-theme="editorial-type"] .badge {
|
||||||
|
font-family: var(--font-sans);
|
||||||
|
font-size: 0.72rem;
|
||||||
|
text-transform: uppercase;
|
||||||
|
letter-spacing: 0.06em;
|
||||||
|
color: var(--color-ink-faint);
|
||||||
|
background: transparent;
|
||||||
|
border: 1px solid rgb(20 20 19 / 28%);
|
||||||
|
}
|
||||||
|
|
||||||
|
[data-theme="editorial-type"] .project__stack li {
|
||||||
|
background: transparent;
|
||||||
|
border: 1px solid rgb(20 20 19 / 22%);
|
||||||
|
color: var(--color-ink-soft);
|
||||||
|
}
|
||||||
|
|
||||||
|
[data-theme="editorial-type"] .card {
|
||||||
|
background: transparent;
|
||||||
|
border: 0;
|
||||||
|
border-block-start: 1px solid #141413;
|
||||||
|
padding: var(--space-md) 0 0;
|
||||||
|
box-shadow: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
[data-theme="editorial-type"] .card:hover {
|
||||||
|
transform: none;
|
||||||
|
box-shadow: none;
|
||||||
|
border-color: var(--color-accent-dark);
|
||||||
|
}
|
||||||
|
|
||||||
|
[data-theme="editorial-type"] .card__icon {
|
||||||
|
stroke: #141413;
|
||||||
|
}
|
||||||
|
|
||||||
|
[data-theme="editorial-type"] .marker-list li::before {
|
||||||
|
content: "—";
|
||||||
|
color: var(--color-ink-faint);
|
||||||
|
}
|
||||||
|
|
||||||
|
[data-theme="editorial-type"] .education {
|
||||||
|
border-inline-start: 0;
|
||||||
|
border-block-start: 1px solid #141413;
|
||||||
|
padding: var(--space-md) 0 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
[data-theme="editorial-type"] .contact-block {
|
||||||
|
background: transparent;
|
||||||
|
border: 1px solid #141413;
|
||||||
|
padding: var(--space-xl);
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Accent vert émeraude réservé aux appels à l'action */
|
||||||
|
[data-theme="editorial-type"] .button--primary {
|
||||||
|
background-color: var(--color-accent-dark);
|
||||||
|
color: #faf8f5;
|
||||||
|
}
|
||||||
|
|
||||||
|
[data-theme="editorial-type"] .button--primary:hover {
|
||||||
|
background-color: #141413;
|
||||||
|
color: #faf8f5;
|
||||||
|
}
|
||||||
|
|
||||||
|
[data-theme="editorial-type"] .button--secondary {
|
||||||
|
background-color: transparent;
|
||||||
|
border-color: #141413;
|
||||||
|
color: #141413;
|
||||||
|
}
|
||||||
|
|
||||||
|
[data-theme="editorial-type"] .button--secondary:hover {
|
||||||
|
border-color: var(--color-accent-dark);
|
||||||
|
color: var(--color-accent-dark);
|
||||||
|
}
|
||||||
|
|
||||||
|
[data-theme="editorial-type"] .to-top {
|
||||||
|
background-color: #faf8f5;
|
||||||
|
border-color: #141413;
|
||||||
|
color: #141413;
|
||||||
|
box-shadow: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
[data-theme="editorial-type"] .site-footer {
|
||||||
|
border-block-start: 1px solid #141413;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* ------------------------------------------------------------------------
|
||||||
|
MOBILE — retour propre en une seule colonne
|
||||||
|
------------------------------------------------------------------------ */
|
||||||
|
@media (width <= 46rem) {
|
||||||
|
[data-theme="editorial-type"] .intro,
|
||||||
|
[data-theme="editorial-type"] .section {
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
|
|
||||||
|
[data-theme="editorial-type"] .intro__heading,
|
||||||
|
[data-theme="editorial-type"] .section-title {
|
||||||
|
position: static;
|
||||||
|
margin-block-end: var(--space-lg);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Révélation sobre ≤ 260ms */
|
||||||
|
[data-js="true"][data-theme="editorial-type"] [data-reveal] {
|
||||||
|
opacity: 0;
|
||||||
|
transform: translateY(8px);
|
||||||
|
transition: opacity 240ms ease-out, transform 240ms ease-out;
|
||||||
|
}
|
||||||
|
|
||||||
|
[data-js="true"][data-theme="editorial-type"] [data-reveal][data-revealed="true"] {
|
||||||
|
opacity: 1;
|
||||||
|
transform: translateY(0);
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (prefers-reduced-motion: reduce) {
|
||||||
|
[data-js="true"][data-theme="editorial-type"] [data-reveal] {
|
||||||
|
opacity: 1;
|
||||||
|
transform: none;
|
||||||
|
transition: none;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,198 @@
|
|||||||
|
/* ==========================================================================
|
||||||
|
themes/liquid-glass.css — Thème « Liquid Glass » (Verre dépoli contrôlé)
|
||||||
|
--------------------------------------------------------------------------
|
||||||
|
Esthétique :
|
||||||
|
- Fond clair lumineux composé de halos doux (menthe pâle, bleu-vert très
|
||||||
|
clair, blanc cassé)
|
||||||
|
- Surfaces en verre dépoli (backdrop-filter: blur(16px) saturate(140%)),
|
||||||
|
fond blanc semi-opaque (0.72), bordure lumineuse (0.6) et ombre douce
|
||||||
|
- Repli propre @supports not (backdrop-filter: blur(1px))
|
||||||
|
- Contraste WCAG AA/AAA préservé sur tous les textes foncés
|
||||||
|
========================================================================== */
|
||||||
|
|
||||||
|
@layer themes {
|
||||||
|
|
||||||
|
[data-theme="liquid-glass"] {
|
||||||
|
--color-bg: #eef7f5;
|
||||||
|
--color-bg-translucent: rgb(255 255 255 / 68%);
|
||||||
|
--color-surface: rgb(255 255 255 / 72%);
|
||||||
|
--color-surface-alt: rgb(255 255 255 / 55%);
|
||||||
|
--color-line: rgb(16 32 28 / 10%);
|
||||||
|
--color-line-strong: rgb(16 32 28 / 18%);
|
||||||
|
|
||||||
|
--color-ink: #0f1f1b;
|
||||||
|
--color-ink-soft: #2e3e3a;
|
||||||
|
--color-ink-faint: #4a5b56;
|
||||||
|
--color-accent: #05bc8a;
|
||||||
|
--color-accent-dark: #027f5c;
|
||||||
|
--color-accent-wash: rgb(5 188 138 / 14%);
|
||||||
|
|
||||||
|
--lg-surface: rgb(255 255 255 / 72%);
|
||||||
|
--lg-border: 1px solid rgb(255 255 255 / 62%);
|
||||||
|
--lg-shadow:
|
||||||
|
0 8px 30px rgb(16 32 28 / 7%),
|
||||||
|
inset 0 1px 0 rgb(255 255 255 / 85%);
|
||||||
|
|
||||||
|
--radius-sm: 10px;
|
||||||
|
--radius-md: 18px;
|
||||||
|
--transition-fast: 150ms ease;
|
||||||
|
--transition-base: 220ms cubic-bezier(0.22, 1, 0.36, 1);
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Halos lumineux doux dans les teintes du site */
|
||||||
|
[data-theme="liquid-glass"] body {
|
||||||
|
background-color: #f3f9f8;
|
||||||
|
background-image:
|
||||||
|
radial-gradient(46rem 34rem at 12% 8%, rgb(167 243 208 / 55%), transparent 68%),
|
||||||
|
radial-gradient(44rem 34rem at 88% 16%, rgb(186 230 253 / 52%), transparent 70%),
|
||||||
|
radial-gradient(50rem 36rem at 52% 62%, rgb(209 250 229 / 45%), transparent 72%),
|
||||||
|
radial-gradient(42rem 30rem at 18% 92%, rgb(224 242 254 / 50%), transparent 70%);
|
||||||
|
background-attachment: fixed;
|
||||||
|
}
|
||||||
|
|
||||||
|
[data-theme="liquid-glass"] .site-header {
|
||||||
|
background-color: var(--lg-surface);
|
||||||
|
backdrop-filter: blur(16px) saturate(140%);
|
||||||
|
-webkit-backdrop-filter: blur(16px) saturate(140%);
|
||||||
|
border-block-end: var(--lg-border);
|
||||||
|
box-shadow: 0 4px 20px rgb(16 32 28 / 5%);
|
||||||
|
}
|
||||||
|
|
||||||
|
[data-theme="liquid-glass"] .site-header__logo .logo-bars {
|
||||||
|
color: var(--color-ink);
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Surfaces en verre dépoli */
|
||||||
|
[data-theme="liquid-glass"] .masthead,
|
||||||
|
[data-theme="liquid-glass"] .course,
|
||||||
|
[data-theme="liquid-glass"] .project,
|
||||||
|
[data-theme="liquid-glass"] .card,
|
||||||
|
[data-theme="liquid-glass"] .education,
|
||||||
|
[data-theme="liquid-glass"] .contact-block,
|
||||||
|
[data-theme="liquid-glass"] .intro__text--highlight {
|
||||||
|
background-color: var(--lg-surface);
|
||||||
|
backdrop-filter: blur(16px) saturate(140%);
|
||||||
|
-webkit-backdrop-filter: blur(16px) saturate(140%);
|
||||||
|
border: var(--lg-border);
|
||||||
|
border-radius: var(--radius-md);
|
||||||
|
box-shadow: var(--lg-shadow);
|
||||||
|
}
|
||||||
|
|
||||||
|
[data-theme="liquid-glass"] .masthead {
|
||||||
|
padding: var(--space-2xl);
|
||||||
|
margin-block-start: var(--space-xl);
|
||||||
|
}
|
||||||
|
|
||||||
|
[data-theme="liquid-glass"] .intro__text--highlight {
|
||||||
|
padding: var(--space-md) var(--space-lg);
|
||||||
|
border-inline-start: 3px solid var(--color-accent);
|
||||||
|
}
|
||||||
|
|
||||||
|
[data-theme="liquid-glass"] .section {
|
||||||
|
border-block-start: 1px solid rgb(16 32 28 / 8%);
|
||||||
|
}
|
||||||
|
|
||||||
|
[data-theme="liquid-glass"] .education {
|
||||||
|
padding: var(--space-lg);
|
||||||
|
}
|
||||||
|
|
||||||
|
[data-theme="liquid-glass"] .card:hover,
|
||||||
|
[data-theme="liquid-glass"] .project:hover,
|
||||||
|
[data-theme="liquid-glass"] .course:hover {
|
||||||
|
background-color: rgb(255 255 255 / 84%);
|
||||||
|
border-color: rgb(5 188 138 / 45%);
|
||||||
|
transform: translateY(-2px);
|
||||||
|
}
|
||||||
|
|
||||||
|
[data-theme="liquid-glass"] .button {
|
||||||
|
border-radius: 999px;
|
||||||
|
}
|
||||||
|
|
||||||
|
[data-theme="liquid-glass"] .button--secondary {
|
||||||
|
background-color: rgb(255 255 255 / 78%);
|
||||||
|
border-color: rgb(16 32 28 / 16%);
|
||||||
|
color: var(--color-ink);
|
||||||
|
}
|
||||||
|
|
||||||
|
[data-theme="liquid-glass"] .badge {
|
||||||
|
border-radius: 999px;
|
||||||
|
background-color: rgb(5 188 138 / 14%);
|
||||||
|
color: #027f5c;
|
||||||
|
}
|
||||||
|
|
||||||
|
[data-theme="liquid-glass"] .project__stack li {
|
||||||
|
background-color: rgb(255 255 255 / 80%);
|
||||||
|
border: 1px solid rgb(16 32 28 / 10%);
|
||||||
|
color: var(--color-ink-soft);
|
||||||
|
border-radius: 999px;
|
||||||
|
padding: 2px 9px;
|
||||||
|
}
|
||||||
|
|
||||||
|
[data-theme="liquid-glass"] .to-top {
|
||||||
|
background-color: rgb(255 255 255 / 78%);
|
||||||
|
backdrop-filter: blur(12px) saturate(140%);
|
||||||
|
-webkit-backdrop-filter: blur(12px) saturate(140%);
|
||||||
|
border: var(--lg-border);
|
||||||
|
box-shadow: var(--lg-shadow);
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (width <= 46rem) {
|
||||||
|
[data-theme="liquid-glass"] .masthead {
|
||||||
|
padding: var(--space-lg);
|
||||||
|
}
|
||||||
|
|
||||||
|
[data-theme="liquid-glass"] .site-nav {
|
||||||
|
background-color: rgb(255 255 255 / 92%);
|
||||||
|
backdrop-filter: blur(16px);
|
||||||
|
-webkit-backdrop-filter: blur(16px);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/* ------------------------------------------------------------------------
|
||||||
|
REPLI PROPRE SI BACKDROP-FILTER NON SUPPORTÉ
|
||||||
|
------------------------------------------------------------------------ */
|
||||||
|
@supports not (backdrop-filter: blur(1px)) {
|
||||||
|
[data-theme="liquid-glass"] .site-header,
|
||||||
|
[data-theme="liquid-glass"] .masthead,
|
||||||
|
[data-theme="liquid-glass"] .course,
|
||||||
|
[data-theme="liquid-glass"] .project,
|
||||||
|
[data-theme="liquid-glass"] .card,
|
||||||
|
[data-theme="liquid-glass"] .education,
|
||||||
|
[data-theme="liquid-glass"] .contact-block,
|
||||||
|
[data-theme="liquid-glass"] .intro__text--highlight,
|
||||||
|
[data-theme="liquid-glass"] .to-top {
|
||||||
|
background-color: rgb(255 255 255 / 95%);
|
||||||
|
border-color: rgb(16 32 28 / 12%);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Révélation ≤ 260ms */
|
||||||
|
[data-js="true"][data-theme="liquid-glass"] [data-reveal] {
|
||||||
|
opacity: 0;
|
||||||
|
transform: translateY(10px);
|
||||||
|
transition: opacity 240ms ease-out, transform 240ms cubic-bezier(0.22, 1, 0.36, 1);
|
||||||
|
}
|
||||||
|
|
||||||
|
[data-js="true"][data-theme="liquid-glass"] [data-reveal][data-revealed="true"] {
|
||||||
|
opacity: 1;
|
||||||
|
transform: translateY(0);
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (prefers-reduced-motion: reduce) {
|
||||||
|
[data-theme="liquid-glass"] body {
|
||||||
|
background-attachment: scroll;
|
||||||
|
}
|
||||||
|
|
||||||
|
[data-js="true"][data-theme="liquid-glass"] [data-reveal] {
|
||||||
|
opacity: 1;
|
||||||
|
transform: none;
|
||||||
|
transition: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
[data-theme="liquid-glass"] .card:hover,
|
||||||
|
[data-theme="liquid-glass"] .project:hover,
|
||||||
|
[data-theme="liquid-glass"] .course:hover {
|
||||||
|
transform: none;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,690 @@
|
|||||||
|
/* ==========================================================================
|
||||||
|
themes/neo-brutalist.css — Thème « Néo-Brutalisme » (Rétro-web 2027)
|
||||||
|
--------------------------------------------------------------------------
|
||||||
|
Esthétique :
|
||||||
|
- Grille modulaire marquée, bordures noires épaisses (2px–3px)
|
||||||
|
- Ombres portées franches sans flou (6px 6px 0 #111)
|
||||||
|
- Palette contrastée (jaune vif, violet électrique, vert acide, orange, bleu)
|
||||||
|
avec trame de points subtile sur le fond
|
||||||
|
- Sections présentées comme des fenêtres d'interface rétro (barre de titre
|
||||||
|
colorée + faux boutons décoratifs)
|
||||||
|
- Contraste typographique fort : polices display/pixel pour les titres et
|
||||||
|
la navigation, mais Inter très lisible sur fond blanc uni à l'intérieur
|
||||||
|
des fenêtres de texte (notamment Enseignement)
|
||||||
|
- Micro-interactions nerveuses au survol et au clic
|
||||||
|
========================================================================== */
|
||||||
|
|
||||||
|
@layer themes {
|
||||||
|
|
||||||
|
[data-theme="neo-brutalist"] {
|
||||||
|
/* ---- Tokens surchargés ---- */
|
||||||
|
--color-bg: #fffdf2;
|
||||||
|
--color-bg-translucent: #ffe500;
|
||||||
|
--color-surface: #ffffff;
|
||||||
|
--color-surface-alt: #fef08a;
|
||||||
|
--color-line: #111111;
|
||||||
|
--color-line-strong: #111111;
|
||||||
|
|
||||||
|
--color-ink: #111111;
|
||||||
|
--color-ink-soft: #1f2421;
|
||||||
|
--color-ink-faint: #3f4642;
|
||||||
|
--color-ink-inverse: #ffffff;
|
||||||
|
|
||||||
|
--color-accent: #8b5cf6;
|
||||||
|
--color-accent-dark: #5b21b6;
|
||||||
|
--color-accent-wash: #ede9fe;
|
||||||
|
--color-accent-border: #111111;
|
||||||
|
--color-accent-glow: #fef08a;
|
||||||
|
--color-focus: #5b21b6;
|
||||||
|
|
||||||
|
/* Couleurs d'accent rétro-web */
|
||||||
|
--nb-yellow: #ffe500;
|
||||||
|
--nb-purple: #c4b5fd;
|
||||||
|
--nb-purple-vivid: #7c3aed;
|
||||||
|
--nb-acid: #a3e635;
|
||||||
|
--nb-orange: #ff9f43;
|
||||||
|
--nb-blue: #93c5fd;
|
||||||
|
--nb-pink: #f9a8d4;
|
||||||
|
--nb-black: #111111;
|
||||||
|
--nb-shadow: 6px 6px 0 var(--nb-black);
|
||||||
|
--nb-shadow-sm: 4px 4px 0 var(--nb-black);
|
||||||
|
--nb-shadow-hover: 8px 8px 0 var(--nb-black);
|
||||||
|
--nb-border: 3px solid var(--nb-black);
|
||||||
|
--nb-border-sm: 2px solid var(--nb-black);
|
||||||
|
|
||||||
|
--font-display: "Space Grotesk", var(--font-sans);
|
||||||
|
--font-pixel: "Silkscreen", var(--font-mono);
|
||||||
|
|
||||||
|
--radius-sm: 0px;
|
||||||
|
--radius-md: 0px;
|
||||||
|
--shadow-sm: var(--nb-shadow-sm);
|
||||||
|
--shadow-md: var(--nb-shadow);
|
||||||
|
--transition-fast: 90ms steps(2, end);
|
||||||
|
--transition-base: 120ms cubic-bezier(0.2, 0.9, 0.3, 1.2);
|
||||||
|
}
|
||||||
|
|
||||||
|
/* ------------------------------------------------------------------------
|
||||||
|
FOND DE PAGE — trame de points rétro subtile
|
||||||
|
------------------------------------------------------------------------ */
|
||||||
|
[data-theme="neo-brutalist"] body {
|
||||||
|
background-color: var(--color-bg);
|
||||||
|
background-image:
|
||||||
|
radial-gradient(rgb(17 17 17 / 14%) 1.25px, transparent 1.25px);
|
||||||
|
background-size: 20px 20px;
|
||||||
|
color: var(--nb-black);
|
||||||
|
}
|
||||||
|
|
||||||
|
/* ------------------------------------------------------------------------
|
||||||
|
BARRE DE PROGRESSION DE LECTURE
|
||||||
|
------------------------------------------------------------------------ */
|
||||||
|
[data-theme="neo-brutalist"] .reading-progress {
|
||||||
|
block-size: 5px;
|
||||||
|
background: var(--nb-black);
|
||||||
|
}
|
||||||
|
|
||||||
|
[data-theme="neo-brutalist"] .reading-progress__bar {
|
||||||
|
background: linear-gradient(90deg, var(--nb-acid), var(--nb-yellow), var(--nb-orange));
|
||||||
|
}
|
||||||
|
|
||||||
|
/* ------------------------------------------------------------------------
|
||||||
|
EN-TÊTE & NAVIGATION
|
||||||
|
------------------------------------------------------------------------ */
|
||||||
|
[data-theme="neo-brutalist"] .site-header {
|
||||||
|
background-color: var(--nb-yellow);
|
||||||
|
border-block-end: var(--nb-border);
|
||||||
|
backdrop-filter: none;
|
||||||
|
-webkit-backdrop-filter: none;
|
||||||
|
box-shadow: 0 4px 0 var(--nb-black);
|
||||||
|
}
|
||||||
|
|
||||||
|
[data-theme="neo-brutalist"] .site-header__brand {
|
||||||
|
font-family: var(--font-pixel);
|
||||||
|
font-size: 0.85rem;
|
||||||
|
letter-spacing: 0.01em;
|
||||||
|
color: var(--nb-black);
|
||||||
|
background: #ffffff;
|
||||||
|
border: var(--nb-border-sm);
|
||||||
|
padding: 0.25rem 0.6rem;
|
||||||
|
box-shadow: 3px 3px 0 var(--nb-black);
|
||||||
|
transition: transform var(--transition-base), box-shadow var(--transition-base);
|
||||||
|
}
|
||||||
|
|
||||||
|
[data-theme="neo-brutalist"] .site-header__brand:hover {
|
||||||
|
transform: translate(-2px, -2px);
|
||||||
|
box-shadow: 5px 5px 0 var(--nb-black);
|
||||||
|
}
|
||||||
|
|
||||||
|
[data-theme="neo-brutalist"] .site-header__logo .logo-bars {
|
||||||
|
color: var(--nb-black);
|
||||||
|
}
|
||||||
|
|
||||||
|
[data-theme="neo-brutalist"] .site-nav__list {
|
||||||
|
gap: 0.4rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
[data-theme="neo-brutalist"] .site-nav__link {
|
||||||
|
font-family: var(--font-display);
|
||||||
|
font-weight: 700;
|
||||||
|
font-size: 0.82rem;
|
||||||
|
text-transform: uppercase;
|
||||||
|
letter-spacing: 0.03em;
|
||||||
|
color: var(--nb-black);
|
||||||
|
padding: 0.35rem 0.6rem;
|
||||||
|
border: 2px solid transparent;
|
||||||
|
border-block-end-width: 2px;
|
||||||
|
transition:
|
||||||
|
background-color var(--transition-fast),
|
||||||
|
transform var(--transition-base),
|
||||||
|
box-shadow var(--transition-base);
|
||||||
|
}
|
||||||
|
|
||||||
|
[data-theme="neo-brutalist"] .site-nav__link:hover {
|
||||||
|
background-color: #ffffff;
|
||||||
|
border-color: var(--nb-black);
|
||||||
|
transform: translate(-2px, -2px);
|
||||||
|
box-shadow: 3px 3px 0 var(--nb-black);
|
||||||
|
}
|
||||||
|
|
||||||
|
[data-theme="neo-brutalist"] .site-nav__link[aria-current="true"] {
|
||||||
|
background-color: var(--nb-black);
|
||||||
|
color: var(--nb-yellow);
|
||||||
|
border-color: var(--nb-black);
|
||||||
|
box-shadow: 3px 3px 0 var(--nb-acid);
|
||||||
|
}
|
||||||
|
|
||||||
|
[data-theme="neo-brutalist"] .nav-toggle {
|
||||||
|
font-family: var(--font-pixel);
|
||||||
|
font-size: 0.78rem;
|
||||||
|
background: #ffffff;
|
||||||
|
color: var(--nb-black);
|
||||||
|
border: var(--nb-border-sm);
|
||||||
|
box-shadow: 3px 3px 0 var(--nb-black);
|
||||||
|
padding-inline: 0.7rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* ------------------------------------------------------------------------
|
||||||
|
MASTHEAD — fenêtre héros rétro
|
||||||
|
------------------------------------------------------------------------ */
|
||||||
|
[data-theme="neo-brutalist"] main > .container {
|
||||||
|
padding-block: var(--space-xl) var(--space-2xl);
|
||||||
|
display: grid;
|
||||||
|
gap: var(--space-xl);
|
||||||
|
}
|
||||||
|
|
||||||
|
[data-theme="neo-brutalist"] .masthead {
|
||||||
|
position: relative;
|
||||||
|
background: #ffffff;
|
||||||
|
border: var(--nb-border);
|
||||||
|
box-shadow: var(--nb-shadow);
|
||||||
|
padding: 3.4rem var(--space-xl) var(--space-xl);
|
||||||
|
overflow: hidden;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Barre de titre rétro du masthead */
|
||||||
|
[data-theme="neo-brutalist"] .masthead::before {
|
||||||
|
content: "CV://COURCELLE_MATTHIEU.EXE";
|
||||||
|
position: absolute;
|
||||||
|
inset-block-start: 0;
|
||||||
|
inset-inline: 0;
|
||||||
|
block-size: 2.35rem;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
padding-inline: var(--space-md) 5.5rem;
|
||||||
|
background: var(--nb-acid);
|
||||||
|
border-block-end: var(--nb-border);
|
||||||
|
font-family: var(--font-pixel);
|
||||||
|
font-size: 0.72rem;
|
||||||
|
color: var(--nb-black);
|
||||||
|
letter-spacing: 0.04em;
|
||||||
|
white-space: nowrap;
|
||||||
|
overflow: hidden;
|
||||||
|
text-overflow: ellipsis;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Faux boutons de fenêtre décoratifs */
|
||||||
|
[data-theme="neo-brutalist"] .masthead::after {
|
||||||
|
content: "— □ ×";
|
||||||
|
position: absolute;
|
||||||
|
inset-block-start: 0.35rem;
|
||||||
|
inset-inline-end: 0.75rem;
|
||||||
|
font-family: var(--font-mono);
|
||||||
|
font-size: 0.85rem;
|
||||||
|
font-weight: 700;
|
||||||
|
color: var(--nb-black);
|
||||||
|
letter-spacing: 0.1em;
|
||||||
|
pointer-events: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
[data-theme="neo-brutalist"] .eyebrow {
|
||||||
|
display: inline-block;
|
||||||
|
font-family: var(--font-pixel);
|
||||||
|
font-size: 0.72rem;
|
||||||
|
text-transform: uppercase;
|
||||||
|
color: var(--nb-black);
|
||||||
|
background: var(--nb-yellow);
|
||||||
|
border: var(--nb-border-sm);
|
||||||
|
padding: 0.25rem 0.6rem;
|
||||||
|
box-shadow: 3px 3px 0 var(--nb-black);
|
||||||
|
margin-block-end: var(--space-md);
|
||||||
|
}
|
||||||
|
|
||||||
|
[data-theme="neo-brutalist"] .eyebrow::before {
|
||||||
|
content: ">> ";
|
||||||
|
color: var(--nb-purple-vivid);
|
||||||
|
}
|
||||||
|
|
||||||
|
[data-theme="neo-brutalist"] .page-title {
|
||||||
|
font-family: var(--font-display);
|
||||||
|
font-weight: 700;
|
||||||
|
text-transform: uppercase;
|
||||||
|
letter-spacing: -0.04em;
|
||||||
|
color: var(--nb-black);
|
||||||
|
text-shadow: 3px 3px 0 var(--nb-yellow);
|
||||||
|
}
|
||||||
|
|
||||||
|
[data-theme="neo-brutalist"] .page-subtitle {
|
||||||
|
font-family: var(--font-display);
|
||||||
|
font-weight: 700;
|
||||||
|
color: var(--nb-black);
|
||||||
|
background: var(--nb-purple);
|
||||||
|
border: var(--nb-border-sm);
|
||||||
|
padding: 0.45rem 0.8rem;
|
||||||
|
max-inline-size: fit-content;
|
||||||
|
box-shadow: 4px 4px 0 var(--nb-black);
|
||||||
|
}
|
||||||
|
|
||||||
|
[data-theme="neo-brutalist"] .contact-list {
|
||||||
|
color: var(--nb-black);
|
||||||
|
gap: var(--space-xs) var(--space-sm);
|
||||||
|
}
|
||||||
|
|
||||||
|
[data-theme="neo-brutalist"] .contact-list li {
|
||||||
|
background: #fffdf2;
|
||||||
|
border: var(--nb-border-sm);
|
||||||
|
padding: 0.3rem 0.65rem;
|
||||||
|
font-family: var(--font-mono);
|
||||||
|
font-size: 0.8rem;
|
||||||
|
font-weight: 500;
|
||||||
|
box-shadow: 2px 2px 0 var(--nb-black);
|
||||||
|
}
|
||||||
|
|
||||||
|
[data-theme="neo-brutalist"] .contact-list a {
|
||||||
|
color: var(--nb-black);
|
||||||
|
font-weight: 700;
|
||||||
|
text-decoration-thickness: 2px;
|
||||||
|
}
|
||||||
|
|
||||||
|
[data-theme="neo-brutalist"] .contact-list__icon {
|
||||||
|
stroke: var(--nb-black);
|
||||||
|
stroke-width: 2.2;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* ------------------------------------------------------------------------
|
||||||
|
BOUTONS — micro-interactions nerveuses
|
||||||
|
------------------------------------------------------------------------ */
|
||||||
|
[data-theme="neo-brutalist"] .button {
|
||||||
|
font-family: var(--font-pixel);
|
||||||
|
font-size: 0.78rem;
|
||||||
|
text-transform: uppercase;
|
||||||
|
border: var(--nb-border);
|
||||||
|
box-shadow: var(--nb-shadow-sm);
|
||||||
|
transition:
|
||||||
|
transform var(--transition-base),
|
||||||
|
box-shadow var(--transition-base),
|
||||||
|
background-color var(--transition-fast);
|
||||||
|
}
|
||||||
|
|
||||||
|
[data-theme="neo-brutalist"] .button--primary {
|
||||||
|
background-color: var(--nb-purple-vivid);
|
||||||
|
color: #ffffff;
|
||||||
|
}
|
||||||
|
|
||||||
|
[data-theme="neo-brutalist"] .button--primary:hover {
|
||||||
|
background-color: var(--nb-black);
|
||||||
|
color: var(--nb-yellow);
|
||||||
|
transform: translate(-3px, -3px);
|
||||||
|
box-shadow: 7px 7px 0 var(--nb-black);
|
||||||
|
}
|
||||||
|
|
||||||
|
[data-theme="neo-brutalist"] .button--secondary {
|
||||||
|
background-color: var(--nb-yellow);
|
||||||
|
color: var(--nb-black);
|
||||||
|
}
|
||||||
|
|
||||||
|
[data-theme="neo-brutalist"] .button--secondary:hover {
|
||||||
|
background-color: var(--nb-acid);
|
||||||
|
color: var(--nb-black);
|
||||||
|
transform: translate(-3px, -3px);
|
||||||
|
box-shadow: 7px 7px 0 var(--nb-black);
|
||||||
|
}
|
||||||
|
|
||||||
|
[data-theme="neo-brutalist"] .button:active {
|
||||||
|
transform: translate(2px, 2px);
|
||||||
|
box-shadow: 2px 2px 0 var(--nb-black);
|
||||||
|
}
|
||||||
|
|
||||||
|
[data-theme="neo-brutalist"] [data-copy][data-copied="true"] {
|
||||||
|
background-color: var(--nb-acid);
|
||||||
|
color: var(--nb-black);
|
||||||
|
border-color: var(--nb-black);
|
||||||
|
}
|
||||||
|
|
||||||
|
/* ------------------------------------------------------------------------
|
||||||
|
FENÊTRES RÉTRO POUR LES 7 SECTIONS
|
||||||
|
Fond blanc uni garanti à l'intérieur pour une lisibilité irréprochable
|
||||||
|
du CV (notamment la section Enseignement).
|
||||||
|
------------------------------------------------------------------------ */
|
||||||
|
[data-theme="neo-brutalist"] .intro,
|
||||||
|
[data-theme="neo-brutalist"] .section {
|
||||||
|
background-color: #ffffff;
|
||||||
|
border: var(--nb-border);
|
||||||
|
box-shadow: var(--nb-shadow);
|
||||||
|
padding: 0 var(--space-xl) var(--space-xl);
|
||||||
|
margin: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Barre de titre rétro de chaque fenêtre de section */
|
||||||
|
[data-theme="neo-brutalist"] .intro__heading,
|
||||||
|
[data-theme="neo-brutalist"] .section-title {
|
||||||
|
position: relative;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: space-between;
|
||||||
|
gap: var(--space-md);
|
||||||
|
margin-inline: calc(var(--space-xl) * -1);
|
||||||
|
margin-block-end: var(--space-xl);
|
||||||
|
padding: 0.75rem var(--space-xl);
|
||||||
|
background-color: var(--nb-yellow);
|
||||||
|
border-block-end: var(--nb-border);
|
||||||
|
font-family: var(--font-pixel);
|
||||||
|
font-size: clamp(0.95rem, 0.85rem + 0.5vw, 1.2rem);
|
||||||
|
line-height: 1.3;
|
||||||
|
letter-spacing: 0.02em;
|
||||||
|
text-transform: uppercase;
|
||||||
|
color: var(--nb-black);
|
||||||
|
max-inline-size: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
[data-theme="neo-brutalist"] .section-title::before {
|
||||||
|
content: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Faux boutons de contrôle fenêtre à droite de chaque barre de titre */
|
||||||
|
[data-theme="neo-brutalist"] .intro__heading::after,
|
||||||
|
[data-theme="neo-brutalist"] .section-title::after {
|
||||||
|
content: "— □ ×";
|
||||||
|
flex-shrink: 0;
|
||||||
|
font-family: var(--font-mono);
|
||||||
|
font-size: 0.85rem;
|
||||||
|
font-weight: 700;
|
||||||
|
letter-spacing: 0.12em;
|
||||||
|
padding: 0.15rem 0.45rem;
|
||||||
|
background: #ffffff;
|
||||||
|
border: var(--nb-border-sm);
|
||||||
|
box-shadow: 2px 2px 0 var(--nb-black);
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Couleurs de barre de titre variées (toutes contrastées AAA/AA avec #111) */
|
||||||
|
[data-theme="neo-brutalist"] #profil .intro__heading { background-color: var(--nb-acid); }
|
||||||
|
[data-theme="neo-brutalist"] #enseignement .section-title { background-color: var(--nb-yellow); }
|
||||||
|
[data-theme="neo-brutalist"] #coordination .section-title { background-color: var(--nb-orange); }
|
||||||
|
[data-theme="neo-brutalist"] #projets .section-title { background-color: var(--nb-purple); }
|
||||||
|
[data-theme="neo-brutalist"] #competences .section-title { background-color: var(--nb-blue); }
|
||||||
|
[data-theme="neo-brutalist"] #formation .section-title { background-color: var(--nb-acid); }
|
||||||
|
[data-theme="neo-brutalist"] #contact .section-title { background-color: var(--nb-yellow); }
|
||||||
|
|
||||||
|
/* Texte intérieur : Inter, fond blanc pur, contraste maximal */
|
||||||
|
[data-theme="neo-brutalist"] .intro__text {
|
||||||
|
font-family: var(--font-sans);
|
||||||
|
color: var(--color-ink-soft);
|
||||||
|
line-height: 1.72;
|
||||||
|
}
|
||||||
|
|
||||||
|
[data-theme="neo-brutalist"] .intro__text--highlight {
|
||||||
|
background: #fffbeb;
|
||||||
|
border: var(--nb-border-sm);
|
||||||
|
border-inline-start: 6px solid var(--nb-purple-vivid);
|
||||||
|
padding: var(--space-md) var(--space-lg);
|
||||||
|
box-shadow: 4px 4px 0 var(--nb-black);
|
||||||
|
color: var(--nb-black);
|
||||||
|
}
|
||||||
|
|
||||||
|
/* ------------------------------------------------------------------------
|
||||||
|
PARCOURS & FICHES DE COURS (lisibilité prioritaire)
|
||||||
|
------------------------------------------------------------------------ */
|
||||||
|
[data-theme="neo-brutalist"] .entry {
|
||||||
|
border-inline-start: 3px solid var(--nb-black);
|
||||||
|
padding-inline-start: var(--space-lg);
|
||||||
|
}
|
||||||
|
|
||||||
|
[data-theme="neo-brutalist"] .entry::before {
|
||||||
|
border-radius: 0;
|
||||||
|
inline-size: 14px;
|
||||||
|
block-size: 14px;
|
||||||
|
inset-inline-start: -8.5px;
|
||||||
|
background-color: var(--nb-yellow);
|
||||||
|
border: 2.5px solid var(--nb-black);
|
||||||
|
}
|
||||||
|
|
||||||
|
[data-theme="neo-brutalist"] .entry__date {
|
||||||
|
display: inline-block;
|
||||||
|
font-family: var(--font-pixel);
|
||||||
|
font-size: 0.7rem;
|
||||||
|
color: var(--nb-black);
|
||||||
|
background: var(--nb-acid);
|
||||||
|
border: var(--nb-border-sm);
|
||||||
|
padding: 0.15rem 0.5rem;
|
||||||
|
margin-block-end: var(--space-xs);
|
||||||
|
box-shadow: 2px 2px 0 var(--nb-black);
|
||||||
|
}
|
||||||
|
|
||||||
|
[data-theme="neo-brutalist"] .entry__role {
|
||||||
|
font-family: var(--font-display);
|
||||||
|
font-weight: 700;
|
||||||
|
color: var(--nb-black);
|
||||||
|
}
|
||||||
|
|
||||||
|
[data-theme="neo-brutalist"] .entry__org {
|
||||||
|
color: var(--color-ink-faint);
|
||||||
|
font-weight: 500;
|
||||||
|
}
|
||||||
|
|
||||||
|
[data-theme="neo-brutalist"] .entry__note {
|
||||||
|
font-family: var(--font-sans);
|
||||||
|
color: var(--color-ink-soft);
|
||||||
|
}
|
||||||
|
|
||||||
|
[data-theme="neo-brutalist"] .course {
|
||||||
|
background-color: #ffffff;
|
||||||
|
border: var(--nb-border-sm);
|
||||||
|
box-shadow: 4px 4px 0 var(--nb-black);
|
||||||
|
margin-block-end: var(--space-sm);
|
||||||
|
transition: transform var(--transition-base), box-shadow var(--transition-base);
|
||||||
|
}
|
||||||
|
|
||||||
|
[data-theme="neo-brutalist"] .course:hover {
|
||||||
|
transform: translate(-2px, -2px);
|
||||||
|
box-shadow: 6px 6px 0 var(--nb-black);
|
||||||
|
border-color: var(--nb-black);
|
||||||
|
}
|
||||||
|
|
||||||
|
[data-theme="neo-brutalist"] .course__name {
|
||||||
|
font-family: var(--font-display);
|
||||||
|
font-size: 0.95rem;
|
||||||
|
color: var(--nb-black);
|
||||||
|
}
|
||||||
|
|
||||||
|
[data-theme="neo-brutalist"] .course__name::before {
|
||||||
|
content: "■ ";
|
||||||
|
color: var(--nb-purple-vivid);
|
||||||
|
}
|
||||||
|
|
||||||
|
[data-theme="neo-brutalist"] .course__desc {
|
||||||
|
font-family: var(--font-sans);
|
||||||
|
color: var(--color-ink-soft);
|
||||||
|
}
|
||||||
|
|
||||||
|
/* ------------------------------------------------------------------------
|
||||||
|
PROJETS, CARTES COMPÉTENCES, FORMATION, CONTACT
|
||||||
|
------------------------------------------------------------------------ */
|
||||||
|
[data-theme="neo-brutalist"] .project {
|
||||||
|
background-color: #ffffff;
|
||||||
|
border: var(--nb-border-sm);
|
||||||
|
box-shadow: var(--nb-shadow-sm);
|
||||||
|
margin-block-end: var(--space-md);
|
||||||
|
transition: transform var(--transition-base), box-shadow var(--transition-base);
|
||||||
|
}
|
||||||
|
|
||||||
|
[data-theme="neo-brutalist"] .project:hover {
|
||||||
|
transform: translate(-3px, -3px);
|
||||||
|
box-shadow: var(--nb-shadow-hover);
|
||||||
|
border-color: var(--nb-black);
|
||||||
|
}
|
||||||
|
|
||||||
|
[data-theme="neo-brutalist"] .project__title {
|
||||||
|
font-family: var(--font-display);
|
||||||
|
font-weight: 700;
|
||||||
|
font-size: 1.08rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
[data-theme="neo-brutalist"] .badge {
|
||||||
|
font-family: var(--font-mono);
|
||||||
|
font-weight: 700;
|
||||||
|
color: var(--nb-black);
|
||||||
|
background-color: var(--nb-yellow);
|
||||||
|
border: var(--nb-border-sm);
|
||||||
|
box-shadow: 2px 2px 0 var(--nb-black);
|
||||||
|
}
|
||||||
|
|
||||||
|
[data-theme="neo-brutalist"] .badge--muted {
|
||||||
|
background-color: var(--nb-orange);
|
||||||
|
color: var(--nb-black);
|
||||||
|
border-color: var(--nb-black);
|
||||||
|
}
|
||||||
|
|
||||||
|
[data-theme="neo-brutalist"] .project__stack li {
|
||||||
|
color: var(--nb-black);
|
||||||
|
background-color: #f3f4f6;
|
||||||
|
border: 1.5px solid var(--nb-black);
|
||||||
|
font-weight: 700;
|
||||||
|
padding: 2px 7px;
|
||||||
|
}
|
||||||
|
|
||||||
|
[data-theme="neo-brutalist"] .card {
|
||||||
|
background-color: #ffffff;
|
||||||
|
border: var(--nb-border-sm);
|
||||||
|
box-shadow: var(--nb-shadow-sm);
|
||||||
|
transition: transform var(--transition-base), box-shadow var(--transition-base);
|
||||||
|
}
|
||||||
|
|
||||||
|
[data-theme="neo-brutalist"] .card:hover {
|
||||||
|
border-color: var(--nb-black);
|
||||||
|
transform: translate(-3px, -3px);
|
||||||
|
box-shadow: var(--nb-shadow-hover);
|
||||||
|
}
|
||||||
|
|
||||||
|
[data-theme="neo-brutalist"] .card__title {
|
||||||
|
font-family: var(--font-display);
|
||||||
|
font-weight: 700;
|
||||||
|
padding-block-end: var(--space-xs);
|
||||||
|
border-block-end: 2px solid var(--nb-black);
|
||||||
|
}
|
||||||
|
|
||||||
|
[data-theme="neo-brutalist"] .card__icon {
|
||||||
|
stroke: var(--nb-black);
|
||||||
|
stroke-width: 2.2;
|
||||||
|
}
|
||||||
|
|
||||||
|
[data-theme="neo-brutalist"] .marker-list li::before {
|
||||||
|
content: "■";
|
||||||
|
color: var(--nb-purple-vivid);
|
||||||
|
}
|
||||||
|
|
||||||
|
[data-theme="neo-brutalist"] .education {
|
||||||
|
background: #fffdf2;
|
||||||
|
border: var(--nb-border-sm);
|
||||||
|
padding: var(--space-md);
|
||||||
|
box-shadow: 4px 4px 0 var(--nb-black);
|
||||||
|
}
|
||||||
|
|
||||||
|
[data-theme="neo-brutalist"] .education__degree {
|
||||||
|
font-family: var(--font-display);
|
||||||
|
font-weight: 700;
|
||||||
|
}
|
||||||
|
|
||||||
|
[data-theme="neo-brutalist"] .contact-block {
|
||||||
|
background: #fffdf2;
|
||||||
|
border: var(--nb-border-sm);
|
||||||
|
box-shadow: var(--nb-shadow-sm);
|
||||||
|
}
|
||||||
|
|
||||||
|
/* ------------------------------------------------------------------------
|
||||||
|
PIED DE PAGE & BOUTON RETOUR EN HAUT
|
||||||
|
------------------------------------------------------------------------ */
|
||||||
|
[data-theme="neo-brutalist"] .site-footer {
|
||||||
|
background-color: var(--nb-black);
|
||||||
|
color: #ffffff;
|
||||||
|
border-block-start: var(--nb-border);
|
||||||
|
}
|
||||||
|
|
||||||
|
[data-theme="neo-brutalist"] .site-footer__inner {
|
||||||
|
color: #ffffff;
|
||||||
|
}
|
||||||
|
|
||||||
|
[data-theme="neo-brutalist"] .site-footer a {
|
||||||
|
color: var(--nb-yellow);
|
||||||
|
font-weight: 700;
|
||||||
|
}
|
||||||
|
|
||||||
|
[data-theme="neo-brutalist"] .site-footer a:hover {
|
||||||
|
color: var(--nb-acid);
|
||||||
|
}
|
||||||
|
|
||||||
|
[data-theme="neo-brutalist"] .to-top {
|
||||||
|
border-radius: 0;
|
||||||
|
background-color: var(--nb-yellow);
|
||||||
|
color: var(--nb-black);
|
||||||
|
border: var(--nb-border);
|
||||||
|
box-shadow: 4px 4px 0 var(--nb-black);
|
||||||
|
}
|
||||||
|
|
||||||
|
[data-theme="neo-brutalist"] .to-top:hover {
|
||||||
|
background-color: var(--nb-acid);
|
||||||
|
color: var(--nb-black);
|
||||||
|
border-color: var(--nb-black);
|
||||||
|
transform: translate(-2px, -2px);
|
||||||
|
box-shadow: 6px 6px 0 var(--nb-black);
|
||||||
|
}
|
||||||
|
|
||||||
|
/* ------------------------------------------------------------------------
|
||||||
|
APPARITION AU DÉFILEMENT (franche et rapide)
|
||||||
|
------------------------------------------------------------------------ */
|
||||||
|
[data-js="true"][data-theme="neo-brutalist"] [data-reveal] {
|
||||||
|
opacity: 0;
|
||||||
|
transform: translateY(10px);
|
||||||
|
transition: opacity 220ms ease-out, transform 220ms cubic-bezier(0.2, 0.9, 0.3, 1.2);
|
||||||
|
}
|
||||||
|
|
||||||
|
[data-js="true"][data-theme="neo-brutalist"] [data-reveal][data-revealed="true"] {
|
||||||
|
opacity: 1;
|
||||||
|
transform: translateY(0);
|
||||||
|
}
|
||||||
|
|
||||||
|
/* ------------------------------------------------------------------------
|
||||||
|
ADAPTATION MOBILE
|
||||||
|
------------------------------------------------------------------------ */
|
||||||
|
@media (width <= 46rem) {
|
||||||
|
[data-theme="neo-brutalist"] .site-nav {
|
||||||
|
background-color: var(--nb-yellow);
|
||||||
|
border-block-end: var(--nb-border);
|
||||||
|
box-shadow: 0 6px 0 var(--nb-black);
|
||||||
|
}
|
||||||
|
|
||||||
|
[data-theme="neo-brutalist"] .site-nav__link {
|
||||||
|
border-inline-start-width: 3px;
|
||||||
|
}
|
||||||
|
|
||||||
|
[data-theme="neo-brutalist"] .masthead {
|
||||||
|
padding: 3.1rem var(--space-md) var(--space-lg);
|
||||||
|
box-shadow: 4px 4px 0 var(--nb-black);
|
||||||
|
}
|
||||||
|
|
||||||
|
[data-theme="neo-brutalist"] .intro,
|
||||||
|
[data-theme="neo-brutalist"] .section {
|
||||||
|
padding: 0 var(--space-md) var(--space-lg);
|
||||||
|
box-shadow: 4px 4px 0 var(--nb-black);
|
||||||
|
}
|
||||||
|
|
||||||
|
[data-theme="neo-brutalist"] .intro__heading,
|
||||||
|
[data-theme="neo-brutalist"] .section-title {
|
||||||
|
margin-inline: calc(var(--space-md) * -1);
|
||||||
|
padding: 0.65rem var(--space-md);
|
||||||
|
font-size: 0.88rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
[data-theme="neo-brutalist"] .intro__heading::after,
|
||||||
|
[data-theme="neo-brutalist"] .section-title::after {
|
||||||
|
font-size: 0.72rem;
|
||||||
|
padding: 0.1rem 0.35rem;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/* ------------------------------------------------------------------------
|
||||||
|
RESPECT DE PREFERS-REDUCED-MOTION
|
||||||
|
------------------------------------------------------------------------ */
|
||||||
|
@media (prefers-reduced-motion: reduce) {
|
||||||
|
[data-js="true"][data-theme="neo-brutalist"] [data-reveal] {
|
||||||
|
opacity: 1;
|
||||||
|
transform: none;
|
||||||
|
transition: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
[data-theme="neo-brutalist"] .button:hover,
|
||||||
|
[data-theme="neo-brutalist"] .card:hover,
|
||||||
|
[data-theme="neo-brutalist"] .project:hover,
|
||||||
|
[data-theme="neo-brutalist"] .course:hover,
|
||||||
|
[data-theme="neo-brutalist"] .site-header__brand:hover {
|
||||||
|
transform: none;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,180 @@
|
|||||||
|
/* ==========================================================================
|
||||||
|
themes/obsidian-dark.css — Thème « Obsidienne » (Intentional Dark Mode)
|
||||||
|
--------------------------------------------------------------------------
|
||||||
|
Palette architecturale sans noir pur (#000000) :
|
||||||
|
- Fond principal : #0D1110
|
||||||
|
- Surfaces élevées : #151B19
|
||||||
|
- Bordures fines : #242E2B
|
||||||
|
- Texte principal : #F0F4F2 (contraste ~17,5:1 AAA)
|
||||||
|
- Texte secondaire : #A3B2AC (contraste ~7,7:1 AAA sur #151B19)
|
||||||
|
- Accent lumineux : #2CE59B (contraste ~10,6:1 AAA sur #151B19)
|
||||||
|
========================================================================== */
|
||||||
|
|
||||||
|
@layer themes {
|
||||||
|
|
||||||
|
[data-theme="obsidian-dark"] {
|
||||||
|
color-scheme: dark;
|
||||||
|
|
||||||
|
--color-bg: #0d1110;
|
||||||
|
--color-bg-translucent: rgb(13 17 16 / 86%);
|
||||||
|
--color-surface: #151b19;
|
||||||
|
--color-surface-alt: #1c2421;
|
||||||
|
|
||||||
|
--color-line: #242e2b;
|
||||||
|
--color-line-strong: #32413c;
|
||||||
|
|
||||||
|
--color-ink: #f0f4f2;
|
||||||
|
--color-ink-soft: #c5d1cc;
|
||||||
|
--color-ink-faint: #a3b2ac;
|
||||||
|
--color-ink-inverse: #0d1110;
|
||||||
|
|
||||||
|
--color-accent: #2ce59b;
|
||||||
|
--color-accent-dark: #2ce59b;
|
||||||
|
--color-accent-wash: rgb(44 229 155 / 12%);
|
||||||
|
--color-accent-border: rgb(44 229 155 / 32%);
|
||||||
|
--color-accent-glow: rgb(44 229 155 / 10%);
|
||||||
|
--color-focus: #2ce59b;
|
||||||
|
|
||||||
|
--shadow-sm: 0 1px 2px rgb(0 0 0 / 28%);
|
||||||
|
--shadow-md: 0 8px 28px rgb(0 0 0 / 42%);
|
||||||
|
--transition-fast: 140ms ease;
|
||||||
|
--transition-base: 220ms ease;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Adaptation automatique des barres intérieures du logo SVG */
|
||||||
|
[data-theme="obsidian-dark"] .site-header__logo .logo-bars {
|
||||||
|
color: #f0f4f2;
|
||||||
|
}
|
||||||
|
|
||||||
|
[data-theme="obsidian-dark"] .reading-progress__bar {
|
||||||
|
background: linear-gradient(90deg, #05bc8a, #2ce59b);
|
||||||
|
}
|
||||||
|
|
||||||
|
[data-theme="obsidian-dark"] a:hover {
|
||||||
|
color: #6ef0bc;
|
||||||
|
}
|
||||||
|
|
||||||
|
[data-theme="obsidian-dark"] .button--primary {
|
||||||
|
background-color: #2ce59b;
|
||||||
|
color: #0d1110;
|
||||||
|
font-weight: 600;
|
||||||
|
}
|
||||||
|
|
||||||
|
[data-theme="obsidian-dark"] .button--primary:hover {
|
||||||
|
background-color: #f0f4f2;
|
||||||
|
color: #0d1110;
|
||||||
|
}
|
||||||
|
|
||||||
|
[data-theme="obsidian-dark"] .button--secondary {
|
||||||
|
background-color: #151b19;
|
||||||
|
border-color: #32413c;
|
||||||
|
color: #f0f4f2;
|
||||||
|
}
|
||||||
|
|
||||||
|
[data-theme="obsidian-dark"] .button--secondary:hover {
|
||||||
|
border-color: #2ce59b;
|
||||||
|
color: #2ce59b;
|
||||||
|
}
|
||||||
|
|
||||||
|
[data-theme="obsidian-dark"] [data-copy][data-copied="true"] {
|
||||||
|
background-color: rgb(44 229 155 / 16%);
|
||||||
|
border-color: #2ce59b;
|
||||||
|
color: #2ce59b;
|
||||||
|
}
|
||||||
|
|
||||||
|
[data-theme="obsidian-dark"] .intro__text--highlight {
|
||||||
|
background-color: #151b19;
|
||||||
|
border: 1px solid #242e2b;
|
||||||
|
border-inline-start: 3px solid #2ce59b;
|
||||||
|
padding: var(--space-md) var(--space-lg);
|
||||||
|
border-radius: var(--radius-md);
|
||||||
|
color: #f0f4f2;
|
||||||
|
}
|
||||||
|
|
||||||
|
[data-theme="obsidian-dark"] .entry::before {
|
||||||
|
background-color: #0d1110;
|
||||||
|
border-color: #2ce59b;
|
||||||
|
}
|
||||||
|
|
||||||
|
[data-theme="obsidian-dark"] .course,
|
||||||
|
[data-theme="obsidian-dark"] .project,
|
||||||
|
[data-theme="obsidian-dark"] .card,
|
||||||
|
[data-theme="obsidian-dark"] .contact-block {
|
||||||
|
background-color: #151b19;
|
||||||
|
border-color: #242e2b;
|
||||||
|
}
|
||||||
|
|
||||||
|
[data-theme="obsidian-dark"] .course:hover,
|
||||||
|
[data-theme="obsidian-dark"] .project:hover {
|
||||||
|
border-color: #32413c;
|
||||||
|
}
|
||||||
|
|
||||||
|
[data-theme="obsidian-dark"] .card:hover {
|
||||||
|
border-color: #2ce59b;
|
||||||
|
}
|
||||||
|
|
||||||
|
[data-theme="obsidian-dark"] .badge {
|
||||||
|
background-color: rgb(44 229 155 / 12%);
|
||||||
|
color: #2ce59b;
|
||||||
|
border-color: rgb(44 229 155 / 32%);
|
||||||
|
}
|
||||||
|
|
||||||
|
[data-theme="obsidian-dark"] .badge--muted {
|
||||||
|
background-color: #1c2421;
|
||||||
|
color: #a3b2ac;
|
||||||
|
border-color: #32413c;
|
||||||
|
}
|
||||||
|
|
||||||
|
[data-theme="obsidian-dark"] .project__stack li {
|
||||||
|
background-color: #1c2421;
|
||||||
|
color: #c5d1cc;
|
||||||
|
border: 1px solid #242e2b;
|
||||||
|
}
|
||||||
|
|
||||||
|
[data-theme="obsidian-dark"] .to-top {
|
||||||
|
background-color: #151b19;
|
||||||
|
border-color: #32413c;
|
||||||
|
color: #f0f4f2;
|
||||||
|
}
|
||||||
|
|
||||||
|
[data-theme="obsidian-dark"] .to-top:hover {
|
||||||
|
border-color: #2ce59b;
|
||||||
|
color: #2ce59b;
|
||||||
|
}
|
||||||
|
|
||||||
|
[data-theme="obsidian-dark"] .skip-link {
|
||||||
|
background-color: #2ce59b;
|
||||||
|
color: #0d1110;
|
||||||
|
}
|
||||||
|
|
||||||
|
[data-theme="obsidian-dark"] .skip-link:focus {
|
||||||
|
color: #0d1110;
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (width <= 46rem) {
|
||||||
|
[data-theme="obsidian-dark"] .site-nav {
|
||||||
|
background-color: #151b19;
|
||||||
|
border-block-end-color: #242e2b;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Révélation sobre ≤ 260ms */
|
||||||
|
[data-js="true"][data-theme="obsidian-dark"] [data-reveal] {
|
||||||
|
opacity: 0;
|
||||||
|
transform: translateY(10px);
|
||||||
|
transition: opacity 240ms ease-out, transform 240ms ease-out;
|
||||||
|
}
|
||||||
|
|
||||||
|
[data-js="true"][data-theme="obsidian-dark"] [data-reveal][data-revealed="true"] {
|
||||||
|
opacity: 1;
|
||||||
|
transform: translateY(0);
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (prefers-reduced-motion: reduce) {
|
||||||
|
[data-js="true"][data-theme="obsidian-dark"] [data-reveal] {
|
||||||
|
opacity: 1;
|
||||||
|
transform: none;
|
||||||
|
transition: none;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -16,7 +16,7 @@
|
|||||||
sélecteurs et quel que soit l'ordre des balises <link> dans le <head>.
|
sélecteurs et quel que soit l'ordre des balises <link> dans le <head>.
|
||||||
Cela supprime la cause n°1 des conflits CSS : la course à la spécificité.
|
Cela supprime la cause n°1 des conflits CSS : la course à la spécificité.
|
||||||
-------------------------------------------------------------------------- */
|
-------------------------------------------------------------------------- */
|
||||||
@layer tokens, base, layout, components, utilities;
|
@layer tokens, base, layout, components, themes, utilities;
|
||||||
|
|
||||||
@layer tokens {
|
@layer tokens {
|
||||||
:root {
|
:root {
|
||||||
|
|||||||
Binary file not shown.
|
Before Width: | Height: | Size: 30 KiB After Width: | Height: | Size: 39 KiB |
@@ -1,6 +1,9 @@
|
|||||||
<!-- Variante monochrome : Safari applique sa propre couleur (mask-icon) -->
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100">
|
||||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 64">
|
<path d="M 80 34 A 34 34 0 1 0 80 66"
|
||||||
<path d="M11 44 V21 L20.5 33.5 L30 21 V44M50.39 23.69 A11.5 11.5 0 1 0 50.39 41.31M11 52 H53"
|
fill="none" stroke="#000000" stroke-width="12" stroke-linecap="round"/>
|
||||||
fill="none" stroke="#000" stroke-width="5.5"
|
<g fill="none" stroke="#000000" stroke-width="9" stroke-linecap="round">
|
||||||
stroke-linecap="butt" stroke-linejoin="miter"/>
|
<line x1="32.9" y1="51.7" x2="42.9" y2="34.3"/>
|
||||||
|
<line x1="41.5" y1="64.7" x2="58.5" y2="35.3"/>
|
||||||
|
<line x1="57.1" y1="65.7" x2="67.1" y2="48.3"/>
|
||||||
|
</g>
|
||||||
</svg>
|
</svg>
|
||||||
|
Before Width: | Height: | Size: 350 B After Width: | Height: | Size: 428 B |
+37
-24
@@ -7,30 +7,29 @@
|
|||||||
* PRINCIPE DIRECTEUR — amélioration progressive
|
* PRINCIPE DIRECTEUR — amélioration progressive
|
||||||
* ---------------------------------------------
|
* ---------------------------------------------
|
||||||
* Le site est intégralement lisible, navigable et imprimable sans
|
* Le site est intégralement lisible, navigable et imprimable sans
|
||||||
* JavaScript. Tout ce que ce fichier ajoute relève du confort :
|
* JavaScript. Tout ce que ce fichier ajoute relève du confort et de
|
||||||
|
* l'habillage dynamique :
|
||||||
*
|
*
|
||||||
* - navigation.js : replie le menu sur petit écran
|
* - theme-manager.js : résolution et application du thème actif
|
||||||
* - scroll-spy.js : surligne la section en cours de lecture
|
* - theme-switcher.js : contrôleur flottant + modale d'exploration
|
||||||
* - back-to-top.js : raccourci de remontée
|
* - motion.js : barre de progression + apparitions au scroll
|
||||||
* - copy-email.js : copie de l'adresse en un clic
|
* - navigation.js : replie le menu sur petit écran
|
||||||
|
* - scroll-spy.js : surligne la section en cours de lecture
|
||||||
|
* - back-to-top.js : raccourci de remontée
|
||||||
|
* - copy-email.js : copie de l'adresse en un clic
|
||||||
*
|
*
|
||||||
* Aucun contenu n'est injecté par script : le HTML servi est complet.
|
* Aucun contenu éditorial n'est injecté par script : le HTML servi est
|
||||||
* C'est ce qui garantit l'indexation par les moteurs de recherche et la
|
* complet, garantissant l'indexation et la lecture par les moteurs et IA.
|
||||||
* lecture par les agents conversationnels, dont beaucoup n'exécutent pas
|
|
||||||
* JavaScript.
|
|
||||||
*
|
|
||||||
* CHARGEMENT
|
|
||||||
* ----------
|
|
||||||
* Ce fichier est appelé avec type="module", donc :
|
|
||||||
* - différé par défaut (équivalent à defer), il ne bloque pas le rendu
|
|
||||||
* - exécuté en mode strict
|
|
||||||
* - portée isolée, aucune variable globale
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
import { initThemeManager } from "./modules/theme-manager.js?v=20261127b";
|
||||||
|
import { initThemeSwitcher } from "./modules/theme-switcher.js?v=20261127b";
|
||||||
|
import { initC64Terminal } from "./modules/c64-terminal.js?v=20261127b";
|
||||||
|
import { initMotion } from "./modules/motion.js?v=20261127b";
|
||||||
import { initNavigation } from "./modules/navigation.js";
|
import { initNavigation } from "./modules/navigation.js";
|
||||||
import { initScrollSpy } from "./modules/scroll-spy.js";
|
import { initScrollSpy } from "./modules/scroll-spy.js";
|
||||||
import { initBackToTop } from "./modules/back-to-top.js";
|
import { initBackToTop } from "./modules/back-to-top.js";
|
||||||
import { initCopyEmail } from "./modules/copy-email.js";
|
import { initCopyEmail } from "./modules/copy-email.js?v=20261126";
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Démarre les modules de la page.
|
* Démarre les modules de la page.
|
||||||
@@ -38,9 +37,20 @@ import { initCopyEmail } from "./modules/copy-email.js";
|
|||||||
*/
|
*/
|
||||||
function init() {
|
function init() {
|
||||||
/* --- Signale que JS est actif : permet au CSS de n'appliquer certains
|
/* --- Signale que JS est actif : permet au CSS de n'appliquer certains
|
||||||
comportements (menu replié) que lorsqu'ils sont pilotables ------- */
|
comportements (menu replié, animations) que lorsqu'ils sont pilotables */
|
||||||
document.documentElement.dataset.js = "true";
|
document.documentElement.dataset.js = "true";
|
||||||
|
|
||||||
|
const statusRegion = document.querySelector("[data-status]");
|
||||||
|
|
||||||
|
initThemeManager();
|
||||||
|
initThemeSwitcher({ status: statusRegion });
|
||||||
|
initC64Terminal({ status: statusRegion });
|
||||||
|
|
||||||
|
const motion = initMotion({
|
||||||
|
progressBar: document.querySelector("[data-reading-progress]"),
|
||||||
|
revealNodes: document.querySelectorAll("[data-reveal]"),
|
||||||
|
});
|
||||||
|
|
||||||
initNavigation({
|
initNavigation({
|
||||||
toggle: document.querySelector("[data-nav-toggle]"),
|
toggle: document.querySelector("[data-nav-toggle]"),
|
||||||
nav: document.querySelector("[data-nav]"),
|
nav: document.querySelector("[data-nav]"),
|
||||||
@@ -58,15 +68,18 @@ function init() {
|
|||||||
|
|
||||||
initCopyEmail({
|
initCopyEmail({
|
||||||
button: document.querySelector("[data-copy]"),
|
button: document.querySelector("[data-copy]"),
|
||||||
status: document.querySelector("[data-status]"),
|
status: statusRegion,
|
||||||
|
});
|
||||||
|
|
||||||
|
/* --- Bouton Imprimer / PDF ------------------------------------------ */
|
||||||
|
document.querySelectorAll("[data-print]").forEach((btn) => {
|
||||||
|
btn.addEventListener("click", () => {
|
||||||
|
motion.revealAll();
|
||||||
|
window.print();
|
||||||
|
});
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/* -----------------------------------------------------------------------
|
|
||||||
Les modules sont différés, le DOM est donc normalement prêt. On teste
|
|
||||||
malgré tout readyState : cela rend le script robuste s'il est un jour
|
|
||||||
réutilisé dans un contexte de chargement différent.
|
|
||||||
----------------------------------------------------------------------- */
|
|
||||||
if (document.readyState === "loading") {
|
if (document.readyState === "loading") {
|
||||||
document.addEventListener("DOMContentLoaded", init, { once: true });
|
document.addEventListener("DOMContentLoaded", init, { once: true });
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
@@ -0,0 +1,276 @@
|
|||||||
|
/**
|
||||||
|
* c64-terminal.js — Console interactive Commodore 64 (prompt mC:>)
|
||||||
|
* =============================================================================
|
||||||
|
* Actif uniquement lorsque data-theme="c64-basic".
|
||||||
|
* Injecte la console C64 juste après .masthead et permet de révéler les 7
|
||||||
|
* sections du CV existant (sans dupliquer aucun contenu HTML) soit :
|
||||||
|
* - en tapant une commande au prompt « mC:> » (ex. PROFIL, ENSEIGNEMENT,
|
||||||
|
* PROJETS, ALL, RUN, CLR, HELP — ou LOAD "PROFIL",8,1 en clin d'œil)
|
||||||
|
* - en cliquant sur une commande dans l'aide
|
||||||
|
* - en cliquant sur un lien de la barre de navigation
|
||||||
|
*/
|
||||||
|
|
||||||
|
import { getActiveThemeId, onThemeChange } from "./theme-manager.js?v=20261127b";
|
||||||
|
|
||||||
|
const C64_THEME_ID = "c64-basic";
|
||||||
|
|
||||||
|
const COMMAND_MAP = [
|
||||||
|
{ cmd: "PROFIL", sectionId: "profil", label: "PROFIL" },
|
||||||
|
{ cmd: "ENSEIGNEMENT", sectionId: "enseignement", label: "ENSEIGNEMENT" },
|
||||||
|
{ cmd: "COORDINATION", sectionId: "coordination", label: "COORDINATION" },
|
||||||
|
{ cmd: "PROJETS", sectionId: "projets", label: "PROJETS" },
|
||||||
|
{ cmd: "COMPETENCES", sectionId: "competences", label: "COMPETENCES" },
|
||||||
|
{ cmd: "FORMATION", sectionId: "formation", label: "FORMATION" },
|
||||||
|
{ cmd: "CONTACT", sectionId: "contact", label: "CONTACT" },
|
||||||
|
];
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Normalise une commande saisie (majuscules, sans accents, accepte LOAD "X",8,1).
|
||||||
|
* @param {string} raw
|
||||||
|
* @returns {string}
|
||||||
|
*/
|
||||||
|
function normalizeCommand(raw) {
|
||||||
|
let clean = raw
|
||||||
|
.trim()
|
||||||
|
.normalize("NFD")
|
||||||
|
.replace(/[\u0300-\u036f]/g, "")
|
||||||
|
.toUpperCase();
|
||||||
|
|
||||||
|
// Accepte la syntaxe BASIC complète : LOAD "PROFIL",8,1 -> PROFIL
|
||||||
|
const loadMatch = clean.match(/^LOAD\s+"([^"]+)"(?:\s*,\s*8(?:\s*,\s*1)?)?$/);
|
||||||
|
if (loadMatch) clean = loadMatch[1].trim();
|
||||||
|
|
||||||
|
return clean;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Construit le bloc DOM de la console C64.
|
||||||
|
* @returns {HTMLElement}
|
||||||
|
*/
|
||||||
|
function buildTerminalElement() {
|
||||||
|
const wrapper = document.createElement("section");
|
||||||
|
wrapper.className = "c64-terminal screen-only";
|
||||||
|
wrapper.setAttribute("aria-label", "Console interactive Commodore 64");
|
||||||
|
|
||||||
|
const cmdButtons = COMMAND_MAP.map(
|
||||||
|
({ cmd }) =>
|
||||||
|
`<li><button type="button" class="c64-cmd-btn" data-c64-cmd="${cmd}">${cmd}</button></li>`
|
||||||
|
).join("");
|
||||||
|
|
||||||
|
wrapper.innerHTML = `
|
||||||
|
<div class="c64-boot" aria-hidden="true">
|
||||||
|
<div>**** COMMODORE 64 BASIC V2 ****</div>
|
||||||
|
<div class="c64-boot__ram">64K RAM SYSTEM 38911 BASIC BYTES FREE</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="c64-ready">READY. <span class="c64-cursor" aria-hidden="true"></span></div>
|
||||||
|
|
||||||
|
<div class="c64-help">
|
||||||
|
<div class="c64-help__title">COMMANDES DISPONIBLES (TAPEZ OU CLIQUEZ) :</div>
|
||||||
|
<ul class="c64-commands" role="list">
|
||||||
|
${cmdButtons}
|
||||||
|
<li><button type="button" class="c64-cmd-btn c64-cmd-btn--util" data-c64-cmd="ALL">ALL / RUN</button></li>
|
||||||
|
<li><button type="button" class="c64-cmd-btn c64-cmd-btn--util" data-c64-cmd="CLR">CLR</button></li>
|
||||||
|
<li><button type="button" class="c64-cmd-btn c64-cmd-btn--util" data-c64-cmd="HELP">HELP</button></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="c64-log" data-c64-log aria-live="polite"></div>
|
||||||
|
|
||||||
|
<form class="c64-prompt-form" data-c64-form autocomplete="off">
|
||||||
|
<label class="c64-prompt-label" for="c64-input">mC:></label>
|
||||||
|
<input
|
||||||
|
id="c64-input"
|
||||||
|
class="c64-prompt-input"
|
||||||
|
type="text"
|
||||||
|
name="command"
|
||||||
|
placeholder="TAPEZ PROFIL, PROJETS, ALL..."
|
||||||
|
spellcheck="false"
|
||||||
|
autocapitalize="characters"
|
||||||
|
data-c64-input
|
||||||
|
>
|
||||||
|
<button type="submit" class="c64-prompt-submit">RUN</button>
|
||||||
|
</form>
|
||||||
|
`;
|
||||||
|
|
||||||
|
return wrapper;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Initialise la console Commodore 64.
|
||||||
|
*
|
||||||
|
* @param {object} [options]
|
||||||
|
* @param {HTMLElement | null} [options.status] - Région aria-live globale.
|
||||||
|
* @returns {void}
|
||||||
|
*/
|
||||||
|
export function initC64Terminal({ status } = {}) {
|
||||||
|
const masthead = document.querySelector(".masthead");
|
||||||
|
if (!masthead) return;
|
||||||
|
|
||||||
|
const terminal = buildTerminalElement();
|
||||||
|
masthead.insertAdjacentElement("afterend", terminal);
|
||||||
|
|
||||||
|
const form = terminal.querySelector("[data-c64-form]");
|
||||||
|
const input = terminal.querySelector("[data-c64-input]");
|
||||||
|
const logEl = terminal.querySelector("[data-c64-log]");
|
||||||
|
const cmdButtons = terminal.querySelectorAll("[data-c64-cmd]");
|
||||||
|
const sections = [...document.querySelectorAll("[data-section]")];
|
||||||
|
const navLinks = document.querySelectorAll("[data-nav-link]");
|
||||||
|
|
||||||
|
/** Historique des commandes saisies (flèches Haut/Bas). */
|
||||||
|
const history = [];
|
||||||
|
let historyIndex = -1;
|
||||||
|
|
||||||
|
const syncCommandButtons = () => {
|
||||||
|
cmdButtons.forEach((btn) => {
|
||||||
|
const entry = COMMAND_MAP.find((item) => item.cmd === btn.dataset.c64Cmd);
|
||||||
|
if (!entry) return;
|
||||||
|
const section = document.getElementById(entry.sectionId);
|
||||||
|
btn.dataset.loaded = String(section?.dataset.c64Visible === "true");
|
||||||
|
});
|
||||||
|
};
|
||||||
|
|
||||||
|
const setLog = (lines) => {
|
||||||
|
if (logEl) logEl.textContent = lines.join("\n");
|
||||||
|
};
|
||||||
|
|
||||||
|
const announce = (message) => {
|
||||||
|
if (!status) return;
|
||||||
|
status.textContent = "";
|
||||||
|
requestAnimationFrame(() => {
|
||||||
|
status.textContent = message;
|
||||||
|
});
|
||||||
|
};
|
||||||
|
|
||||||
|
const hideAllSections = () => {
|
||||||
|
sections.forEach((sec) => {
|
||||||
|
sec.dataset.c64Visible = "false";
|
||||||
|
});
|
||||||
|
syncCommandButtons();
|
||||||
|
};
|
||||||
|
|
||||||
|
const showSection = (sectionId, { scroll = true } = {}) => {
|
||||||
|
const target = document.getElementById(sectionId);
|
||||||
|
if (!target) return;
|
||||||
|
target.dataset.c64Visible = "true";
|
||||||
|
target.dataset.revealed = "true";
|
||||||
|
syncCommandButtons();
|
||||||
|
|
||||||
|
if (scroll) {
|
||||||
|
const reduced = window.matchMedia("(prefers-reduced-motion: reduce)").matches;
|
||||||
|
target.scrollIntoView({ behavior: reduced ? "auto" : "smooth", block: "start" });
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Exécute une commande saisie ou cliquée.
|
||||||
|
* @param {string} rawCommand
|
||||||
|
* @param {{ scroll?: boolean }} [options]
|
||||||
|
*/
|
||||||
|
const runCommand = (rawCommand, { scroll = true } = {}) => {
|
||||||
|
const cmd = normalizeCommand(rawCommand);
|
||||||
|
if (!cmd) return;
|
||||||
|
|
||||||
|
history.push(cmd);
|
||||||
|
historyIndex = history.length;
|
||||||
|
|
||||||
|
if (cmd === "CLR" || cmd === "CLS" || cmd === "CLEAR") {
|
||||||
|
hideAllSections();
|
||||||
|
setLog([`mC:> ${cmd}`, "SCREEN CLEARED.", "READY."]);
|
||||||
|
announce("Sections masquées, retour à l'invite Commodore 64.");
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (cmd === "ALL" || cmd === "RUN" || cmd === "LIST") {
|
||||||
|
sections.forEach((sec) => {
|
||||||
|
sec.dataset.c64Visible = "true";
|
||||||
|
sec.dataset.revealed = "true";
|
||||||
|
});
|
||||||
|
syncCommandButtons();
|
||||||
|
setLog([`mC:> ${cmd}`, "LOADING ALL MODULES...", "READY."]);
|
||||||
|
announce("Toutes les sections du CV sont affichées.");
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (cmd === "HELP" || cmd === "?") {
|
||||||
|
setLog([
|
||||||
|
`mC:> ${cmd}`,
|
||||||
|
"COMMANDES : PROFIL, ENSEIGNEMENT, COORDINATION, PROJETS, COMPETENCES, FORMATION, CONTACT",
|
||||||
|
"UTILITAIRES : ALL (OU RUN) = TOUT AFFICHER | CLR = EFFACER",
|
||||||
|
"READY.",
|
||||||
|
]);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
const match = COMMAND_MAP.find((item) => item.cmd === cmd);
|
||||||
|
if (match) {
|
||||||
|
showSection(match.sectionId, { scroll });
|
||||||
|
setLog([
|
||||||
|
`mC:> ${cmd}`,
|
||||||
|
`SEARCHING FOR ${match.cmd}`,
|
||||||
|
"LOADING",
|
||||||
|
"READY.",
|
||||||
|
]);
|
||||||
|
announce(`Section ${match.label} affichée.`);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
setLog([
|
||||||
|
`mC:> ${cmd}`,
|
||||||
|
"?SYNTAX ERROR",
|
||||||
|
"TAPEZ HELP POUR VOIR LES COMMANDES.",
|
||||||
|
"READY.",
|
||||||
|
]);
|
||||||
|
};
|
||||||
|
|
||||||
|
// Soumission du prompt mC:>
|
||||||
|
form?.addEventListener("submit", (event) => {
|
||||||
|
event.preventDefault();
|
||||||
|
if (!input) return;
|
||||||
|
runCommand(input.value);
|
||||||
|
input.value = "";
|
||||||
|
});
|
||||||
|
|
||||||
|
// Navigation dans l'historique clavier (Flèche Haut / Bas)
|
||||||
|
input?.addEventListener("keydown", (event) => {
|
||||||
|
if (event.key === "ArrowUp" && history.length > 0) {
|
||||||
|
event.preventDefault();
|
||||||
|
historyIndex = Math.max(0, historyIndex - 1);
|
||||||
|
input.value = history[historyIndex] ?? "";
|
||||||
|
} else if (event.key === "ArrowDown" && history.length > 0) {
|
||||||
|
event.preventDefault();
|
||||||
|
historyIndex = Math.min(history.length, historyIndex + 1);
|
||||||
|
input.value = history[historyIndex] ?? "";
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
// Clic sur les boutons de commande affichés dans la présentation
|
||||||
|
terminal.addEventListener("click", (event) => {
|
||||||
|
const btn = event.target.closest("[data-c64-cmd]");
|
||||||
|
if (!btn) return;
|
||||||
|
runCommand(btn.dataset.c64Cmd);
|
||||||
|
input?.focus({ preventScroll: true });
|
||||||
|
});
|
||||||
|
|
||||||
|
// Clic sur un lien de la barre de navigation en mode C64 : charge la section
|
||||||
|
navLinks.forEach((link) => {
|
||||||
|
link.addEventListener("click", () => {
|
||||||
|
if (getActiveThemeId() !== C64_THEME_ID) return;
|
||||||
|
const targetId = link.getAttribute("href")?.replace("#", "");
|
||||||
|
const match = COMMAND_MAP.find((item) => item.sectionId === targetId);
|
||||||
|
if (match) runCommand(match.cmd, { scroll: false });
|
||||||
|
});
|
||||||
|
});
|
||||||
|
|
||||||
|
// À l'activation du thème C64, on réinitialise sur l'écran propre (en-tête + commandes + mC:>)
|
||||||
|
const syncThemeState = (themeId) => {
|
||||||
|
if (themeId === C64_THEME_ID) {
|
||||||
|
hideAllSections();
|
||||||
|
setLog([]);
|
||||||
|
requestAnimationFrame(() => input?.focus({ preventScroll: true }));
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
|
syncThemeState(getActiveThemeId());
|
||||||
|
onThemeChange((theme) => syncThemeState(theme.id));
|
||||||
|
}
|
||||||
@@ -41,24 +41,26 @@ export function initCopyEmail({ button, status }) {
|
|||||||
* @param {string} message
|
* @param {string} message
|
||||||
* @returns {void}
|
* @returns {void}
|
||||||
*/
|
*/
|
||||||
const announce = (message) => {
|
const announce = (message, copied = false) => {
|
||||||
if (label) label.textContent = message;
|
if (label) label.textContent = message;
|
||||||
if (status) status.textContent = message;
|
if (status) status.textContent = message;
|
||||||
|
button.dataset.copied = String(copied);
|
||||||
|
|
||||||
clearTimeout(resetTimer);
|
clearTimeout(resetTimer);
|
||||||
resetTimer = setTimeout(() => {
|
resetTimer = setTimeout(() => {
|
||||||
if (label) label.textContent = originalLabel;
|
if (label) label.textContent = originalLabel;
|
||||||
if (status) status.textContent = "";
|
if (status) status.textContent = "";
|
||||||
|
button.dataset.copied = "false";
|
||||||
}, FEEDBACK_DURATION);
|
}, FEEDBACK_DURATION);
|
||||||
};
|
};
|
||||||
|
|
||||||
button.addEventListener("click", async () => {
|
button.addEventListener("click", async () => {
|
||||||
try {
|
try {
|
||||||
await navigator.clipboard.writeText(value);
|
await navigator.clipboard.writeText(value);
|
||||||
announce("Adresse copiée");
|
announce("Adresse copiée", true);
|
||||||
} catch {
|
} catch {
|
||||||
// Contexte non sécurisé, permission refusée ou API absente.
|
// Contexte non sécurisé, permission refusée ou API absente.
|
||||||
announce("Copie impossible");
|
announce("Copie impossible", false);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
@@ -0,0 +1,84 @@
|
|||||||
|
/**
|
||||||
|
* motion.js — Micro-animations sobres et barre de progression de lecture
|
||||||
|
* =============================================================================
|
||||||
|
* - Indicateur de progression de lecture fixé en haut de page
|
||||||
|
* - Révélation douce des sections au défilement via IntersectionObserver
|
||||||
|
* - Respect strict de prefers-reduced-motion: reduce
|
||||||
|
* - Révélation immédiate avant impression (beforeprint) pour garantir qu'aucun
|
||||||
|
* bloc ne reste invisible sur le PDF
|
||||||
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Force la visibilité de tous les éléments animés.
|
||||||
|
* @param {NodeListOf<HTMLElement>} elements
|
||||||
|
* @returns {void}
|
||||||
|
*/
|
||||||
|
export function revealAll(elements) {
|
||||||
|
elements.forEach((el) => {
|
||||||
|
el.dataset.revealed = "true";
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Initialise la barre de progression de lecture et la révélation au scroll.
|
||||||
|
*
|
||||||
|
* @param {object} [options]
|
||||||
|
* @param {HTMLElement | null} [options.progressBar] - Conteneur de la barre.
|
||||||
|
* @param {NodeListOf<HTMLElement>} [options.revealNodes] - Éléments [data-reveal].
|
||||||
|
* @returns {{ revealAll: () => void }}
|
||||||
|
*/
|
||||||
|
export function initMotion({ progressBar, revealNodes } = {}) {
|
||||||
|
const nodes = revealNodes ?? document.querySelectorAll("[data-reveal]");
|
||||||
|
const reducedMotion = window.matchMedia("(prefers-reduced-motion: reduce)").matches;
|
||||||
|
|
||||||
|
/* --- 1. Révélation au défilement ------------------------------------ */
|
||||||
|
if (reducedMotion || !("IntersectionObserver" in window)) {
|
||||||
|
revealAll(nodes);
|
||||||
|
} else if (nodes.length > 0) {
|
||||||
|
const observer = new IntersectionObserver(
|
||||||
|
(entries) => {
|
||||||
|
entries.forEach((entry) => {
|
||||||
|
if (!entry.isIntersecting) return;
|
||||||
|
entry.target.dataset.revealed = "true";
|
||||||
|
observer.unobserve(entry.target);
|
||||||
|
});
|
||||||
|
},
|
||||||
|
{
|
||||||
|
rootMargin: "0px 0px -8% 0px",
|
||||||
|
threshold: 0.05,
|
||||||
|
}
|
||||||
|
);
|
||||||
|
|
||||||
|
nodes.forEach((node) => observer.observe(node));
|
||||||
|
}
|
||||||
|
|
||||||
|
// Avant impression (y compris via Ctrl+P / Cmd+P), tout est révélé.
|
||||||
|
window.addEventListener("beforeprint", () => revealAll(nodes));
|
||||||
|
|
||||||
|
/* --- 2. Barre de progression de lecture ----------------------------- */
|
||||||
|
if (progressBar && !reducedMotion) {
|
||||||
|
let ticking = false;
|
||||||
|
|
||||||
|
const updateProgress = () => {
|
||||||
|
ticking = false;
|
||||||
|
const doc = document.documentElement;
|
||||||
|
const scrollable = doc.scrollHeight - window.innerHeight;
|
||||||
|
const ratio = scrollable > 0 ? Math.min(1, Math.max(0, window.scrollY / scrollable)) : 0;
|
||||||
|
progressBar.style.setProperty("--scroll-progress", ratio.toFixed(4));
|
||||||
|
};
|
||||||
|
|
||||||
|
const onScroll = () => {
|
||||||
|
if (ticking) return;
|
||||||
|
ticking = true;
|
||||||
|
window.requestAnimationFrame(updateProgress);
|
||||||
|
};
|
||||||
|
|
||||||
|
window.addEventListener("scroll", onScroll, { passive: true });
|
||||||
|
window.addEventListener("resize", onScroll, { passive: true });
|
||||||
|
updateProgress();
|
||||||
|
}
|
||||||
|
|
||||||
|
return {
|
||||||
|
revealAll: () => revealAll(nodes),
|
||||||
|
};
|
||||||
|
}
|
||||||
@@ -0,0 +1,233 @@
|
|||||||
|
/**
|
||||||
|
* theme-manager.js — Gestionnaire du thème actif
|
||||||
|
* =============================================================================
|
||||||
|
* Applique le thème via document.documentElement.dataset.theme, charge les
|
||||||
|
* polices additionnelles propres au thème, persiste le choix dans localStorage,
|
||||||
|
* synchronise l'URL (?theme=<id>) et anime la transition d'état via
|
||||||
|
* document.startViewTransition() avec repli propre.
|
||||||
|
*
|
||||||
|
* Ordre de résolution au premier chargement :
|
||||||
|
* 1. Paramètre d'URL ?theme=<id> valide
|
||||||
|
* 2. Valeur sauvegardée dans localStorage
|
||||||
|
* 3. Tirage aléatoire parmi les thèmes enregistrés (+ sauvegarde)
|
||||||
|
*/
|
||||||
|
|
||||||
|
import {
|
||||||
|
THEMES,
|
||||||
|
DEFAULT_THEME_ID,
|
||||||
|
THEME_STORAGE_KEY,
|
||||||
|
THEME_QUERY_PARAM,
|
||||||
|
getThemeById,
|
||||||
|
isValidThemeId,
|
||||||
|
getRandomThemeId,
|
||||||
|
} from "../themes.js?v=20261127b";
|
||||||
|
|
||||||
|
/** URL de polices déjà injectées dans le <head>. */
|
||||||
|
const loadedFontUrls = new Set();
|
||||||
|
|
||||||
|
/** Écouteurs notifiés à chaque changement de thème. */
|
||||||
|
const listeners = new Set();
|
||||||
|
|
||||||
|
let logoPulseTimer;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Lit localStorage de manière défensive (mode privé / stockage bloqué).
|
||||||
|
* @returns {string | null}
|
||||||
|
*/
|
||||||
|
function readStoredTheme() {
|
||||||
|
try {
|
||||||
|
return window.localStorage.getItem(THEME_STORAGE_KEY);
|
||||||
|
} catch {
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Écrit dans localStorage de manière défensive.
|
||||||
|
* @param {string} themeId
|
||||||
|
* @returns {void}
|
||||||
|
*/
|
||||||
|
function storeTheme(themeId) {
|
||||||
|
try {
|
||||||
|
window.localStorage.setItem(THEME_STORAGE_KEY, themeId);
|
||||||
|
} catch {
|
||||||
|
// Stockage indisponible : on continue sans bloquer l'interface.
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Charge à la demande les feuilles Google Fonts propres à un thème.
|
||||||
|
* @param {string[]} fontUrls
|
||||||
|
* @returns {void}
|
||||||
|
*/
|
||||||
|
function ensureThemeFonts(fontUrls = []) {
|
||||||
|
for (const href of fontUrls) {
|
||||||
|
if (!href || loadedFontUrls.has(href)) continue;
|
||||||
|
|
||||||
|
const existing = document.querySelector(`link[rel="stylesheet"][href="${href}"]`);
|
||||||
|
if (existing) {
|
||||||
|
loadedFontUrls.add(href);
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
|
const link = document.createElement("link");
|
||||||
|
link.rel = "stylesheet";
|
||||||
|
link.href = href;
|
||||||
|
document.head.appendChild(link);
|
||||||
|
loadedFontUrls.add(href);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Met à jour <meta name="theme-color"> et <meta name="color-scheme">.
|
||||||
|
* @param {import("../themes.js").ThemeDefinition} theme
|
||||||
|
* @returns {void}
|
||||||
|
*/
|
||||||
|
function updateDocumentMeta(theme) {
|
||||||
|
const themeColorMeta = document.querySelector('meta[name="theme-color"]');
|
||||||
|
if (themeColorMeta && theme.metaThemeColor) {
|
||||||
|
themeColorMeta.setAttribute("content", theme.metaThemeColor);
|
||||||
|
}
|
||||||
|
|
||||||
|
const colorSchemeMeta = document.querySelector('meta[name="color-scheme"]');
|
||||||
|
if (colorSchemeMeta && theme.colorScheme) {
|
||||||
|
colorSchemeMeta.setAttribute("content", theme.colorScheme);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Met à jour le paramètre ?theme=<id> dans l'URL sans recharger ni empiler
|
||||||
|
* d'entrée d'historique.
|
||||||
|
* @param {string} themeId
|
||||||
|
* @returns {void}
|
||||||
|
*/
|
||||||
|
function syncUrlParam(themeId) {
|
||||||
|
try {
|
||||||
|
const url = new URL(window.location.href);
|
||||||
|
url.searchParams.set(THEME_QUERY_PARAM, themeId);
|
||||||
|
window.history.replaceState(null, "", url.toString());
|
||||||
|
} catch {
|
||||||
|
// Contexte file:// ou historique restreint.
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Déclenche une micro-réaction d'état (< 260ms) sur le logo SVG lors d'un
|
||||||
|
* changement de thème, si les animations ne sont pas réduites.
|
||||||
|
* @returns {void}
|
||||||
|
*/
|
||||||
|
function triggerLogoReaction() {
|
||||||
|
if (window.matchMedia("(prefers-reduced-motion: reduce)").matches) return;
|
||||||
|
|
||||||
|
const logo = document.querySelector(".site-header__logo");
|
||||||
|
if (!logo) return;
|
||||||
|
|
||||||
|
logo.dataset.themePulse = "false";
|
||||||
|
// Force un reflow minimal pour relancer la micro-animation si clics rapides
|
||||||
|
void logo.getBoundingClientRect();
|
||||||
|
logo.dataset.themePulse = "true";
|
||||||
|
|
||||||
|
clearTimeout(logoPulseTimer);
|
||||||
|
logoPulseTimer = setTimeout(() => {
|
||||||
|
logo.dataset.themePulse = "false";
|
||||||
|
}, 260);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Détermine le thème initial selon la priorité définie.
|
||||||
|
* @returns {string}
|
||||||
|
*/
|
||||||
|
function resolveInitialThemeId() {
|
||||||
|
try {
|
||||||
|
const urlTheme = new URLSearchParams(window.location.search).get(THEME_QUERY_PARAM);
|
||||||
|
if (isValidThemeId(urlTheme)) return urlTheme;
|
||||||
|
} catch {
|
||||||
|
// Ignore
|
||||||
|
}
|
||||||
|
|
||||||
|
const preset = document.documentElement.dataset.theme;
|
||||||
|
if (isValidThemeId(preset)) return preset;
|
||||||
|
|
||||||
|
const stored = readStoredTheme();
|
||||||
|
if (isValidThemeId(stored)) return stored;
|
||||||
|
|
||||||
|
return getRandomThemeId();
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Retourne l'identifiant du thème actif.
|
||||||
|
* @returns {string}
|
||||||
|
*/
|
||||||
|
export function getActiveThemeId() {
|
||||||
|
const current = document.documentElement.dataset.theme;
|
||||||
|
return isValidThemeId(current) ? current : DEFAULT_THEME_ID;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Applique un thème et notifie les abonnés.
|
||||||
|
*
|
||||||
|
* @param {string} themeId
|
||||||
|
* @param {object} [options]
|
||||||
|
* @param {boolean} [options.persist=true] - Enregistre dans localStorage.
|
||||||
|
* @param {boolean} [options.updateUrl=false] - Met à jour ?theme=<id> via replaceState.
|
||||||
|
* @param {boolean} [options.animate=false] - Utilise View Transitions + micro-réaction logo.
|
||||||
|
* @returns {import("../themes.js").ThemeDefinition}
|
||||||
|
*/
|
||||||
|
export function applyTheme(
|
||||||
|
themeId,
|
||||||
|
{ persist = true, updateUrl = false, animate = false } = {}
|
||||||
|
) {
|
||||||
|
const theme = getThemeById(themeId) ?? getThemeById(DEFAULT_THEME_ID) ?? THEMES[0];
|
||||||
|
const prefersReducedMotion = window.matchMedia("(prefers-reduced-motion: reduce)").matches;
|
||||||
|
|
||||||
|
const commit = () => {
|
||||||
|
document.documentElement.dataset.theme = theme.id;
|
||||||
|
ensureThemeFonts(theme.fonts);
|
||||||
|
updateDocumentMeta(theme);
|
||||||
|
|
||||||
|
if (persist) storeTheme(theme.id);
|
||||||
|
if (updateUrl) syncUrlParam(theme.id);
|
||||||
|
|
||||||
|
listeners.forEach((callback) => callback(theme));
|
||||||
|
};
|
||||||
|
|
||||||
|
if (animate && !prefersReducedMotion && typeof document.startViewTransition === "function") {
|
||||||
|
document.startViewTransition(() => {
|
||||||
|
commit();
|
||||||
|
});
|
||||||
|
triggerLogoReaction();
|
||||||
|
} else {
|
||||||
|
commit();
|
||||||
|
if (animate) triggerLogoReaction();
|
||||||
|
}
|
||||||
|
|
||||||
|
return theme;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Tire au sort un thème différent de l'actuel, l'applique et met à jour l'URL.
|
||||||
|
* @returns {import("../themes.js").ThemeDefinition}
|
||||||
|
*/
|
||||||
|
export function pickSurpriseTheme() {
|
||||||
|
const nextId = getRandomThemeId(getActiveThemeId());
|
||||||
|
return applyTheme(nextId, { persist: true, updateUrl: true, animate: true });
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* S'abonne aux changements de thème.
|
||||||
|
* @param {(theme: import("../themes.js").ThemeDefinition) => void} callback
|
||||||
|
* @returns {() => void} Fonction de désabonnement.
|
||||||
|
*/
|
||||||
|
export function onThemeChange(callback) {
|
||||||
|
listeners.add(callback);
|
||||||
|
return () => listeners.delete(callback);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Initialise le gestionnaire de thèmes au chargement de la page.
|
||||||
|
* @returns {import("../themes.js").ThemeDefinition}
|
||||||
|
*/
|
||||||
|
export function initThemeManager() {
|
||||||
|
const initialId = resolveInitialThemeId();
|
||||||
|
return applyTheme(initialId, { persist: true, updateUrl: false, animate: false });
|
||||||
|
}
|
||||||
@@ -0,0 +1,213 @@
|
|||||||
|
/**
|
||||||
|
* theme-switcher.js — Interface de contrôle et d'exploration des thèmes
|
||||||
|
* =============================================================================
|
||||||
|
* Génère et pilote :
|
||||||
|
* 1. Un dock flottant discret mais immédiatement repérable affichant le nom
|
||||||
|
* du thème actif + deux actions directes (« Surprise » et « Explorer »).
|
||||||
|
* 2. Une modale <dialog> accessible présentant tous les thèmes enregistrés
|
||||||
|
* dans themes.js (palette, description, tags, bascule instantanée).
|
||||||
|
*
|
||||||
|
* Injection en amélioration progressive : sans JavaScript, aucun contrôle
|
||||||
|
* inerte n'apparaît dans la page.
|
||||||
|
*/
|
||||||
|
|
||||||
|
import { THEMES, getThemeById } from "../themes.js?v=20261127b";
|
||||||
|
import {
|
||||||
|
applyTheme,
|
||||||
|
getActiveThemeId,
|
||||||
|
onThemeChange,
|
||||||
|
pickSurpriseTheme,
|
||||||
|
} from "./theme-manager.js?v=20261127b";
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Crée la structure DOM du dock flottant et de la modale <dialog>.
|
||||||
|
* @returns {{ dock: HTMLElement, modal: HTMLDialogElement }}
|
||||||
|
*/
|
||||||
|
function buildSwitcherUI() {
|
||||||
|
const dock = document.createElement("aside");
|
||||||
|
dock.className = "theme-dock screen-only";
|
||||||
|
dock.setAttribute("aria-label", "Sélecteur de design");
|
||||||
|
dock.innerHTML = `
|
||||||
|
<span class="theme-dock__status">
|
||||||
|
<span class="theme-dock__dot" aria-hidden="true"></span>
|
||||||
|
<span class="theme-dock__label">Design :</span>
|
||||||
|
<span class="theme-dock__name" data-theme-current-name></span>
|
||||||
|
</span>
|
||||||
|
<div class="theme-dock__actions">
|
||||||
|
<button type="button" class="theme-dock__btn theme-dock__btn--primary" data-theme-surprise>
|
||||||
|
<svg class="theme-dock__icon" viewBox="0 0 24 24" aria-hidden="true" focusable="false">
|
||||||
|
<path d="M16 3h5v5M4 20 21 3M21 16v5h-5M15 15l6 6M4 4l5 5"/>
|
||||||
|
</svg>
|
||||||
|
Surprise
|
||||||
|
</button>
|
||||||
|
<button type="button" class="theme-dock__btn" data-theme-explore aria-haspopup="dialog">
|
||||||
|
<svg class="theme-dock__icon" viewBox="0 0 24 24" aria-hidden="true" focusable="false">
|
||||||
|
<rect x="3" y="3" width="7" height="7" rx="1"/>
|
||||||
|
<rect x="14" y="3" width="7" height="7" rx="1"/>
|
||||||
|
<rect x="3" y="14" width="7" height="7" rx="1"/>
|
||||||
|
<rect x="14" y="14" width="7" height="7" rx="1"/>
|
||||||
|
</svg>
|
||||||
|
Explorer
|
||||||
|
</button>
|
||||||
|
</div>
|
||||||
|
`;
|
||||||
|
|
||||||
|
const modal = document.createElement("dialog");
|
||||||
|
modal.className = "theme-modal screen-only";
|
||||||
|
modal.setAttribute("aria-labelledby", "theme-modal-title");
|
||||||
|
modal.innerHTML = `
|
||||||
|
<header class="theme-modal__header">
|
||||||
|
<div>
|
||||||
|
<h2 class="theme-modal__title" id="theme-modal-title">Explorer les designs</h2>
|
||||||
|
<p class="theme-modal__subtitle">
|
||||||
|
Même contenu, plusieurs directions artistiques. L'impression PDF reste toujours sobre.
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
<button type="button" class="theme-modal__close" data-theme-close aria-label="Fermer la fenêtre des designs">
|
||||||
|
<svg width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.2" stroke-linecap="round" aria-hidden="true" focusable="false">
|
||||||
|
<path d="M18 6 6 18M6 6l12 12"/>
|
||||||
|
</svg>
|
||||||
|
</button>
|
||||||
|
</header>
|
||||||
|
<div class="theme-modal__body">
|
||||||
|
<div class="theme-modal__grid" data-theme-grid></div>
|
||||||
|
</div>
|
||||||
|
<footer class="theme-modal__footer">
|
||||||
|
<span>Le lien mis à jour dans la barre d'adresse permet de partager un design précis.</span>
|
||||||
|
<button type="button" class="theme-modal__surprise" data-theme-surprise>
|
||||||
|
Tirage aléatoire
|
||||||
|
</button>
|
||||||
|
</footer>
|
||||||
|
`;
|
||||||
|
|
||||||
|
const grid = modal.querySelector("[data-theme-grid]");
|
||||||
|
for (const theme of THEMES) {
|
||||||
|
const card = document.createElement("article");
|
||||||
|
card.className = "theme-card";
|
||||||
|
card.dataset.themeCard = theme.id;
|
||||||
|
|
||||||
|
const swatchesHtml = theme.palette
|
||||||
|
.map(
|
||||||
|
(color) =>
|
||||||
|
`<span class="theme-card__swatch" style="background-color:${color}" aria-hidden="true"></span>`
|
||||||
|
)
|
||||||
|
.join("");
|
||||||
|
|
||||||
|
const tagsHtml = theme.tags.map((tag) => `<li>${tag}</li>`).join("");
|
||||||
|
|
||||||
|
card.innerHTML = `
|
||||||
|
<div class="theme-card__swatches">${swatchesHtml}</div>
|
||||||
|
<div class="theme-card__head">
|
||||||
|
<h3 class="theme-card__name">${theme.name}</h3>
|
||||||
|
<span class="theme-card__active" hidden>Actif</span>
|
||||||
|
</div>
|
||||||
|
<p class="theme-card__subtitle">${theme.subtitle}</p>
|
||||||
|
<p class="theme-card__desc">${theme.description}</p>
|
||||||
|
<ul class="theme-card__tags" role="list">${tagsHtml}</ul>
|
||||||
|
<button type="button" class="theme-card__btn" data-theme-select="${theme.id}">
|
||||||
|
Appliquer ce design
|
||||||
|
</button>
|
||||||
|
`;
|
||||||
|
|
||||||
|
grid.appendChild(card);
|
||||||
|
}
|
||||||
|
|
||||||
|
document.body.append(dock, modal);
|
||||||
|
return { dock, modal };
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Initialise le contrôleur de thèmes.
|
||||||
|
*
|
||||||
|
* @param {object} [options]
|
||||||
|
* @param {HTMLElement | null} [options.status] - Région aria-live pour annonces vocales.
|
||||||
|
* @returns {void}
|
||||||
|
*/
|
||||||
|
export function initThemeSwitcher({ status } = {}) {
|
||||||
|
const { dock, modal } = buildSwitcherUI();
|
||||||
|
const currentNameEl = dock.querySelector("[data-theme-current-name]");
|
||||||
|
const exploreBtn = dock.querySelector("[data-theme-explore]");
|
||||||
|
const closeBtn = modal.querySelector("[data-theme-close]");
|
||||||
|
const cards = modal.querySelectorAll("[data-theme-card]");
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Synchronise l'interface avec le thème actif.
|
||||||
|
* @param {import("../themes.js").ThemeDefinition} theme
|
||||||
|
*/
|
||||||
|
const syncUI = (theme) => {
|
||||||
|
if (currentNameEl) currentNameEl.textContent = theme.name;
|
||||||
|
|
||||||
|
cards.forEach((card) => {
|
||||||
|
const isActive = card.dataset.themeCard === theme.id;
|
||||||
|
card.dataset.active = String(isActive);
|
||||||
|
|
||||||
|
const badge = card.querySelector(".theme-card__active");
|
||||||
|
const btn = card.querySelector("[data-theme-select]");
|
||||||
|
|
||||||
|
if (badge) badge.hidden = !isActive;
|
||||||
|
if (btn) {
|
||||||
|
btn.textContent = isActive ? "Design actif" : "Appliquer ce design";
|
||||||
|
btn.setAttribute("aria-pressed", String(isActive));
|
||||||
|
}
|
||||||
|
});
|
||||||
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Annonce un changement de thème aux lecteurs d'écran.
|
||||||
|
* @param {string} message
|
||||||
|
*/
|
||||||
|
const announce = (message) => {
|
||||||
|
if (!status) return;
|
||||||
|
status.textContent = "";
|
||||||
|
requestAnimationFrame(() => {
|
||||||
|
status.textContent = message;
|
||||||
|
});
|
||||||
|
};
|
||||||
|
|
||||||
|
// Actions « Surprise » (dock + pied de modale)
|
||||||
|
const handleSurprise = () => {
|
||||||
|
const next = pickSurpriseTheme();
|
||||||
|
announce(`Design activé : ${next.name} (${next.subtitle}).`);
|
||||||
|
};
|
||||||
|
|
||||||
|
dock.querySelector("[data-theme-surprise]")?.addEventListener("click", handleSurprise);
|
||||||
|
modal.querySelector("[data-theme-surprise]")?.addEventListener("click", handleSurprise);
|
||||||
|
|
||||||
|
// Ouvrir la modale
|
||||||
|
exploreBtn?.addEventListener("click", () => {
|
||||||
|
if (typeof modal.showModal === "function") {
|
||||||
|
modal.showModal();
|
||||||
|
} else {
|
||||||
|
modal.setAttribute("open", "");
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
// Fermer la modale
|
||||||
|
const closeModal = () => {
|
||||||
|
if (typeof modal.close === "function") modal.close();
|
||||||
|
else modal.removeAttribute("open");
|
||||||
|
exploreBtn?.focus();
|
||||||
|
};
|
||||||
|
|
||||||
|
closeBtn?.addEventListener("click", closeModal);
|
||||||
|
|
||||||
|
// Fermeture au clic sur l'arrière-plan (backdrop)
|
||||||
|
modal.addEventListener("click", (event) => {
|
||||||
|
if (event.target === modal) closeModal();
|
||||||
|
});
|
||||||
|
|
||||||
|
// Sélection directe d'un thème dans la modale
|
||||||
|
modal.addEventListener("click", (event) => {
|
||||||
|
const selectBtn = event.target.closest("[data-theme-select]");
|
||||||
|
if (!selectBtn) return;
|
||||||
|
|
||||||
|
const themeId = selectBtn.dataset.themeSelect;
|
||||||
|
const applied = applyTheme(themeId, { persist: true, updateUrl: true, animate: true });
|
||||||
|
announce(`Design activé : ${applied.name} (${applied.subtitle}).`);
|
||||||
|
});
|
||||||
|
|
||||||
|
// État initial + abonnement aux futurs changements
|
||||||
|
const activeTheme = getThemeById(getActiveThemeId()) ?? THEMES[0];
|
||||||
|
syncUI(activeTheme);
|
||||||
|
onThemeChange(syncUI);
|
||||||
|
}
|
||||||
@@ -0,0 +1,157 @@
|
|||||||
|
/**
|
||||||
|
* themes.js — Registre centralisé des thèmes visuels
|
||||||
|
* =============================================================================
|
||||||
|
* Source unique de vérité listant tous les webdesigns disponibles sur le site.
|
||||||
|
*
|
||||||
|
* POUR AJOUTER UN NOUVEAU THÈME :
|
||||||
|
* 1. Créer la feuille de style dédiée dans assets/css/themes/<id>.css
|
||||||
|
* (encapsulée dans @layer themes et scopée sur [data-theme="<id>"])
|
||||||
|
* 2. Lier cette feuille dans index.html
|
||||||
|
* 3. Ajouter son entrée dans le tableau THEMES ci-dessous
|
||||||
|
* 4. Ajouter son identifiant dans le micro-script anti-FOUC du <head>
|
||||||
|
*/
|
||||||
|
|
||||||
|
export const DEFAULT_THEME_ID = "classic";
|
||||||
|
export const THEME_STORAGE_KEY = "cm-theme";
|
||||||
|
export const THEME_QUERY_PARAM = "theme";
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @typedef {object} ThemeDefinition
|
||||||
|
* @property {string} id - Identifiant technique (data-theme et ?theme=).
|
||||||
|
* @property {string} name - Nom court affiché dans l'interface.
|
||||||
|
* @property {string} subtitle - Sous-titre descriptif de l'esthétique.
|
||||||
|
* @property {string} description - Courte présentation affichée dans la modale.
|
||||||
|
* @property {string[]} tags - Étiquettes de tendance / style.
|
||||||
|
* @property {string[]} palette - Les 3 couleurs principales pour l'aperçu.
|
||||||
|
* @property {"light"|"dark"} colorScheme - Schéma chromatique natif (<meta color-scheme>).
|
||||||
|
* @property {string} metaThemeColor - Couleur appliquée à <meta name="theme-color">.
|
||||||
|
* @property {string[]} fonts - Feuilles Google Fonts chargées à la demande.
|
||||||
|
*/
|
||||||
|
|
||||||
|
/** @type {readonly ThemeDefinition[]} */
|
||||||
|
export const THEMES = Object.freeze([
|
||||||
|
Object.freeze({
|
||||||
|
id: "classic",
|
||||||
|
name: "Classique",
|
||||||
|
subtitle: "Sobriété institutionnelle",
|
||||||
|
description:
|
||||||
|
"Fond blanc cassé, anthracite profond et accent vert émeraude. Hiérarchie éditoriale rigoureuse et micro-animations discrètes.",
|
||||||
|
tags: ["Éditorial", "Sobre", "Institutionnel"],
|
||||||
|
palette: ["#f7f8f8", "#10201c", "#05bc8a"],
|
||||||
|
colorScheme: "light",
|
||||||
|
metaThemeColor: "#f7f8f8",
|
||||||
|
fonts: [],
|
||||||
|
}),
|
||||||
|
Object.freeze({
|
||||||
|
id: "neo-brutalist",
|
||||||
|
name: "Néo-Brutalisme",
|
||||||
|
subtitle: "Rétro-web 2027",
|
||||||
|
description:
|
||||||
|
"Grille modulaire marquée, bordures noires épaisses, ombres franches, fenêtres rétro et titres audacieux sur fonds de lecture clairs.",
|
||||||
|
tags: ["Rétro-web 2027", "Néo-brutalisme", "Contraste fort"],
|
||||||
|
palette: ["#ffe500", "#8b5cf6", "#111111"],
|
||||||
|
colorScheme: "light",
|
||||||
|
metaThemeColor: "#ffe500",
|
||||||
|
fonts: [
|
||||||
|
"https://fonts.googleapis.com/css2?family=Silkscreen:wght@400;700&family=Space+Grotesk:wght@500;700&display=swap",
|
||||||
|
],
|
||||||
|
}),
|
||||||
|
Object.freeze({
|
||||||
|
id: "bento-grid",
|
||||||
|
name: "Grille Bento",
|
||||||
|
subtitle: "Modulaire asymétrique",
|
||||||
|
description:
|
||||||
|
"Fond gris neutre, tuiles blanches généreusement arrondies organisées en grilles asymétriques et accents vert émeraude.",
|
||||||
|
tags: ["Bento 2027", "Modulaire", "Clair"],
|
||||||
|
palette: ["#f4f5f7", "#ffffff", "#05bc8a"],
|
||||||
|
colorScheme: "light",
|
||||||
|
metaThemeColor: "#f4f5f7",
|
||||||
|
fonts: [],
|
||||||
|
}),
|
||||||
|
Object.freeze({
|
||||||
|
id: "obsidian-dark",
|
||||||
|
name: "Obsidienne",
|
||||||
|
subtitle: "Mode sombre architectural",
|
||||||
|
description:
|
||||||
|
"Surfaces obsidienne chaud sans noir pur, texte blanc perle et gris sauge haute lisibilité, accent émeraude lumineux.",
|
||||||
|
tags: ["Intentional Dark", "Architectural", "WCAG AAA"],
|
||||||
|
palette: ["#0d1110", "#151b19", "#2ce59b"],
|
||||||
|
colorScheme: "dark",
|
||||||
|
metaThemeColor: "#0d1110",
|
||||||
|
fonts: [],
|
||||||
|
}),
|
||||||
|
Object.freeze({
|
||||||
|
id: "liquid-glass",
|
||||||
|
name: "Liquid Glass",
|
||||||
|
subtitle: "Verre dépoli contrôlé",
|
||||||
|
description:
|
||||||
|
"Halos lumineux menthe et bleu-vert très clair derrière des cartes translucides en verre dépoli à fort contraste typographique.",
|
||||||
|
tags: ["Liquid Glass", "Translucide", "Lumineux"],
|
||||||
|
palette: ["#d8f8ec", "#ffffff", "#027f5c"],
|
||||||
|
colorScheme: "light",
|
||||||
|
metaThemeColor: "#eef7f5",
|
||||||
|
fonts: [],
|
||||||
|
}),
|
||||||
|
Object.freeze({
|
||||||
|
id: "editorial-type",
|
||||||
|
name: "Éditorial",
|
||||||
|
subtitle: "Typographie suisse radicale",
|
||||||
|
description:
|
||||||
|
"Papier ivoire chaud, grands titres serif contrastés, filets fins 1px, mise en page suisse en deux colonnes et zéro ombre.",
|
||||||
|
tags: ["Édition suisse", "Serif", "Minimaliste"],
|
||||||
|
palette: ["#faf8f5", "#141413", "#03996f"],
|
||||||
|
colorScheme: "light",
|
||||||
|
metaThemeColor: "#faf8f5",
|
||||||
|
fonts: [
|
||||||
|
"https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&display=swap",
|
||||||
|
],
|
||||||
|
}),
|
||||||
|
Object.freeze({
|
||||||
|
id: "c64-basic",
|
||||||
|
name: "Commodore 64",
|
||||||
|
subtitle: "Ligne de commande BASIC V2",
|
||||||
|
description:
|
||||||
|
"Écran bleu Commodore 64, commandes interactives (PROFIL, PROJETS, ALL…) et prompt mC:> pour charger les sections du CV au clavier ou au clic.",
|
||||||
|
tags: ["Rétro 8-bit", "CLI", "Interactif"],
|
||||||
|
palette: ["#352879", "#6c5eb5", "#7ef7d4"],
|
||||||
|
colorScheme: "dark",
|
||||||
|
metaThemeColor: "#352879",
|
||||||
|
fonts: [
|
||||||
|
"https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap",
|
||||||
|
],
|
||||||
|
}),
|
||||||
|
]);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Retourne la définition complète d'un thème à partir de son identifiant.
|
||||||
|
* @param {string | null | undefined} id
|
||||||
|
* @returns {ThemeDefinition | undefined}
|
||||||
|
*/
|
||||||
|
export function getThemeById(id) {
|
||||||
|
if (!id) return undefined;
|
||||||
|
return THEMES.find((theme) => theme.id === id);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Indique si un identifiant correspond à un thème enregistré.
|
||||||
|
* @param {string | null | undefined} id
|
||||||
|
* @returns {boolean}
|
||||||
|
*/
|
||||||
|
export function isValidThemeId(id) {
|
||||||
|
return Boolean(getThemeById(id));
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Tire un identifiant de thème au hasard, en excluant si possible le thème actif.
|
||||||
|
* @param {string | null} [excludeId]
|
||||||
|
* @returns {string}
|
||||||
|
*/
|
||||||
|
export function getRandomThemeId(excludeId = null) {
|
||||||
|
const candidates =
|
||||||
|
excludeId && THEMES.length > 1
|
||||||
|
? THEMES.filter((theme) => theme.id !== excludeId)
|
||||||
|
: THEMES;
|
||||||
|
|
||||||
|
const index = Math.floor(Math.random() * candidates.length);
|
||||||
|
return candidates[index]?.id ?? DEFAULT_THEME_ID;
|
||||||
|
}
|
||||||
+2
-3
@@ -44,7 +44,7 @@ server {
|
|||||||
# irréversible dans une couche qu'on redéploie souvent.
|
# irréversible dans une couche qu'on redéploie souvent.
|
||||||
# =========================================================================
|
# =========================================================================
|
||||||
|
|
||||||
add_header Content-Security-Policy "default-src 'self'; style-src 'self' 'unsafe-inline' https://fonts.googleapis.com; font-src 'self' https://fonts.gstatic.com; script-src 'self' 'unsafe-inline'; img-src 'self' data:; connect-src 'self'; base-uri 'self'; form-action 'self'; frame-ancestors 'none'; object-src 'none'; upgrade-insecure-requests" always;
|
add_header Content-Security-Policy "default-src 'self'; style-src 'self' 'unsafe-inline' https://fonts.googleapis.com; font-src 'self' https://fonts.gstatic.com; script-src 'self' 'unsafe-inline' https://umami.ghostinthemachine.fr; img-src 'self' data:; connect-src 'self' https://umami.ghostinthemachine.fr; base-uri 'self'; form-action 'self'; frame-ancestors 'none'; object-src 'none'; upgrade-insecure-requests" always;
|
||||||
|
|
||||||
add_header X-Content-Type-Options "nosniff" always;
|
add_header X-Content-Type-Options "nosniff" always;
|
||||||
add_header Referrer-Policy "strict-origin-when-cross-origin" always;
|
add_header Referrer-Policy "strict-origin-when-cross-origin" always;
|
||||||
@@ -82,8 +82,7 @@ server {
|
|||||||
# =========================================================================
|
# =========================================================================
|
||||||
|
|
||||||
location ~* \.(css|js)$ {
|
location ~* \.(css|js)$ {
|
||||||
expires 7d;
|
add_header Cache-Control "public, max-age=0, must-revalidate";
|
||||||
add_header Cache-Control "public, max-age=604800";
|
|
||||||
access_log off;
|
access_log off;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
+18
-19
@@ -1,23 +1,22 @@
|
|||||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 64" role="img"
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" role="img"
|
||||||
aria-label="MC, initiales de Matthieu Courcelle">
|
aria-label="Logo Matthieu Courcelle">
|
||||||
<title>MC — Matthieu Courcelle</title>
|
<title>Matthieu Courcelle</title>
|
||||||
|
<defs>
|
||||||
|
<linearGradient id="logo-c-grad" x1="15%" y1="85%" x2="85%" y2="15%">
|
||||||
|
<stop offset="0%" stop-color="#028A63"/>
|
||||||
|
<stop offset="55%" stop-color="#05BC8A"/>
|
||||||
|
<stop offset="100%" stop-color="#3CE59D"/>
|
||||||
|
</linearGradient>
|
||||||
|
</defs>
|
||||||
|
|
||||||
<!-- Fond clair à coins arrondis, repris de la palette du site -->
|
<!-- Monogramme « C » arrondi en dégradé vert émeraude (grille 100x100) -->
|
||||||
<rect width="64" height="64" rx="12" fill="#F7F8F8"/>
|
<path class="logo-c" d="M 80 34 A 34 34 0 1 0 80 66"
|
||||||
|
fill="none" stroke="url(#logo-c-grad)" stroke-width="12" stroke-linecap="round"/>
|
||||||
|
|
||||||
<!-- Filet discret : garde l'icône lisible sur fond blanc comme sur fond sombre -->
|
<!-- Trois barres obliques parallèles anthracite, espacement calibré à 5 unités -->
|
||||||
<rect x="0.75" y="0.75" width="62.5" height="62.5" rx="11.25"
|
<g class="logo-bars" fill="none" stroke="#0E221C" stroke-width="9" stroke-linecap="round">
|
||||||
fill="none" stroke="#E3E6E6" stroke-width="1.5"/>
|
<line class="logo-bar-1" x1="32.9" y1="51.7" x2="42.9" y2="34.3"/>
|
||||||
|
<line class="logo-bar-2" x1="41.5" y1="64.7" x2="58.5" y2="35.3"/>
|
||||||
<!-- Monogramme tracé en chemins purs : aucune police système requise,
|
<line class="logo-bar-3" x1="57.1" y1="65.7" x2="67.1" y2="48.3"/>
|
||||||
rendu identique partout. Style anguleux cohérent avec JetBrains Mono. -->
|
|
||||||
<g fill="none" stroke-width="5.5" stroke-linecap="butt" stroke-linejoin="miter">
|
|
||||||
<!-- M — encre principale -->
|
|
||||||
<path d="M11 44 V21 L20.5 33.5 L30 21 V44" stroke="#10201C"/>
|
|
||||||
<!-- C — accent underscorelab, cercle (43 ; 32,5) r=11,5, ouvert à droite -->
|
|
||||||
<path d="M50.39 23.69 A11.5 11.5 0 1 0 50.39 41.31" stroke="#05BC8A"/>
|
|
||||||
</g>
|
</g>
|
||||||
|
|
||||||
<!-- Underscore : signature typographique reprise du prompt de terminal -->
|
|
||||||
<path d="M11 52 H53" stroke="#05BC8A" stroke-width="3.5" stroke-linecap="round"/>
|
|
||||||
</svg>
|
</svg>
|
||||||
|
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 1.0 KiB |
+2
-2
@@ -1,10 +1,10 @@
|
|||||||
/* ÉQUIPE */
|
/* ÉQUIPE */
|
||||||
Conception, développement et contenu : Matthieu Courcelle
|
Conception, développement et contenu : Matthieu Courcelle
|
||||||
Contact : courcelle.m@tthieu.be
|
Contact : courcelle.m@tthieu.be
|
||||||
Localisation : Tournai, Hainaut, Belgique
|
Localisation : Mouscron, Hainaut, Belgique
|
||||||
|
|
||||||
/* SITE */
|
/* SITE */
|
||||||
Dernière mise à jour : 2026-08-04
|
Dernière mise à jour : 2026-11-25
|
||||||
Langue : français (fr-BE)
|
Langue : français (fr-BE)
|
||||||
Standards : HTML5, CSS (couches en cascade, propriétés logiques),
|
Standards : HTML5, CSS (couches en cascade, propriétés logiques),
|
||||||
JavaScript (modules ES natifs)
|
JavaScript (modules ES natifs)
|
||||||
|
|||||||
+240
-88
@@ -26,8 +26,8 @@
|
|||||||
La description n'influence pas le classement mais détermine le taux de
|
La description n'influence pas le classement mais détermine le taux de
|
||||||
clic. Environ 155 caractères. Écrite pour un humain, pas pour un robot.
|
clic. Environ 155 caractères. Écrite pour un humain, pas pour un robot.
|
||||||
========================================================================== -->
|
========================================================================== -->
|
||||||
<title>Matthieu Courcelle — Professeur d'informatique | Tournai</title>
|
<title>Matthieu Courcelle — Professeur de numérique | Mouscron</title>
|
||||||
<meta name="description" content="Professeur d'informatique en secondaire technique et supérieur pour adultes à Tournai. Développeur d'applications de gestion et d'outils IA pour l'école.">
|
<meta name="description" content="Professeur de numérique et coordinateur numérique à Mouscron. Fondateur d'underscorelab : applications web sur mesure pour écoles et ASBL du Hainaut.">
|
||||||
|
|
||||||
<meta name="author" content="Matthieu Courcelle">
|
<meta name="author" content="Matthieu Courcelle">
|
||||||
|
|
||||||
@@ -64,8 +64,8 @@
|
|||||||
<meta property="og:site_name" content="Matthieu Courcelle">
|
<meta property="og:site_name" content="Matthieu Courcelle">
|
||||||
<meta property="og:locale" content="fr_BE">
|
<meta property="og:locale" content="fr_BE">
|
||||||
<meta property="og:url" content="https://www.courcellematthi.eu/">
|
<meta property="og:url" content="https://www.courcellematthi.eu/">
|
||||||
<meta property="og:title" content="Matthieu Courcelle — Professeur d'informatique et développeur">
|
<meta property="og:title" content="Matthieu Courcelle — Professeur de numérique et développeur">
|
||||||
<meta property="og:description" content="Enseignement de l'informatique, développement d'applications de gestion et intelligence artificielle appliquée à la pédagogie et à l'administration scolaire.">
|
<meta property="og:description" content="Enseignement et coordination numérique, formation des enseignants à l'IA, applications web sur mesure (underscorelab) et outils musicaux Web Audio / MIDI.">
|
||||||
|
|
||||||
<!-- 1200×630 : ratio 1,91:1, format attendu par la quasi-totalité des
|
<!-- 1200×630 : ratio 1,91:1, format attendu par la quasi-totalité des
|
||||||
plateformes. Une image trop petite est ignorée et remplacée par un
|
plateformes. Une image trop petite est ignorée et remplacée par un
|
||||||
@@ -75,7 +75,7 @@
|
|||||||
<meta property="og:image:width" content="1200">
|
<meta property="og:image:width" content="1200">
|
||||||
<meta property="og:image:height" content="630">
|
<meta property="og:image:height" content="630">
|
||||||
<meta property="og:image:type" content="image/png">
|
<meta property="og:image:type" content="image/png">
|
||||||
<meta property="og:image:alt" content="Monogramme MC et nom de Matthieu Courcelle, professeur d'informatique et développeur">
|
<meta property="og:image:alt" content="Monogramme MC et nom de Matthieu Courcelle, professeur et coordinateur numérique, fondateur d'underscorelab">
|
||||||
|
|
||||||
<!-- Champs spécifiques au type « profile » -->
|
<!-- Champs spécifiques au type « profile » -->
|
||||||
<meta property="profile:first_name" content="Matthieu">
|
<meta property="profile:first_name" content="Matthieu">
|
||||||
@@ -85,8 +85,8 @@
|
|||||||
<!-- Cartes Twitter / X. summary_large_image affiche la bannière en pleine
|
<!-- Cartes Twitter / X. summary_large_image affiche la bannière en pleine
|
||||||
largeur plutôt qu'en vignette carrée. -->
|
largeur plutôt qu'en vignette carrée. -->
|
||||||
<meta name="twitter:card" content="summary_large_image">
|
<meta name="twitter:card" content="summary_large_image">
|
||||||
<meta name="twitter:title" content="Matthieu Courcelle — Professeur d'informatique et développeur">
|
<meta name="twitter:title" content="Matthieu Courcelle — Professeur de numérique et développeur">
|
||||||
<meta name="twitter:description" content="Enseignement de l'informatique, développement d'applications de gestion et intelligence artificielle appliquée.">
|
<meta name="twitter:description" content="Enseignement et coordination numérique, applications web sur mesure et outils musicaux.">
|
||||||
<meta name="twitter:image" content="https://www.courcellematthi.eu/assets/img/og-image.png">
|
<meta name="twitter:image" content="https://www.courcellematthi.eu/assets/img/og-image.png">
|
||||||
<meta name="twitter:image:alt" content="Monogramme MC et nom de Matthieu Courcelle">
|
<meta name="twitter:image:alt" content="Monogramme MC et nom de Matthieu Courcelle">
|
||||||
|
|
||||||
@@ -116,9 +116,9 @@
|
|||||||
ICO pour la compatibilité historique.
|
ICO pour la compatibilité historique.
|
||||||
========================================================================== -->
|
========================================================================== -->
|
||||||
<link rel="icon" href="/favicon.ico" sizes="32x32">
|
<link rel="icon" href="/favicon.ico" sizes="32x32">
|
||||||
<link rel="icon" href="/favicon.svg" type="image/svg+xml">
|
<link rel="icon" href="/favicon.svg?v=20261126" type="image/svg+xml">
|
||||||
<link rel="apple-touch-icon" href="/assets/img/apple-touch-icon.png">
|
<link rel="apple-touch-icon" href="/assets/img/apple-touch-icon.png">
|
||||||
<link rel="mask-icon" href="/assets/img/safari-pinned-tab.svg" color="#05bc8a">
|
<link rel="mask-icon" href="/assets/img/safari-pinned-tab.svg?v=20261126" color="#05bc8a">
|
||||||
<link rel="manifest" href="/site.webmanifest">
|
<link rel="manifest" href="/site.webmanifest">
|
||||||
|
|
||||||
<!-- ==========================================================================
|
<!-- ==========================================================================
|
||||||
@@ -146,13 +146,51 @@
|
|||||||
L'ordre de priorité ne dépend pas de l'ordre ci-dessous : il est fixé
|
L'ordre de priorité ne dépend pas de l'ordre ci-dessous : il est fixé
|
||||||
par la déclaration @layer en tête de tokens.css.
|
par la déclaration @layer en tête de tokens.css.
|
||||||
========================================================================== -->
|
========================================================================== -->
|
||||||
<link rel="stylesheet" href="/assets/css/tokens.css">
|
<link rel="stylesheet" href="/assets/css/tokens.css?v=20261126">
|
||||||
<link rel="stylesheet" href="/assets/css/base.css">
|
<link rel="stylesheet" href="/assets/css/base.css?v=20261126">
|
||||||
<link rel="stylesheet" href="/assets/css/layout.css">
|
<link rel="stylesheet" href="/assets/css/layout.css?v=20261126">
|
||||||
<link rel="stylesheet" href="/assets/css/components.css">
|
<link rel="stylesheet" href="/assets/css/components.css?v=20261126">
|
||||||
<link rel="stylesheet" href="/assets/css/utilities.css">
|
<link rel="stylesheet" href="/assets/css/themes/classic.css?v=20261126">
|
||||||
|
<link rel="stylesheet" href="/assets/css/themes/neo-brutalist.css?v=20261126">
|
||||||
|
<link rel="stylesheet" href="/assets/css/themes/bento-grid.css?v=20261126">
|
||||||
|
<link rel="stylesheet" href="/assets/css/themes/obsidian-dark.css?v=20261126">
|
||||||
|
<link rel="stylesheet" href="/assets/css/themes/liquid-glass.css?v=20261126">
|
||||||
|
<link rel="stylesheet" href="/assets/css/themes/editorial-type.css?v=20261126">
|
||||||
|
<link rel="stylesheet" href="/assets/css/themes/c64-basic.css?v=20261127b">
|
||||||
|
<link rel="stylesheet" href="/assets/css/utilities.css?v=20261126">
|
||||||
|
<link rel="stylesheet" href="/assets/css/theme-switcher.css?v=20261126">
|
||||||
<!-- Chargée uniquement à l'impression : ne pénalise pas le rendu écran -->
|
<!-- Chargée uniquement à l'impression : ne pénalise pas le rendu écran -->
|
||||||
<link rel="stylesheet" href="/assets/css/print.css" media="print">
|
<link rel="stylesheet" href="/assets/css/print.css?v=20261127" media="print">
|
||||||
|
|
||||||
|
<!-- ==========================================================================
|
||||||
|
INITIALISATION SYNCHRONE DU THÈME (anti-FOUC)
|
||||||
|
Pose data-theme avant le premier rendu pour éviter tout flash visuel :
|
||||||
|
1. ?theme=<id> valide dans l'URL
|
||||||
|
2. Choix précédemment enregistré dans localStorage
|
||||||
|
3. Tirage aléatoire + sauvegarde dans localStorage
|
||||||
|
========================================================================== -->
|
||||||
|
<script>
|
||||||
|
(function () {
|
||||||
|
var VALID = ["classic", "neo-brutalist", "bento-grid", "obsidian-dark", "liquid-glass", "editorial-type", "c64-basic"];
|
||||||
|
var KEY = "cm-theme";
|
||||||
|
var chosen = null;
|
||||||
|
try {
|
||||||
|
var param = new URLSearchParams(window.location.search).get("theme");
|
||||||
|
if (VALID.indexOf(param) !== -1) chosen = param;
|
||||||
|
} catch (e) {}
|
||||||
|
if (!chosen) {
|
||||||
|
try {
|
||||||
|
var saved = window.localStorage.getItem(KEY);
|
||||||
|
if (VALID.indexOf(saved) !== -1) chosen = saved;
|
||||||
|
} catch (e) {}
|
||||||
|
}
|
||||||
|
if (!chosen) {
|
||||||
|
chosen = VALID[Math.floor(Math.random() * VALID.length)];
|
||||||
|
try { window.localStorage.setItem(KEY, chosen); } catch (e) {}
|
||||||
|
}
|
||||||
|
document.documentElement.dataset.theme = chosen;
|
||||||
|
})();
|
||||||
|
</script>
|
||||||
|
|
||||||
<!-- ==========================================================================
|
<!-- ==========================================================================
|
||||||
SCRIPT
|
SCRIPT
|
||||||
@@ -160,7 +198,7 @@
|
|||||||
l'analyse du HTML, l'exécution a lieu après. Aucun blocage du rendu,
|
l'analyse du HTML, l'exécution a lieu après. Aucun blocage du rendu,
|
||||||
donc pas besoin de l'écrire en fin de <body>.
|
donc pas besoin de l'écrire en fin de <body>.
|
||||||
========================================================================== -->
|
========================================================================== -->
|
||||||
<script type="module" src="/assets/js/main.js"></script>
|
<script type="module" src="/assets/js/main.js?v=20261127b"></script>
|
||||||
|
|
||||||
<!-- ==========================================================================
|
<!-- ==========================================================================
|
||||||
DONNÉES STRUCTURÉES — schema.org en JSON-LD
|
DONNÉES STRUCTURÉES — schema.org en JSON-LD
|
||||||
@@ -177,8 +215,8 @@
|
|||||||
elle travaille et ce qu'elle sait faire. Sans ces données, l'agent
|
elle travaille et ce qu'elle sait faire. Sans ces données, l'agent
|
||||||
doit inférer depuis la prose, avec un risque d'erreur.
|
doit inférer depuis la prose, avec un risque d'erreur.
|
||||||
|
|
||||||
Le graphe est composé de trois entités reliées par @id :
|
Le graphe est composé de quatre entités reliées par @id :
|
||||||
WebSite → ProfilePage → Person.
|
WebSite → ProfilePage → Person ↔ Organization (underscorelab).
|
||||||
========================================================================== -->
|
========================================================================== -->
|
||||||
<script type="application/ld+json">
|
<script type="application/ld+json">
|
||||||
{
|
{
|
||||||
@@ -189,7 +227,7 @@
|
|||||||
"@id": "https://www.courcellematthi.eu/#website",
|
"@id": "https://www.courcellematthi.eu/#website",
|
||||||
"url": "https://www.courcellematthi.eu/",
|
"url": "https://www.courcellematthi.eu/",
|
||||||
"name": "Matthieu Courcelle",
|
"name": "Matthieu Courcelle",
|
||||||
"description": "Site personnel de Matthieu Courcelle, professeur d'informatique et développeur d'applications de gestion.",
|
"description": "Site personnel de Matthieu Courcelle, professeur et coordinateur numérique, fondateur d'underscorelab.",
|
||||||
"inLanguage": "fr-BE",
|
"inLanguage": "fr-BE",
|
||||||
"publisher": { "@id": "https://www.courcellematthi.eu/#person" }
|
"publisher": { "@id": "https://www.courcellematthi.eu/#person" }
|
||||||
},
|
},
|
||||||
@@ -197,7 +235,7 @@
|
|||||||
"@type": "ProfilePage",
|
"@type": "ProfilePage",
|
||||||
"@id": "https://www.courcellematthi.eu/#webpage",
|
"@id": "https://www.courcellematthi.eu/#webpage",
|
||||||
"url": "https://www.courcellematthi.eu/",
|
"url": "https://www.courcellematthi.eu/",
|
||||||
"name": "Matthieu Courcelle — Professeur d'informatique et développeur",
|
"name": "Matthieu Courcelle — Professeur de numérique et développeur",
|
||||||
"isPartOf": { "@id": "https://www.courcellematthi.eu/#website" },
|
"isPartOf": { "@id": "https://www.courcellematthi.eu/#website" },
|
||||||
"about": { "@id": "https://www.courcellematthi.eu/#person" },
|
"about": { "@id": "https://www.courcellematthi.eu/#person" },
|
||||||
"mainEntity": { "@id": "https://www.courcellematthi.eu/#person" },
|
"mainEntity": { "@id": "https://www.courcellematthi.eu/#person" },
|
||||||
@@ -209,17 +247,39 @@
|
|||||||
"height": 630
|
"height": 630
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"@type": "Organization",
|
||||||
|
"@id": "https://www.courcellematthi.eu/#underscorelab",
|
||||||
|
"name": "underscorelab",
|
||||||
|
"description": "Applications web et de gestion sur mesure pour les écoles, ASBL et petites structures du Hainaut, sur infrastructure auto-hébergée.",
|
||||||
|
"foundingDate": "2026-01",
|
||||||
|
"founder": { "@id": "https://www.courcellematthi.eu/#person" },
|
||||||
|
"areaServed": { "@type": "AdministrativeArea", "name": "Hainaut" },
|
||||||
|
"address": {
|
||||||
|
"@type": "PostalAddress",
|
||||||
|
"addressLocality": "Mouscron",
|
||||||
|
"addressRegion": "Hainaut",
|
||||||
|
"addressCountry": "BE"
|
||||||
|
}
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"@type": "Person",
|
"@type": "Person",
|
||||||
"@id": "https://www.courcellematthi.eu/#person",
|
"@id": "https://www.courcellematthi.eu/#person",
|
||||||
"name": "Matthieu Courcelle",
|
"name": "Matthieu Courcelle",
|
||||||
"givenName": "Matthieu",
|
"givenName": "Matthieu",
|
||||||
"familyName": "Courcelle",
|
"familyName": "Courcelle",
|
||||||
"jobTitle": "Professeur d'informatique",
|
"jobTitle": [
|
||||||
"description": "Professeur d'informatique en secondaire technique et en enseignement supérieur pour adultes. Développeur d'applications de gestion et praticien de l'intelligence artificielle appliquée à la pédagogie et à l'administration scolaire.",
|
"Professeur de numérique",
|
||||||
|
"Coordinateur numérique",
|
||||||
|
"Fondateur d'underscorelab"
|
||||||
|
],
|
||||||
|
"description": "Professeur de numérique dans le secondaire depuis 2020 et coordinateur numérique à Mouscron. Fondateur d'underscorelab, développeur d'applications web sur mesure pour les écoles et ASBL, et d'applications musicales.",
|
||||||
"url": "https://www.courcellematthi.eu/",
|
"url": "https://www.courcellematthi.eu/",
|
||||||
"email": "mailto:courcelle.m@tthieu.be",
|
"email": "mailto:courcelle.m@tthieu.be",
|
||||||
"image": "https://www.courcellematthi.eu/assets/img/og-image.png",
|
"image": "https://www.courcellematthi.eu/assets/img/og-image.png",
|
||||||
|
"sameAs": [
|
||||||
|
"https://www.linkedin.com/in/matthieu-courcelle"
|
||||||
|
],
|
||||||
"nationality": { "@type": "Country", "name": "Belgique" },
|
"nationality": { "@type": "Country", "name": "Belgique" },
|
||||||
"knowsLanguage": [
|
"knowsLanguage": [
|
||||||
{ "@type": "Language", "name": "Français", "alternateName": "fr" },
|
{ "@type": "Language", "name": "Français", "alternateName": "fr" },
|
||||||
@@ -227,22 +287,30 @@
|
|||||||
],
|
],
|
||||||
"address": {
|
"address": {
|
||||||
"@type": "PostalAddress",
|
"@type": "PostalAddress",
|
||||||
"addressLocality": "Tournai",
|
"addressLocality": "Mouscron",
|
||||||
"addressRegion": "Hainaut",
|
"addressRegion": "Hainaut",
|
||||||
"addressCountry": "BE"
|
"addressCountry": "BE"
|
||||||
},
|
},
|
||||||
"worksFor": [
|
"worksFor": [
|
||||||
{
|
{
|
||||||
"@type": "EducationalOrganization",
|
"@type": "EducationalOrganization",
|
||||||
"name": "IPES Ath",
|
"name": "Collège Sainte-Marie",
|
||||||
"description": "Enseignement secondaire technique de transition et de qualification"
|
"description": "Professeur de numérique en 1re secondaire (tronc commun)",
|
||||||
|
"address": { "@type": "PostalAddress", "addressLocality": "Mouscron", "addressCountry": "BE" }
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"@type": "EducationalOrganization",
|
"@type": "EducationalOrganization",
|
||||||
"name": "Institut Gabrielle Petit",
|
"name": "Centre scolaire de la Sainte-Union",
|
||||||
"alternateName": "IPEPS Tournai-Leuze",
|
"description": "Professeur de traitement de texte dans le qualifiant (technique sociale, agent d'éducation)",
|
||||||
"description": "Enseignement de promotion sociale et supérieur pour adultes"
|
"address": { "@type": "PostalAddress", "addressLocality": "Kain", "addressCountry": "BE" }
|
||||||
}
|
},
|
||||||
|
{
|
||||||
|
"@type": "EducationalOrganization",
|
||||||
|
"name": "Institut du Sacré-Cœur",
|
||||||
|
"description": "Coordinateur numérique",
|
||||||
|
"address": { "@type": "PostalAddress", "addressLocality": "Mouscron", "addressCountry": "BE" }
|
||||||
|
},
|
||||||
|
{ "@id": "https://www.courcellematthi.eu/#underscorelab" }
|
||||||
],
|
],
|
||||||
"alumniOf": [
|
"alumniOf": [
|
||||||
{
|
{
|
||||||
@@ -279,28 +347,41 @@
|
|||||||
"hasOccupation": [
|
"hasOccupation": [
|
||||||
{
|
{
|
||||||
"@type": "Occupation",
|
"@type": "Occupation",
|
||||||
"name": "Professeur d'informatique",
|
"name": "Professeur de numérique",
|
||||||
"occupationalCategory": "2320 Enseignants de l'enseignement technique et professionnel",
|
"occupationalCategory": "2330 Enseignants de l'enseignement secondaire",
|
||||||
"occupationLocation": { "@type": "City", "name": "Tournai" },
|
"occupationLocation": [
|
||||||
"skills": "Développement d'applications de gestion, administration et sécurisation des réseaux, bases de données relationnelles, ingénierie pédagogique"
|
{ "@type": "City", "name": "Mouscron" },
|
||||||
|
{ "@type": "City", "name": "Kain" }
|
||||||
|
],
|
||||||
|
"skills": "Enseignement du numérique en tronc commun, traitement de texte dans le qualifiant, ingénierie pédagogique"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"@type": "Occupation",
|
"@type": "Occupation",
|
||||||
"name": "Développeur d'applications",
|
"name": "Coordinateur numérique",
|
||||||
|
"occupationLocation": { "@type": "City", "name": "Mouscron" },
|
||||||
|
"skills": "Formation des enseignants au numérique et à l'IA, communication scolaire, atelier de programmation et de drones"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"@type": "Occupation",
|
||||||
|
"name": "Développeur d'applications web",
|
||||||
"occupationalCategory": "2512 Développeurs de logiciels",
|
"occupationalCategory": "2512 Développeurs de logiciels",
|
||||||
"skills": "PHP, Python, JavaScript, Node.js, React, Vue, PostgreSQL, Docker"
|
"skills": "Python, Django, JavaScript, Node.js, PWA, WordPress, PostgreSQL, Docker, Coolify, Traefik, Web Audio API, Web MIDI"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"knowsAbout": [
|
"knowsAbout": [
|
||||||
"Enseignement de l'informatique",
|
"Enseignement du numérique",
|
||||||
"Développement d'applications orientées gestion",
|
"Formation des enseignants au numérique et à l'intelligence artificielle",
|
||||||
|
"Intelligence artificielle appliquée à l'éducation",
|
||||||
|
"Développement d'applications web et de gestion",
|
||||||
|
"Python et Django",
|
||||||
|
"Applications web progressives",
|
||||||
"Bases de données relationnelles",
|
"Bases de données relationnelles",
|
||||||
"Modélisation MCD et MLD",
|
|
||||||
"Administration et sécurisation des réseaux",
|
"Administration et sécurisation des réseaux",
|
||||||
"Active Directory",
|
"Docker et auto-hébergement",
|
||||||
"Docker et conteneurisation",
|
|
||||||
"Intégration et déploiement continus",
|
"Intégration et déploiement continus",
|
||||||
"Intelligence artificielle appliquée",
|
"Web Audio API",
|
||||||
|
"Web MIDI",
|
||||||
|
"Théorie musicale",
|
||||||
"Ingénierie pédagogique",
|
"Ingénierie pédagogique",
|
||||||
"RGPD en contexte scolaire"
|
"RGPD en contexte scolaire"
|
||||||
]
|
]
|
||||||
@@ -308,11 +389,17 @@
|
|||||||
]
|
]
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
<script defer src="https://umami.ghostinthemachine.fr/script.js" data-website-id="f9c9d0cf-0ac8-4b49-8cf3-5aff5019b6f2"></script>
|
||||||
|
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
|
|
||||||
|
<!-- Indicateur de progression de lecture (piloté par motion.js) -->
|
||||||
|
<div class="reading-progress screen-only" data-reading-progress aria-hidden="true">
|
||||||
|
<span class="reading-progress__bar"></span>
|
||||||
|
</div>
|
||||||
|
|
||||||
<!-- Repère de focus pour le retour en haut de page (voir back-to-top.js).
|
<!-- Repère de focus pour le retour en haut de page (voir back-to-top.js).
|
||||||
tabindex="-1" le rend focusable par script sans l'insérer dans l'ordre
|
tabindex="-1" le rend focusable par script sans l'insérer dans l'ordre
|
||||||
de tabulation naturel. -->
|
de tabulation naturel. -->
|
||||||
@@ -337,13 +424,24 @@
|
|||||||
|
|
||||||
<a class="site-header__brand" href="#haut-de-page">
|
<a class="site-header__brand" href="#haut-de-page">
|
||||||
<!-- Le logo est décoratif : le nom est déjà écrit à côté en texte.
|
<!-- Le logo est décoratif : le nom est déjà écrit à côté en texte.
|
||||||
aria-hidden évite la double annonce par le lecteur d'écran. -->
|
aria-hidden évite la double annonce par le lecteur d'écran.
|
||||||
<svg class="site-header__logo" viewBox="0 0 64 64" aria-hidden="true" focusable="false">
|
Grille 100x100 calibrée à 5 unités ; tracés séparés prêts pour
|
||||||
<g fill="none" stroke-width="5.5" stroke-linecap="butt" stroke-linejoin="miter">
|
l'animation et adaptation multi-thèmes via currentColor. -->
|
||||||
<path d="M11 44 V21 L20.5 33.5 L30 21 V44" stroke="currentColor"/>
|
<svg class="site-header__logo" viewBox="0 0 100 100" aria-hidden="true" focusable="false">
|
||||||
<path d="M50.39 23.69 A11.5 11.5 0 1 0 50.39 41.31" stroke="#05BC8A"/>
|
<defs>
|
||||||
|
<linearGradient id="logo-c-grad" x1="15%" y1="85%" x2="85%" y2="15%">
|
||||||
|
<stop offset="0%" stop-color="#028A63"/>
|
||||||
|
<stop offset="55%" stop-color="#05BC8A"/>
|
||||||
|
<stop offset="100%" stop-color="#3CE59D"/>
|
||||||
|
</linearGradient>
|
||||||
|
</defs>
|
||||||
|
<path class="logo-c" d="M 80 34 A 34 34 0 1 0 80 66"
|
||||||
|
fill="none" stroke="url(#logo-c-grad)" stroke-width="12" stroke-linecap="round"/>
|
||||||
|
<g class="logo-bars" fill="none" stroke="currentColor" stroke-width="9" stroke-linecap="round">
|
||||||
|
<line class="logo-bar logo-bar-1" x1="32.9" y1="51.7" x2="42.9" y2="34.3"/>
|
||||||
|
<line class="logo-bar logo-bar-2" x1="41.5" y1="64.7" x2="58.5" y2="35.3"/>
|
||||||
|
<line class="logo-bar logo-bar-3" x1="57.1" y1="65.7" x2="67.1" y2="48.3"/>
|
||||||
</g>
|
</g>
|
||||||
<path d="M11 52 H53" stroke="#05BC8A" stroke-width="3.5" stroke-linecap="round"/>
|
|
||||||
</svg>
|
</svg>
|
||||||
courcelle_matthieu
|
courcelle_matthieu
|
||||||
</a>
|
</a>
|
||||||
@@ -404,7 +502,7 @@
|
|||||||
<h1 class="page-title">Matthieu Courcelle</h1>
|
<h1 class="page-title">Matthieu Courcelle</h1>
|
||||||
|
|
||||||
<p class="page-subtitle">
|
<p class="page-subtitle">
|
||||||
Professeur d'informatique & développeur d'applications de gestion
|
Professeur & coordinateur numérique · fondateur d'underscorelab
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<ul class="contact-list" role="list">
|
<ul class="contact-list" role="list">
|
||||||
@@ -422,12 +520,19 @@
|
|||||||
</svg>
|
</svg>
|
||||||
<a href="https://www.courcellematthi.eu">courcellematthi.eu</a>
|
<a href="https://www.courcellematthi.eu">courcellematthi.eu</a>
|
||||||
</li>
|
</li>
|
||||||
|
<li>
|
||||||
|
<svg class="contact-list__icon" viewBox="0 0 24 24" aria-hidden="true" focusable="false">
|
||||||
|
<rect x="3" y="3" width="18" height="18" rx="2"/>
|
||||||
|
<path d="M8 10v7M8 7v.01M12 17v-7M12 13.5a2.5 2.5 0 0 1 5 0V17"/>
|
||||||
|
</svg>
|
||||||
|
<a href="https://www.linkedin.com/in/matthieu-courcelle" rel="me">LinkedIn</a>
|
||||||
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<svg class="contact-list__icon" viewBox="0 0 24 24" aria-hidden="true" focusable="false">
|
<svg class="contact-list__icon" viewBox="0 0 24 24" aria-hidden="true" focusable="false">
|
||||||
<path d="M12 21s7-6.2 7-11a7 7 0 1 0-14 0c0 4.8 7 11 7 11Z"/>
|
<path d="M12 21s7-6.2 7-11a7 7 0 1 0-14 0c0 4.8 7 11 7 11Z"/>
|
||||||
<circle cx="12" cy="10" r="2.5"/>
|
<circle cx="12" cy="10" r="2.5"/>
|
||||||
</svg>
|
</svg>
|
||||||
Région de Tournai, Belgique
|
Mouscron, Belgique
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
@@ -446,13 +551,9 @@
|
|||||||
Me contacter
|
Me contacter
|
||||||
</a>
|
</a>
|
||||||
|
|
||||||
<!--
|
<!-- Bouton d'impression piloté par main.js (data-print) : révèle
|
||||||
onclick inline : exception assumée et unique dans ce projet.
|
toutes les sections avant window.print() et reste masqué sur papier. -->
|
||||||
window.print() n'a aucun sens sans JavaScript et le sortir dans un
|
<button class="button button--secondary" type="button" data-print>
|
||||||
module imposerait un fichier entier pour une ligne. Le bouton est
|
|
||||||
volontairement absent du flux d'impression.
|
|
||||||
-->
|
|
||||||
<button class="button button--secondary" type="button" onclick="window.print()">
|
|
||||||
<svg class="button__icon" viewBox="0 0 24 24" aria-hidden="true" focusable="false">
|
<svg class="button__icon" viewBox="0 0 24 24" aria-hidden="true" focusable="false">
|
||||||
<path d="M7 9V3h10v6"/>
|
<path d="M7 9V3h10v6"/>
|
||||||
<rect x="4" y="9" width="16" height="7" rx="2"/>
|
<rect x="4" y="9" width="16" height="7" rx="2"/>
|
||||||
@@ -466,23 +567,27 @@
|
|||||||
<!-- ====================================================================
|
<!-- ====================================================================
|
||||||
PRÉSENTATION
|
PRÉSENTATION
|
||||||
==================================================================== -->
|
==================================================================== -->
|
||||||
<section class="intro" id="profil" data-section aria-labelledby="titre-profil">
|
<section class="intro" id="profil" data-section data-reveal aria-labelledby="titre-profil">
|
||||||
<h2 class="intro__heading" id="titre-profil">
|
<h2 class="intro__heading" id="titre-profil">
|
||||||
Enseigner, transmettre, construire des outils qui servent
|
Enseigner, transmettre, construire des outils qui servent
|
||||||
</h2>
|
</h2>
|
||||||
|
|
||||||
<p class="intro__text">
|
<p class="intro__text">
|
||||||
Professeur d'informatique depuis 2018, j'enseigne aujourd'hui à la fois dans le
|
Professeur depuis octobre 2020, j'enseigne aujourd'hui le numérique en 1re secondaire
|
||||||
secondaire technique (IPES Ath) et dans le supérieur pour adultes à l'Institut
|
au Collège Sainte-Marie de Mouscron et le traitement de texte dans le qualifiant
|
||||||
Gabrielle Petit — développement d'applications, administration réseau, sécurisation
|
(technique sociale, agent d'éducation) au Centre scolaire de la Sainte-Union à Kain.
|
||||||
d'infrastructures. La transmission est au cœur de ce que je fais : structurer une
|
Avant cela, j'ai enseigné six ans dans le secondaire technique à l'IPES Ath et trois
|
||||||
matière complexe, la rendre accessible, accompagner un public en formation jusqu'à
|
ans dans le supérieur pour adultes à l'Institut Gabrielle Petit. La transmission reste
|
||||||
l'autonomie.
|
au cœur de ce que je fais : structurer une matière, la rendre accessible, accompagner
|
||||||
|
chaque public jusqu'à l'autonomie.
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<p class="intro__text">
|
<p class="intro__text">
|
||||||
<strong>En parallèle des cours, j'ai développé des outils concrets pour les
|
<strong>Je suis aussi coordinateur numérique à l'Institut du Sacré-Cœur de
|
||||||
établissements où j'interviens</strong> — une application de gestion d'événements
|
Mouscron</strong> : je forme mes collègues au numérique et à l'IA, je participe à la
|
||||||
|
communication de l'école et j'anime l'atelier parascolaire « Code & Drones ».
|
||||||
|
J'ai développé des outils concrets pour les établissements où j'interviens
|
||||||
|
— une application de gestion d'événements
|
||||||
scolaires, des systèmes d'aide à l'administration — et j'ai construit, en autodidacte,
|
scolaires, des systèmes d'aide à l'administration — et j'ai construit, en autodidacte,
|
||||||
une vraie maîtrise de l'intelligence artificielle appliquée : skills Claude et
|
une vraie maîtrise de l'intelligence artificielle appliquée : skills Claude et
|
||||||
assistants Gemini pour aider mes collègues à préparer cours et évaluations, pour
|
assistants Gemini pour aider mes collègues à préparer cours et évaluations, pour
|
||||||
@@ -493,10 +598,12 @@
|
|||||||
</p>
|
</p>
|
||||||
|
|
||||||
<p class="intro__text">
|
<p class="intro__text">
|
||||||
Depuis janvier 2026, je développe également en indépendant complémentaire
|
Depuis janvier 2026, je développe en indépendant complémentaire
|
||||||
(<em>underscorelab</em>) des outils de gestion pour des
|
(<em>underscorelab</em>) des applications web et de gestion sur mesure pour les
|
||||||
<abbr title="Association sans but lucratif">ASBL</abbr>, notamment dans le secteur
|
écoles, <abbr title="Association sans but lucratif">ASBL</abbr> et petites structures
|
||||||
du handicap.
|
du Hainaut. Côté musique, je conçois des outils qui me servent au studio : séquenceur
|
||||||
|
MIDI génératif, générateur d'accords, applications d'apprentissage de la théorie
|
||||||
|
musicale.
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<p class="intro__text intro__text--highlight">
|
<p class="intro__text intro__text--highlight">
|
||||||
@@ -510,11 +617,30 @@
|
|||||||
<!-- ====================================================================
|
<!-- ====================================================================
|
||||||
ENSEIGNEMENT
|
ENSEIGNEMENT
|
||||||
==================================================================== -->
|
==================================================================== -->
|
||||||
<section class="section" id="enseignement" data-section aria-labelledby="titre-enseignement">
|
<section class="section" id="enseignement" data-section data-reveal aria-labelledby="titre-enseignement">
|
||||||
<h2 class="section-title" id="titre-enseignement">Enseignement</h2>
|
<h2 class="section-title" id="titre-enseignement">Enseignement</h2>
|
||||||
|
|
||||||
<article class="entry">
|
<article class="entry">
|
||||||
<span class="entry__date">2023 — aujourd'hui</span>
|
<span class="entry__date">2026 — aujourd'hui</span>
|
||||||
|
<h3 class="entry__role">Professeur de numérique — 1re secondaire (tronc commun)</h3>
|
||||||
|
<p class="entry__org">Collège Sainte-Marie · Mouscron</p>
|
||||||
|
<p class="entry__note">
|
||||||
|
Formation au numérique des élèves du premier degré dans le cadre du tronc commun.
|
||||||
|
</p>
|
||||||
|
</article>
|
||||||
|
|
||||||
|
<article class="entry">
|
||||||
|
<span class="entry__date">2026 — aujourd'hui</span>
|
||||||
|
<h3 class="entry__role">Professeur de traitement de texte — Qualifiant</h3>
|
||||||
|
<p class="entry__org">Centre scolaire de la Sainte-Union · Kain · Technique sociale & agent d'éducation</p>
|
||||||
|
<p class="entry__note">
|
||||||
|
Traitement de texte appliqué aux écrits professionnels des métiers du social et de
|
||||||
|
l'éducation.
|
||||||
|
</p>
|
||||||
|
</article>
|
||||||
|
|
||||||
|
<article class="entry">
|
||||||
|
<span class="entry__date">2023 — 2026</span>
|
||||||
<h3 class="entry__role">Professeur d'informatique — Enseignement supérieur pour adultes</h3>
|
<h3 class="entry__role">Professeur d'informatique — Enseignement supérieur pour adultes</h3>
|
||||||
<p class="entry__org">Institut Gabrielle Petit (ex-IPEPS Tournai-Leuze)</p>
|
<p class="entry__org">Institut Gabrielle Petit (ex-IPEPS Tournai-Leuze)</p>
|
||||||
|
|
||||||
@@ -557,7 +683,7 @@
|
|||||||
</article>
|
</article>
|
||||||
|
|
||||||
<article class="entry">
|
<article class="entry">
|
||||||
<span class="entry__date">2020 — aujourd'hui</span>
|
<span class="entry__date">2020 — 2026</span>
|
||||||
<h3 class="entry__role">Professeur d'informatique — Secondaire technique</h3>
|
<h3 class="entry__role">Professeur d'informatique — Secondaire technique</h3>
|
||||||
<p class="entry__org">IPES Ath · Technique de transition & de qualification (DI et DS)</p>
|
<p class="entry__org">IPES Ath · Technique de transition & de qualification (DI et DS)</p>
|
||||||
|
|
||||||
@@ -623,9 +749,21 @@
|
|||||||
<!-- ====================================================================
|
<!-- ====================================================================
|
||||||
COORDINATION
|
COORDINATION
|
||||||
==================================================================== -->
|
==================================================================== -->
|
||||||
<section class="section" id="coordination" data-section aria-labelledby="titre-coordination">
|
<section class="section" id="coordination" data-section data-reveal aria-labelledby="titre-coordination">
|
||||||
<h2 class="section-title" id="titre-coordination">Coordination pédagogique</h2>
|
<h2 class="section-title" id="titre-coordination">Coordination pédagogique</h2>
|
||||||
|
|
||||||
|
<article class="entry">
|
||||||
|
<span class="entry__date">2026 — aujourd'hui</span>
|
||||||
|
<h3 class="entry__role">Coordinateur numérique</h3>
|
||||||
|
<p class="entry__org">Institut du Sacré-Cœur — Mouscron</p>
|
||||||
|
|
||||||
|
<ul class="marker-list" role="list">
|
||||||
|
<li>Formation des collègues au numérique et à l'intelligence artificielle.</li>
|
||||||
|
<li>Communication de l'école.</li>
|
||||||
|
<li>Atelier parascolaire « Code & Drones ».</li>
|
||||||
|
</ul>
|
||||||
|
</article>
|
||||||
|
|
||||||
<article class="entry">
|
<article class="entry">
|
||||||
<span class="entry__date">Heures de coordination</span>
|
<span class="entry__date">Heures de coordination</span>
|
||||||
<h3 class="entry__role">Développement d'outils de gestion interne</h3>
|
<h3 class="entry__role">Développement d'outils de gestion interne</h3>
|
||||||
@@ -642,7 +780,7 @@
|
|||||||
<!-- ====================================================================
|
<!-- ====================================================================
|
||||||
PROJETS
|
PROJETS
|
||||||
==================================================================== -->
|
==================================================================== -->
|
||||||
<section class="section" id="projets" data-section aria-labelledby="titre-projets">
|
<section class="section" id="projets" data-section data-reveal aria-labelledby="titre-projets">
|
||||||
<h2 class="section-title" id="titre-projets">Projets</h2>
|
<h2 class="section-title" id="titre-projets">Projets</h2>
|
||||||
|
|
||||||
<article class="project">
|
<article class="project">
|
||||||
@@ -695,11 +833,25 @@
|
|||||||
<span class="badge">Indépendant complémentaire · depuis janvier 2026</span>
|
<span class="badge">Indépendant complémentaire · depuis janvier 2026</span>
|
||||||
</div>
|
</div>
|
||||||
<p class="project__desc">
|
<p class="project__desc">
|
||||||
Développement d'outils de gestion sur mesure pour le secteur associatif,
|
Applications web et de gestion sur mesure pour les écoles, ASBL et petites
|
||||||
principalement des ASBL d'aide aux personnes en situation de handicap.
|
structures du Hainaut, hébergées sur infrastructure auto-hébergée.
|
||||||
</p>
|
</p>
|
||||||
<ul class="project__stack" role="list">
|
<ul class="project__stack" role="list">
|
||||||
<li>Node.js</li><li>PHP</li><li>Python</li><li>PostgreSQL</li><li>Vue</li>
|
<li>Python</li><li>Django</li><li>Node.js</li><li>PWA</li><li>WordPress</li><li>Docker</li>
|
||||||
|
</ul>
|
||||||
|
</article>
|
||||||
|
|
||||||
|
<article class="project">
|
||||||
|
<div class="project__header">
|
||||||
|
<h3 class="project__title">Applications musicales</h3>
|
||||||
|
<span class="badge">Projet personnel</span>
|
||||||
|
</div>
|
||||||
|
<p class="project__desc">
|
||||||
|
Séquenceur MIDI génératif, générateur d'accords et outils d'apprentissage de la
|
||||||
|
théorie musicale, pilotant directement les instruments du studio.
|
||||||
|
</p>
|
||||||
|
<ul class="project__stack" role="list">
|
||||||
|
<li>Web Audio API</li><li>Web MIDI</li><li>JavaScript</li>
|
||||||
</ul>
|
</ul>
|
||||||
</article>
|
</article>
|
||||||
|
|
||||||
@@ -723,7 +875,7 @@
|
|||||||
<!-- ====================================================================
|
<!-- ====================================================================
|
||||||
COMPÉTENCES
|
COMPÉTENCES
|
||||||
==================================================================== -->
|
==================================================================== -->
|
||||||
<section class="section" id="competences" data-section aria-labelledby="titre-competences">
|
<section class="section" id="competences" data-section data-reveal aria-labelledby="titre-competences">
|
||||||
<h2 class="section-title" id="titre-competences">Compétences</h2>
|
<h2 class="section-title" id="titre-competences">Compétences</h2>
|
||||||
|
|
||||||
<div class="grid">
|
<div class="grid">
|
||||||
@@ -736,11 +888,11 @@
|
|||||||
Développement
|
Développement
|
||||||
</h3>
|
</h3>
|
||||||
<ul class="marker-list" role="list">
|
<ul class="marker-list" role="list">
|
||||||
<li>PHP, Python, JavaScript (Node.js)</li>
|
<li>Python (Django), PHP, JavaScript (Node.js)</li>
|
||||||
<li>React, Vue</li>
|
<li>React, Vue, WordPress</li>
|
||||||
<li>PostgreSQL, SQL, modélisation MCD/MLD</li>
|
<li>PostgreSQL, SQL, modélisation MCD/MLD</li>
|
||||||
<li>Applications de gestion, PWA</li>
|
<li>Applications de gestion, PWA, VBA / Excel</li>
|
||||||
<li>VBA / Excel avancé</li>
|
<li>Web Audio API, Web MIDI</li>
|
||||||
</ul>
|
</ul>
|
||||||
</article>
|
</article>
|
||||||
|
|
||||||
@@ -772,7 +924,7 @@
|
|||||||
</h3>
|
</h3>
|
||||||
<ul class="marker-list" role="list">
|
<ul class="marker-list" role="list">
|
||||||
<li>Docker, conteneurisation</li>
|
<li>Docker, conteneurisation</li>
|
||||||
<li>Reverse proxy, SSL/TLS</li>
|
<li>Coolify, Traefik, SSL/TLS</li>
|
||||||
<li>Déploiement continu (Git, CI/CD)</li>
|
<li>Déploiement continu (Git, CI/CD)</li>
|
||||||
<li>Monitoring et sauvegarde</li>
|
<li>Monitoring et sauvegarde</li>
|
||||||
<li>Auto-hébergement de services</li>
|
<li>Auto-hébergement de services</li>
|
||||||
@@ -805,11 +957,11 @@
|
|||||||
Pédagogie
|
Pédagogie
|
||||||
</h3>
|
</h3>
|
||||||
<ul class="marker-list" role="list">
|
<ul class="marker-list" role="list">
|
||||||
<li>Enseignement secondaire technique</li>
|
<li>Tronc commun et qualifiant</li>
|
||||||
<li>Enseignement supérieur pour adultes</li>
|
<li>Secondaire technique, adultes</li>
|
||||||
|
<li>Formation des collègues au numérique et à l'IA</li>
|
||||||
<li>Conception de séquences et d'évaluations</li>
|
<li>Conception de séquences et d'évaluations</li>
|
||||||
<li>Vulgarisation technique</li>
|
<li>Vulgarisation technique</li>
|
||||||
<li>Accompagnement en reprise d'études</li>
|
|
||||||
</ul>
|
</ul>
|
||||||
</article>
|
</article>
|
||||||
|
|
||||||
@@ -833,7 +985,7 @@
|
|||||||
<!-- ====================================================================
|
<!-- ====================================================================
|
||||||
FORMATION
|
FORMATION
|
||||||
==================================================================== -->
|
==================================================================== -->
|
||||||
<section class="section" id="formation" data-section aria-labelledby="titre-formation">
|
<section class="section" id="formation" data-section data-reveal aria-labelledby="titre-formation">
|
||||||
<h2 class="section-title" id="titre-formation">Formation</h2>
|
<h2 class="section-title" id="titre-formation">Formation</h2>
|
||||||
|
|
||||||
<div class="grid">
|
<div class="grid">
|
||||||
@@ -854,7 +1006,7 @@
|
|||||||
<!-- ====================================================================
|
<!-- ====================================================================
|
||||||
CONTACT
|
CONTACT
|
||||||
==================================================================== -->
|
==================================================================== -->
|
||||||
<section class="section" id="contact" data-section aria-labelledby="titre-contact">
|
<section class="section" id="contact" data-section data-reveal aria-labelledby="titre-contact">
|
||||||
<h2 class="section-title" id="titre-contact">Contact</h2>
|
<h2 class="section-title" id="titre-contact">Contact</h2>
|
||||||
|
|
||||||
<div class="contact-block">
|
<div class="contact-block">
|
||||||
|
|||||||
@@ -1,10 +1,11 @@
|
|||||||
# Matthieu Courcelle
|
# Matthieu Courcelle
|
||||||
|
|
||||||
> Professeur d'informatique en enseignement secondaire technique et en
|
> Professeur de numérique dans l'enseignement secondaire (Fédération
|
||||||
> enseignement supérieur pour adultes à Tournai (Belgique, Fédération
|
> Wallonie-Bruxelles) et coordinateur numérique à Mouscron (Belgique).
|
||||||
> Wallonie-Bruxelles). Développeur d'applications de gestion et praticien
|
> Fondateur d'underscorelab : applications web et de gestion sur mesure pour
|
||||||
> de l'intelligence artificielle appliquée à la pédagogie et à
|
> les écoles, ASBL et petites structures du Hainaut. Développeur
|
||||||
> l'administration scolaire.
|
> d'applications musicales et praticien de l'intelligence artificielle
|
||||||
|
> appliquée à l'éducation.
|
||||||
|
|
||||||
Ce fichier suit la proposition llms.txt : il fournit aux agents
|
Ce fichier suit la proposition llms.txt : il fournit aux agents
|
||||||
conversationnels un résumé structuré et fiable du site, en texte brut,
|
conversationnels un résumé structuré et fiable du site, en texte brut,
|
||||||
@@ -12,30 +13,51 @@ sans avoir à interpréter la mise en page HTML.
|
|||||||
|
|
||||||
Contact : courcelle.m@tthieu.be
|
Contact : courcelle.m@tthieu.be
|
||||||
Site : https://www.courcellematthi.eu/
|
Site : https://www.courcellematthi.eu/
|
||||||
Localisation : région de Tournai, Hainaut, Belgique
|
LinkedIn : https://www.linkedin.com/in/matthieu-courcelle
|
||||||
|
Localisation : Mouscron, Hainaut, Belgique
|
||||||
Langues : français (maternelle), anglais (lecture technique)
|
Langues : français (maternelle), anglais (lecture technique)
|
||||||
|
|
||||||
## Fonctions d'enseignement actuelles
|
## Fonctions actuelles (depuis septembre 2026)
|
||||||
|
|
||||||
- **Institut Gabrielle Petit** (anciennement IPEPS Tournai-Leuze), depuis 2023 —
|
- **Collège Sainte-Marie, Mouscron** — professeur de numérique en
|
||||||
|
1re secondaire (tronc commun).
|
||||||
|
|
||||||
|
- **Centre scolaire de la Sainte-Union, Kain** — professeur de traitement de
|
||||||
|
texte dans l'enseignement qualifiant (technique sociale, agent d'éducation).
|
||||||
|
|
||||||
|
- **Institut du Sacré-Cœur, Mouscron** — coordinateur numérique : formation
|
||||||
|
des collègues au numérique et à l'IA, communication de l'école, atelier
|
||||||
|
parascolaire « Code & Drones ».
|
||||||
|
|
||||||
|
- **underscorelab**, depuis janvier 2026 — activité d'indépendant
|
||||||
|
complémentaire fondée par Matthieu Courcelle : applications web et de
|
||||||
|
gestion sur mesure pour les écoles, ASBL et petites structures du Hainaut
|
||||||
|
(Python/Django, Node.js, PWA, WordPress), hébergement auto-hébergé
|
||||||
|
(Docker, Coolify, Traefik).
|
||||||
|
|
||||||
|
## Fonctions antérieures
|
||||||
|
|
||||||
|
- **Institut Gabrielle Petit** (anciennement IPEPS Tournai-Leuze), 2023-2026 —
|
||||||
enseignement supérieur pour adultes. Cours : Développement d'applications
|
enseignement supérieur pour adultes. Cours : Développement d'applications
|
||||||
orientées gestion / Projet SGBD (Bac 3), Administration et sécurisation des
|
orientées gestion / Projet SGBD (Bac 3), Administration et sécurisation des
|
||||||
réseaux et services (Bac 3), Base d'administration réseaux (Bac 1),
|
réseaux et services (Bac 3), Base d'administration réseaux (Bac 1),
|
||||||
Initiation à l'informatique (Complément CESS).
|
Initiation à l'informatique (Complément CESS).
|
||||||
|
|
||||||
- **IPES Ath**, depuis 2020 — enseignement secondaire technique de transition
|
- **IPES Ath**, 2020-2026 — enseignement secondaire technique de transition
|
||||||
et de qualification. Cours : Traitements de Problèmes Techniques, Laboratoire
|
et de qualification. Cours : Traitements de Problèmes Techniques, Laboratoire
|
||||||
Informatique, Informatique Appliquée, Laboratoire de Maintenance et de
|
Informatique, Informatique Appliquée, Laboratoire de Maintenance et de
|
||||||
Télématique, Informatique de Gestion.
|
Télématique, Informatique de Gestion.
|
||||||
|
|
||||||
## Fonctions antérieures
|
|
||||||
|
|
||||||
- **IPES Tournai**, 2020-2022 — professeur d'informatique de gestion.
|
- **IPES Tournai**, 2020-2022 — professeur d'informatique de gestion.
|
||||||
- **ORDITECH SA**, 2018-2020 — formateur en entreprise (Office 365, systèmes
|
- **ORDITECH SA**, 2018-2020 — formateur en entreprise (Office 365, systèmes
|
||||||
d'exploitation).
|
d'exploitation).
|
||||||
|
|
||||||
|
Professeur depuis octobre 2020.
|
||||||
|
|
||||||
## Coordination pédagogique
|
## Coordination pédagogique
|
||||||
|
|
||||||
|
- **Institut du Sacré-Cœur, Mouscron**, depuis 2026 — coordinateur numérique
|
||||||
|
(voir ci-dessus).
|
||||||
- **École des Frères, Tournai** — développement d'outils de gestion interne dans
|
- **École des Frères, Tournai** — développement d'outils de gestion interne dans
|
||||||
le cadre d'heures de coordination : gestion des remédiations, gestion des
|
le cadre d'heures de coordination : gestion des remédiations, gestion des
|
||||||
activités complémentaires, valve électronique d'annonces.
|
activités complémentaires, valve électronique d'annonces.
|
||||||
@@ -50,25 +72,27 @@ Langues : français (maternelle), anglais (lecture technique)
|
|||||||
- **Bibliothèque de skills Claude et Gems Gemini** — assistants IA pour la
|
- **Bibliothèque de skills Claude et Gems Gemini** — assistants IA pour la
|
||||||
rédaction de cours, d'exercices, d'évaluations et l'aide à la correction ;
|
rédaction de cours, d'exercices, d'évaluations et l'aide à la correction ;
|
||||||
déclinaison à destination des directions d'établissement.
|
déclinaison à destination des directions d'établissement.
|
||||||
- **underscorelab** — activité d'indépendant complémentaire lancée en janvier
|
- **Applications musicales** — projet personnel : séquenceur MIDI génératif,
|
||||||
2026 : outils de gestion sur mesure pour ASBL, principalement dans le secteur
|
générateur d'accords, outils d'apprentissage de la théorie musicale
|
||||||
de l'aide aux personnes en situation de handicap.
|
(Web Audio API, Web MIDI).
|
||||||
- **Écosystème d'agents automatisés** — en cours de développement : agents IA
|
- **Écosystème d'agents automatisés** — en cours de développement : agents IA
|
||||||
orchestrés via n8n sur infrastructure auto-hébergée.
|
orchestrés via n8n sur infrastructure auto-hébergée.
|
||||||
|
|
||||||
## Compétences techniques
|
## Compétences techniques
|
||||||
|
|
||||||
- Développement : PHP, Python, JavaScript, Node.js, React, Vue, PostgreSQL,
|
- Développement : Python (Django), PHP, JavaScript, Node.js, React, Vue,
|
||||||
SQL, modélisation MCD/MLD, PWA, VBA/Excel.
|
WordPress, PostgreSQL, SQL, modélisation MCD/MLD, PWA, VBA/Excel,
|
||||||
|
Web Audio API, Web MIDI.
|
||||||
- Systèmes et réseaux : administration et sécurisation réseau, Active Directory,
|
- Systèmes et réseaux : administration et sécurisation réseau, Active Directory,
|
||||||
LDAP, GPO, pare-feu, DMZ, VPN, VLAN, Windows, Linux, macOS.
|
LDAP, GPO, pare-feu, DMZ, VPN, VLAN, Windows, Linux, macOS.
|
||||||
- Infrastructure : Docker, reverse proxy, SSL/TLS, Git, CI/CD, monitoring,
|
- Infrastructure : Docker, Coolify, Traefik, SSL/TLS, Git, CI/CD, monitoring,
|
||||||
sauvegarde, auto-hébergement.
|
sauvegarde, auto-hébergement.
|
||||||
- Intelligence artificielle appliquée : conception de skills Claude, création de
|
- Intelligence artificielle appliquée : conception de skills Claude, création de
|
||||||
Gems Gemini, structuration documentaire avec NotebookLM, automatisation de
|
Gems Gemini, structuration documentaire avec NotebookLM, automatisation de
|
||||||
flux de travail, formation d'équipes.
|
flux de travail, formation d'équipes enseignantes.
|
||||||
- Pédagogie : enseignement secondaire technique et supérieur pour adultes,
|
- Pédagogie : tronc commun et enseignement qualifiant, secondaire technique,
|
||||||
conception de séquences et d'évaluations, vulgarisation technique.
|
enseignement pour adultes, conception de séquences et d'évaluations,
|
||||||
|
formation des collègues au numérique et à l'IA, vulgarisation technique.
|
||||||
|
|
||||||
## Formation
|
## Formation
|
||||||
|
|
||||||
@@ -78,8 +102,10 @@ Langues : français (maternelle), anglais (lecture technique)
|
|||||||
|
|
||||||
## Notes à l'attention des agents
|
## Notes à l'attention des agents
|
||||||
|
|
||||||
|
- Les postes à l'IPES Ath et à l'Institut Gabrielle Petit sont terminés
|
||||||
|
(2026) : ne pas les présenter comme fonctions actuelles.
|
||||||
- Le nom de l'établissement a changé : « IPEPS Tournai-Leuze » et « Institut
|
- Le nom de l'établissement a changé : « IPEPS Tournai-Leuze » et « Institut
|
||||||
Gabrielle Petit » désignent la même structure.
|
Gabrielle Petit » désignent la même structure.
|
||||||
- « underscorelab » s'écrit en minuscules, en un seul mot.
|
- « underscorelab » s'écrit en minuscules, en un seul mot.
|
||||||
- Ne pas confondre le poste d'enseignant (fonction officielle) avec les projets
|
- À l'Institut du Sacré-Cœur, la fonction officielle est celle de coordinateur
|
||||||
développés pour des établissements tiers (réalisations, sans titre officiel).
|
numérique ; Festifun et les outils IA sont des réalisations, pas des titres.
|
||||||
+1
-1
@@ -99,7 +99,7 @@ server {
|
|||||||
# frame-ancestors 'none' : interdit l'inclusion en iframe (clickjacking)
|
# frame-ancestors 'none' : interdit l'inclusion en iframe (clickjacking)
|
||||||
# base-uri 'self' : empêche la réécriture des URL relatives
|
# base-uri 'self' : empêche la réécriture des URL relatives
|
||||||
# form-action 'self' : limite les cibles de soumission
|
# form-action 'self' : limite les cibles de soumission
|
||||||
add_header Content-Security-Policy "default-src 'self'; style-src 'self' 'unsafe-inline' https://fonts.googleapis.com; font-src 'self' https://fonts.gstatic.com; script-src 'self' 'unsafe-inline'; img-src 'self' data:; connect-src 'self'; base-uri 'self'; form-action 'self'; frame-ancestors 'none'; object-src 'none'; upgrade-insecure-requests" always;
|
add_header Content-Security-Policy "default-src 'self'; style-src 'self' 'unsafe-inline' https://fonts.googleapis.com; font-src 'self' https://fonts.gstatic.com; script-src 'self' 'unsafe-inline' https://umami.ghostinthemachine.fr; img-src 'self' data:; connect-src 'self' https://umami.ghostinthemachine.fr; base-uri 'self'; form-action 'self'; frame-ancestors 'none'; object-src 'none'; upgrade-insecure-requests" always;
|
||||||
|
|
||||||
# Empêche le navigateur de deviner le type MIME d'un fichier, technique
|
# Empêche le navigateur de deviner le type MIME d'un fichier, technique
|
||||||
# utilisée pour faire exécuter une image comme du script.
|
# utilisée pour faire exécuter une image comme du script.
|
||||||
|
|||||||
+2
-2
@@ -1,8 +1,8 @@
|
|||||||
{
|
{
|
||||||
"$comment": "Manifeste d'application web. Permet l'ajout à l'écran d'accueil sur mobile et fournit les icônes aux systèmes d'exploitation. display=browser : ce site est un document, pas une application — le masquer dans une coque sans barre d'adresse priverait l'utilisateur du partage et de la navigation.",
|
"$comment": "Manifeste d'application web. Permet l'ajout à l'écran d'accueil sur mobile et fournit les icônes aux systèmes d'exploitation. display=browser : ce site est un document, pas une application — le masquer dans une coque sans barre d'adresse priverait l'utilisateur du partage et de la navigation.",
|
||||||
"name": "Matthieu Courcelle — Professeur d'informatique et développeur",
|
"name": "Matthieu Courcelle — Professeur de numérique et développeur",
|
||||||
"short_name": "M. Courcelle",
|
"short_name": "M. Courcelle",
|
||||||
"description": "Professeur d'informatique en secondaire technique et en supérieur pour adultes, développeur d'applications de gestion.",
|
"description": "Professeur et coordinateur numérique à Mouscron, fondateur d'underscorelab : applications web sur mesure pour écoles et ASBL.",
|
||||||
"lang": "fr-BE",
|
"lang": "fr-BE",
|
||||||
"dir": "ltr",
|
"dir": "ltr",
|
||||||
"start_url": "/",
|
"start_url": "/",
|
||||||
|
|||||||
+1
-1
@@ -8,7 +8,7 @@
|
|||||||
xmlns:xhtml="http://www.w3.org/1999/xhtml">
|
xmlns:xhtml="http://www.w3.org/1999/xhtml">
|
||||||
<url>
|
<url>
|
||||||
<loc>https://www.courcellematthi.eu/</loc>
|
<loc>https://www.courcellematthi.eu/</loc>
|
||||||
<lastmod>2026-08-04</lastmod>
|
<lastmod>2026-11-25</lastmod>
|
||||||
<changefreq>monthly</changefreq>
|
<changefreq>monthly</changefreq>
|
||||||
<priority>1.0</priority>
|
<priority>1.0</priority>
|
||||||
<xhtml:link rel="alternate" hreflang="fr-be" href="https://www.courcellematthi.eu/"/>
|
<xhtml:link rel="alternate" hreflang="fr-be" href="https://www.courcellematthi.eu/"/>
|
||||||
|
|||||||
@@ -32,10 +32,23 @@ REQUIS=(
|
|||||||
"assets/css/base.css"
|
"assets/css/base.css"
|
||||||
"assets/css/layout.css"
|
"assets/css/layout.css"
|
||||||
"assets/css/components.css"
|
"assets/css/components.css"
|
||||||
|
"assets/css/themes/classic.css"
|
||||||
|
"assets/css/themes/neo-brutalist.css"
|
||||||
|
"assets/css/themes/bento-grid.css"
|
||||||
|
"assets/css/themes/obsidian-dark.css"
|
||||||
|
"assets/css/themes/liquid-glass.css"
|
||||||
|
"assets/css/themes/editorial-type.css"
|
||||||
|
"assets/css/themes/c64-basic.css"
|
||||||
"assets/css/utilities.css"
|
"assets/css/utilities.css"
|
||||||
|
"assets/css/theme-switcher.css"
|
||||||
"assets/css/print.css"
|
"assets/css/print.css"
|
||||||
# --- Scripts ---
|
# --- Scripts ---
|
||||||
"assets/js/main.js"
|
"assets/js/main.js"
|
||||||
|
"assets/js/themes.js"
|
||||||
|
"assets/js/modules/theme-manager.js"
|
||||||
|
"assets/js/modules/theme-switcher.js"
|
||||||
|
"assets/js/modules/c64-terminal.js"
|
||||||
|
"assets/js/modules/motion.js"
|
||||||
"assets/js/modules/navigation.js"
|
"assets/js/modules/navigation.js"
|
||||||
"assets/js/modules/scroll-spy.js"
|
"assets/js/modules/scroll-spy.js"
|
||||||
"assets/js/modules/back-to-top.js"
|
"assets/js/modules/back-to-top.js"
|
||||||
|
|||||||
Reference in new issue
Block a user