transfert css
Retrait des balises et ajout référence fichier externalisé
This commit is contained in:
@@ -6,616 +6,14 @@
|
||||
<title>Vespa velutina — Invasion de France | NextGN Formation</title>
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/Chart.js/4.4.1/chart.umd.min.js"></script>
|
||||
<link href="https://fonts.googleapis.com/css2?family=Syne:wght@400;600;700;800&family=DM+Sans:ital,wght@0,300;0,400;0,500;1,300&display=swap" rel="stylesheet">
|
||||
<style>
|
||||
:root {
|
||||
--amber: #BA7517;
|
||||
--amber-mid: #BA7517;
|
||||
--amber-light: #FAEEDA;
|
||||
--amber-dark: #633806;
|
||||
--amber: #BA7517;
|
||||
--amber-light: #FAEEDA;
|
||||
--amber-dark: #633806;
|
||||
--coral: #993C1D;
|
||||
--coral-mid: #D85A30;
|
||||
--coral-light: #FAECE7;
|
||||
--purple: #BA7517;
|
||||
--purple-light: #FAEEDA;
|
||||
--purple-dark: #633806;
|
||||
--blue: #BA7517;
|
||||
--blue-light: #FAEEDA;
|
||||
--bg: #F7F6F2;
|
||||
--white: #FFFFFF;
|
||||
--text: #1a1a18;
|
||||
--text-muted: #6b6a65;
|
||||
--border: rgba(0,0,0,0.1);
|
||||
}
|
||||
|
||||
* { margin: 0; padding: 0; box-sizing: border-box; }
|
||||
|
||||
html { scroll-behavior: smooth; }
|
||||
|
||||
body {
|
||||
background: var(--bg);
|
||||
color: var(--text);
|
||||
font-family: 'DM Sans', sans-serif;
|
||||
font-weight: 400;
|
||||
min-height: 100vh;
|
||||
padding-top: 70px;
|
||||
}
|
||||
|
||||
@media print {
|
||||
.no-print { display: none !important; }
|
||||
body { background: white; padding-top: 0; }
|
||||
}
|
||||
|
||||
/* ═══ HEADER FIXE ═══════════════════════════════════════════════════════ */
|
||||
.nav-header {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
height: 70px;
|
||||
background: rgba(250, 238, 218, 0.98);
|
||||
backdrop-filter: blur(10px);
|
||||
border-bottom: 2px solid var(--amber);
|
||||
z-index: 1000;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
padding: 0 40px;
|
||||
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
|
||||
}
|
||||
|
||||
.header-logo {
|
||||
font-family: 'Syne', sans-serif;
|
||||
font-size: 18px;
|
||||
font-weight: 800;
|
||||
letter-spacing: 0.02em;
|
||||
background: linear-gradient(135deg, var(--amber-mid) 0%, var(--amber-dark) 100%);
|
||||
-webkit-background-clip: text;
|
||||
-webkit-text-fill-color: transparent;
|
||||
background-clip: text;
|
||||
text-decoration: none;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.header-logo span {
|
||||
color: var(--amber);
|
||||
}
|
||||
|
||||
.header-nav {
|
||||
display: flex;
|
||||
gap: 40px;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.header-nav a {
|
||||
font-family: 'Syne', sans-serif;
|
||||
font-size: 12px;
|
||||
font-weight: 700;
|
||||
letter-spacing: 0.08em;
|
||||
text-transform: uppercase;
|
||||
color: var(--text);
|
||||
text-decoration: none;
|
||||
position: relative;
|
||||
transition: color 0.3s ease;
|
||||
}
|
||||
|
||||
.header-nav a::after {
|
||||
content: '';
|
||||
position: absolute;
|
||||
bottom: -4px;
|
||||
left: 0;
|
||||
width: 0;
|
||||
height: 2px;
|
||||
background: var(--amber);
|
||||
transition: width 0.3s ease;
|
||||
}
|
||||
|
||||
.header-nav a:hover {
|
||||
color: var(--amber);
|
||||
}
|
||||
|
||||
.header-nav a:hover::after {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.toggle-toc {
|
||||
font-family: 'Syne', sans-serif;
|
||||
font-size: 12px;
|
||||
font-weight: 700;
|
||||
letter-spacing: 0.08em;
|
||||
text-transform: uppercase;
|
||||
background: var(--amber-light);
|
||||
color: var(--amber);
|
||||
border: 1px solid var(--amber-mid);
|
||||
padding: 8px 16px;
|
||||
border-radius: 6px;
|
||||
cursor: pointer;
|
||||
transition: all 0.3s ease;
|
||||
display: none;
|
||||
}
|
||||
|
||||
.toggle-toc:hover {
|
||||
background: var(--amber);
|
||||
color: var(--white);
|
||||
transform: translateY(-2px);
|
||||
box-shadow: 0 8px 16px rgba(186, 117, 23, 0.25);
|
||||
}
|
||||
|
||||
/* ═══ BARRE DE PROGRESSION ══════════════════════════════════════════════ */
|
||||
.progress {
|
||||
position: fixed;
|
||||
top: 70px;
|
||||
left: 0;
|
||||
right: 0;
|
||||
height: 3px;
|
||||
background: var(--border);
|
||||
z-index: 999;
|
||||
}
|
||||
|
||||
.progress-bar {
|
||||
height: 100%;
|
||||
background: var(--amber);
|
||||
width: 0%;
|
||||
transition: width 0.3s ease;
|
||||
}
|
||||
|
||||
/* ═══ SOMMAIRE COLLAPSIBLE ═════════════════════════════════════════════ */
|
||||
.toc-overlay {
|
||||
display: none;
|
||||
position: fixed;
|
||||
top: 70px;
|
||||
left: 0;
|
||||
right: 0;
|
||||
background: rgba(0, 0, 0, 0.3);
|
||||
z-index: 999;
|
||||
backdrop-filter: blur(5px);
|
||||
}
|
||||
|
||||
.toc-overlay.active {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.toc-panel {
|
||||
position: fixed;
|
||||
top: 70px;
|
||||
right: -320px;
|
||||
width: 320px;
|
||||
height: calc(100vh - 70px);
|
||||
background: var(--amber-light);
|
||||
border-left: 1px solid var(--border);
|
||||
z-index: 1001;
|
||||
overflow-y: auto;
|
||||
transition: right 0.3s ease;
|
||||
box-shadow: -4px 0 16px rgba(0, 0, 0, 0.1);
|
||||
}
|
||||
|
||||
.toc-panel.active {
|
||||
right: 0;
|
||||
}
|
||||
|
||||
.toc-panel h3 {
|
||||
font-family: 'Syne', sans-serif;
|
||||
font-size: 16px;
|
||||
font-weight: 700;
|
||||
color: var(--amber);
|
||||
padding: 20px;
|
||||
border-bottom: 2px solid var(--amber);
|
||||
}
|
||||
|
||||
.toc-list {
|
||||
list-style: none;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.toc-item {
|
||||
border-bottom: 2px solid var(--amber);
|
||||
}
|
||||
|
||||
.toc-link {
|
||||
display: block;
|
||||
padding: 14px 20px;
|
||||
font-size: 13px;
|
||||
color: var(--text);
|
||||
text-decoration: none;
|
||||
transition: all 0.2s ease;
|
||||
}
|
||||
|
||||
.toc-link:hover {
|
||||
background: var(--amber-light);
|
||||
color: var(--amber);
|
||||
padding-left: 24px;
|
||||
}
|
||||
|
||||
/* ═══ ANIMATIONS ═══════════════════════════════════════════════════════ */
|
||||
@keyframes fadeIn {
|
||||
from { opacity: 0; transform: translateY(10px); }
|
||||
to { opacity: 1; transform: translateY(0); }
|
||||
}
|
||||
|
||||
@keyframes slideInLeft {
|
||||
from { opacity: 0; transform: translateX(-20px); }
|
||||
to { opacity: 1; transform: translateX(0); }
|
||||
}
|
||||
|
||||
.section {
|
||||
animation: fadeIn 0.6s ease-out;
|
||||
}
|
||||
|
||||
/* ═══ LAYOUT PRINCIPAL ══════════════════════════════════════════════════ */
|
||||
main {
|
||||
max-width: 1200px;
|
||||
margin: 0 auto;
|
||||
padding: 40px 20px;
|
||||
}
|
||||
|
||||
/* ═══ HERO / HEADER SECTION ════════════════════════════════════════════ */
|
||||
.hero {
|
||||
background: var(--amber-light);
|
||||
border-left: 4px solid var(--amber-mid);
|
||||
border-radius: 8px;
|
||||
padding: 40px;
|
||||
margin-bottom: 40px;
|
||||
animation: fadeIn 0.6s ease-out;
|
||||
}
|
||||
|
||||
.hero h1 {
|
||||
font-family: 'Syne', sans-serif;
|
||||
font-size: 48px;
|
||||
font-weight: 800;
|
||||
line-height: 1.2;
|
||||
color: var(--text);
|
||||
margin-bottom: 16px;
|
||||
}
|
||||
|
||||
.hero-subtitle {
|
||||
font-size: 18px;
|
||||
color: var(--text-muted);
|
||||
margin-bottom: 12px;
|
||||
line-height: 1.6;
|
||||
}
|
||||
|
||||
.hero-meta {
|
||||
font-family: 'Syne', sans-serif;
|
||||
font-size: 12px;
|
||||
font-weight: 700;
|
||||
letter-spacing: 0.08em;
|
||||
text-transform: uppercase;
|
||||
color: var(--amber);
|
||||
margin-top: 20px;
|
||||
}
|
||||
|
||||
/* ═══ INTRO BOX ═════════════════════════════════════════════════════════ */
|
||||
.intro {
|
||||
background: var(--amber-light);
|
||||
border-left: 4px solid var(--amber-mid);
|
||||
border-radius: 8px;
|
||||
padding: 20px;
|
||||
margin-bottom: 30px;
|
||||
font-size: 0.95em;
|
||||
color: var(--text-muted);
|
||||
line-height: 1.6;
|
||||
}
|
||||
|
||||
/* ═══ SECTIONS H2 ══════════════════════════════════════════════════════ */
|
||||
h2 {
|
||||
font-family: 'Syne', sans-serif;
|
||||
font-size: 32px;
|
||||
font-weight: 700;
|
||||
color: var(--text);
|
||||
margin: 50px 0 20px;
|
||||
padding-bottom: 12px;
|
||||
border-bottom: 3px solid var(--amber-mid);
|
||||
animation: slideInLeft 0.6s ease-out;
|
||||
}
|
||||
|
||||
h2:target {
|
||||
background: var(--amber-light);
|
||||
padding: 20px;
|
||||
border-radius: 8px;
|
||||
margin-left: -20px;
|
||||
margin-right: -20px;
|
||||
padding-left: 20px;
|
||||
}
|
||||
|
||||
h3 {
|
||||
font-family: 'Syne', sans-serif;
|
||||
font-size: 20px;
|
||||
font-weight: 600;
|
||||
color: var(--text);
|
||||
margin: 25px 0 12px;
|
||||
}
|
||||
|
||||
/* ═══ GRILLE DE CONTENU ════════════════════════════════════════════════ */
|
||||
.grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
|
||||
gap: 24px;
|
||||
margin-bottom: 30px;
|
||||
}
|
||||
|
||||
.card {
|
||||
background: var(--amber-light);
|
||||
border: 1px solid var(--border);
|
||||
border-radius: 8px;
|
||||
padding: 24px;
|
||||
transition: all 0.3s ease;
|
||||
}
|
||||
|
||||
.card:hover {
|
||||
box-shadow: 0 8px 24px rgba(186, 117, 23, 0.1);
|
||||
transform: translateY(-4px);
|
||||
}
|
||||
|
||||
.card-title {
|
||||
font-family: 'Syne', sans-serif;
|
||||
font-size: 14px;
|
||||
font-weight: 700;
|
||||
letter-spacing: 0.08em;
|
||||
text-transform: uppercase;
|
||||
color: var(--amber);
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
|
||||
.card h3 {
|
||||
margin-top: 0;
|
||||
font-size: 22px;
|
||||
}
|
||||
|
||||
/* ═══ ALERTE / CALLOUT ═════════════════════════════════════════════════ */
|
||||
.alert {
|
||||
background: var(--amber-light);
|
||||
border-left: 4px solid var(--amber-mid);
|
||||
border-radius: 8px;
|
||||
padding: 20px;
|
||||
margin: 20px 0;
|
||||
display: flex;
|
||||
gap: 16px;
|
||||
}
|
||||
|
||||
.alert-icon {
|
||||
font-size: 24px;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.alert-body {
|
||||
flex: 1;
|
||||
font-size: 14px;
|
||||
line-height: 1.6;
|
||||
color: var(--text);
|
||||
}
|
||||
|
||||
.alert-body strong {
|
||||
color: var(--amber);
|
||||
}
|
||||
|
||||
/* ═══ BOUTONS ══════════════════════════════════════════════════════════ */
|
||||
.btn {
|
||||
font-family: 'Syne', sans-serif;
|
||||
font-size: 12px;
|
||||
font-weight: 700;
|
||||
letter-spacing: 0.08em;
|
||||
text-transform: uppercase;
|
||||
padding: 12px 24px;
|
||||
border: none;
|
||||
border-radius: 6px;
|
||||
cursor: pointer;
|
||||
transition: all 0.3s ease;
|
||||
display: inline-block;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.btn-primary {
|
||||
background: var(--amber);
|
||||
color: var(--white);
|
||||
}
|
||||
|
||||
.btn-primary:hover {
|
||||
background: var(--amber-dark);
|
||||
transform: translateY(-2px);
|
||||
box-shadow: 0 8px 16px rgba(186, 117, 23, 0.25);
|
||||
}
|
||||
|
||||
.btn-secondary {
|
||||
background: var(--amber-light);
|
||||
color: var(--amber);
|
||||
border: 1px solid var(--amber-mid);
|
||||
}
|
||||
|
||||
.btn-secondary:hover {
|
||||
background: var(--amber);
|
||||
color: var(--white);
|
||||
transform: translateY(-2px);
|
||||
}
|
||||
|
||||
/* ═══ CHARTS ═══════════════════════════════════════════════════════════ */
|
||||
.chart-container {
|
||||
background: var(--amber-light);
|
||||
border: 1px solid var(--border);
|
||||
border-radius: 8px;
|
||||
padding: 24px;
|
||||
margin: 24px 0;
|
||||
position: relative;
|
||||
height: 320px;
|
||||
}
|
||||
|
||||
.chart-title {
|
||||
font-family: 'Syne', sans-serif;
|
||||
font-size: 16px;
|
||||
font-weight: 700;
|
||||
color: var(--amber);
|
||||
margin-bottom: 16px;
|
||||
}
|
||||
|
||||
/* ═══ LÉGENDE ══════════════════════════════════════════════════════════ */
|
||||
.legend {
|
||||
display: flex;
|
||||
gap: 20px;
|
||||
margin-top: 16px;
|
||||
flex-wrap: wrap;
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
.legend-item {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.legend-dot {
|
||||
width: 12px;
|
||||
height: 12px;
|
||||
border-radius: 50%;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
/* ═══ SOURCES ══════════════════════════════════════════════════════════ */
|
||||
.sources {
|
||||
background: var(--amber-light);
|
||||
border: 1px solid var(--border);
|
||||
border-radius: 8px;
|
||||
padding: 24px;
|
||||
margin: 40px 0;
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 12px;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.sources-label {
|
||||
font-family: 'Syne', sans-serif;
|
||||
font-size: 12px;
|
||||
font-weight: 700;
|
||||
letter-spacing: 0.08em;
|
||||
text-transform: uppercase;
|
||||
color: var(--amber);
|
||||
margin-right: 8px;
|
||||
}
|
||||
|
||||
.source-chip {
|
||||
font-size: 11px;
|
||||
padding: 6px 12px;
|
||||
border-radius: 20px;
|
||||
text-decoration: none;
|
||||
transition: all 0.2s ease;
|
||||
border: 1px solid var(--border);
|
||||
color: var(--text);
|
||||
background: var(--bg);
|
||||
}
|
||||
|
||||
.source-chip:hover {
|
||||
background: var(--amber-light);
|
||||
border-color: var(--amber);
|
||||
color: var(--amber);
|
||||
}
|
||||
|
||||
.source-chip.verified {
|
||||
background: var(--amber-light);
|
||||
border-color: var(--amber);
|
||||
color: var(--amber-dark);
|
||||
}
|
||||
|
||||
.source-chip.official {
|
||||
background: var(--amber-light);
|
||||
border-color: var(--amber);
|
||||
color: var(--amber);
|
||||
}
|
||||
|
||||
/* ═══ FOOTER ═══════════════════════════════════════════════════════════ */
|
||||
footer {
|
||||
background: var(--text);
|
||||
color: var(--white);
|
||||
padding: 40px 20px;
|
||||
text-align: center;
|
||||
font-size: 13px;
|
||||
margin-top: 60px;
|
||||
}
|
||||
|
||||
footer p {
|
||||
margin: 0;
|
||||
line-height: 1.6;
|
||||
}
|
||||
|
||||
/* ═══ RESPONSIVE ═══════════════════════════════════════════════════════ */
|
||||
@media (max-width: 768px) {
|
||||
.nav-header {
|
||||
padding: 0 20px;
|
||||
}
|
||||
|
||||
.header-nav {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.toggle-toc {
|
||||
display: block;
|
||||
}
|
||||
|
||||
main {
|
||||
padding: 20px 16px;
|
||||
}
|
||||
|
||||
.hero {
|
||||
padding: 24px;
|
||||
}
|
||||
|
||||
.hero h1 {
|
||||
font-size: 32px;
|
||||
}
|
||||
|
||||
h2 {
|
||||
font-size: 24px;
|
||||
margin: 40px 0 16px;
|
||||
}
|
||||
|
||||
.grid {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
|
||||
.toc-panel {
|
||||
width: 100%;
|
||||
right: -100%;
|
||||
}
|
||||
|
||||
.sources {
|
||||
flex-direction: column;
|
||||
align-items: flex-start;
|
||||
}
|
||||
|
||||
.sources-label {
|
||||
margin-right: 0;
|
||||
margin-bottom: 12px;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 480px) {
|
||||
.nav-header {
|
||||
padding: 0 16px;
|
||||
}
|
||||
|
||||
.hero h1 {
|
||||
font-size: 24px;
|
||||
}
|
||||
|
||||
h2 {
|
||||
font-size: 20px;
|
||||
}
|
||||
|
||||
.chart-container {
|
||||
height: 280px;
|
||||
padding: 16px;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
<link rel="stylesheet" href="../header-style.css"/>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<!-- HEADER NAVIGATION -->
|
||||
<header>
|
||||
<div class="logo">NextGN Formation</div>
|
||||
<a href="../../index.html">Accueil</a>
|
||||
<a href="../../index.html">Accueil</a>
|
||||
<nav>
|
||||
<a href="../../index.html#formations">Exercices</a>
|
||||
<a href="../../index.html#documentation">Documentation</a>
|
||||
@@ -904,10 +302,10 @@
|
||||
</main>
|
||||
|
||||
<!-- ═══ FOOTER ════════════════════════════════════════════════════════════════ -->
|
||||
<footer>
|
||||
<p>© 2026 NextGN Formation - Formations Certibiocide & Techniques</p>
|
||||
<p style="margin-top: 10px; opacity: 0.6;">Tous droits réservés — Gauthier Chombart & Nathan Chauwin — Formateurs indépendants</p>
|
||||
</footer>
|
||||
<footer>
|
||||
<p>© 2026 NextGN Formation - Formations Certibiocide & Techniques</p>
|
||||
<p style="margin-top: 10px; opacity: 0.6;">Tous droits réservés — Gauthier Chombart & Nathan Chauwin — Formateurs indépendants</p>
|
||||
</footer>
|
||||
|
||||
<!-- ═══ JAVASCRIPT ════════════════════════════════════════════════════════════ -->
|
||||
<script>
|
||||
|
||||
Reference in New Issue
Block a user