Application du style CSS à tous lees fichiers d'exercice

This commit is contained in:
2026-06-16 23:29:30 +02:00
parent b328bbdce6
commit c9efbfa578
11 changed files with 2081 additions and 1007 deletions

View File

@@ -7,113 +7,6 @@
<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">
<link rel="stylesheet" href="../header-style.css"/>
<style>
:root {
--teal: #0F6E56;
--teal-mid: #1D9E75;
--teal-light: #E1F5EE;
--teal-dark: #085041;
--amber: #BA7517;
--amber-light: #FAEEDA;
--amber-dark: #633806;
--coral: #993C1D;
--coral-mid: #D85A30;
--coral-light: #FAECE7;
--purple: #534AB7;
--purple-light: #EEEDFE;
--purple-dark: #3C3489;
--blue: #185FA5;
--blue-light: #E6F1FB;
--bg: #F7F6F2;
--white: #FFFFFF;
--text: #1a1a18;
--text-muted: #6b6a65;
--border: rgba(0,0,0,0.1);
}
/* HEADER NAVIGATION */
.nav-header {
position: fixed;
top: 0;
left: 0;
right: 0;
height: 70px;
background: var(--white);
border-bottom: 1px solid var(--border);
display: flex;
align-items: center;
justify-content: space-between;
padding: 0 40px;
z-index: 1000;
backdrop-filter: blur(10px);
background: rgba(255, 255, 255, 0.95);
}
.header-logo {
font-family: 'Syne', sans-serif;
font-size: 16px;
font-weight: 700;
letter-spacing: -0.5px;
background: linear-gradient(135deg, var(--teal-mid), var(--coral-mid));
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
text-decoration: none;
display: flex;
align-items: center;
gap: 8px;
}
.header-nav {
display: flex;
gap: 30px;
align-items: center;
}
.header-nav a {
font-family: 'Syne', sans-serif;
font-size: 12px;
font-weight: 600;
letter-spacing: 0.08em;
text-transform: uppercase;
color: var(--text-muted);
text-decoration: none;
transition: color 0.3s ease;
position: relative;
}
.header-nav a:hover {
color: var(--coral-mid);
}
.header-nav a::after {
content: '';
position: absolute;
bottom: -4px;
left: 0;
width: 0;
height: 2px;
background: var(--coral-mid);
transition: width 0.3s ease;
}
.header-nav a:hover::after {
width: 100%;
}
/* MAIN CONTENT ADJUSTMENT */
main {
margin-top: 70px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
body {
font-family: 'DM Sans', sans-serif;
background: var(--bg);
color: var(--text);
overflow-x: hidden;
}
/* SLIDES */
.slide {
position: absolute;
@@ -139,16 +32,7 @@ body {
to { opacity: 1; transform: translateY(0); }
}
/* PROGRESS BAR */
.progress-bar {
position: fixed;
top: 70px; left: 0; right: 0;
height: 3px;
background: var(--border);
z-index: 999;
}
.progress-fill {
height: 100%;
background: var(--coral-mid);
transition: width 0.4s ease;
}
@@ -156,7 +40,7 @@ body {
/* PHASE INDICATOR */
.phase-badge {
position: fixed;
top: 16px; right: 16px;
top: 80px; right: 16px;
font-family: 'Syne', sans-serif;
font-size: 11px;
font-weight: 700;
@@ -591,11 +475,12 @@ body {
<header>
<div class="logo">NextGN Formation</div>
<nav>
<a href="#formations">Exercices interactifs</a>
<a href="#documentation">Documentation</a>
<a href="#rapports">Rapports de veille</a>
<a href="#about">À propos</a>
<a href="#contact">Contact</a>
<a href="../index.html">Accueil</a>
<a href="../index.html#formations">Exercices</a>
<a href="../index.html#documentation">Documentation</a>
<a href="../index.html#rapports">Rapports</a>
<a href="../index.html#about">À propos</a>
<a href="../index.html#contact">Contact</a>
</nav>
</header>