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,116 +7,8 @@
<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);
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
html, body {
height: 100%;
}
body {
font-family: 'DM Sans', sans-serif;
background: var(--bg);
color: var(--text);
line-height: 1.6;
padding-top: 70px;
overflow-x: hidden;
}
/* 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(--teal-mid);
}
.header-nav a::after {
content: '';
position: absolute;
bottom: -4px;
left: 0;
width: 0;
height: 2px;
background: var(--teal-mid);
transition: width 0.3s ease;
}
.header-nav a:hover::after {
width: 100%;
}
.container {
@@ -128,7 +20,7 @@
overflow: visible;
}
header {
.page-header {
background: linear-gradient(135deg, var(--purple-light) 0%, rgba(83, 74, 183, 0.05) 100%);
color: var(--text);
padding: 50px 40px;
@@ -136,7 +28,7 @@
border-bottom: 3px solid var(--purple);
}
header h1 {
.page-header h1 {
font-family: 'Syne', sans-serif;
font-size: 2.2em;
margin-bottom: 10px;
@@ -145,7 +37,7 @@
color: var(--text);
}
header p {
.page-header p {
font-size: 1em;
opacity: 0.8;
font-weight: 400;
@@ -447,23 +339,7 @@
}
@media (max-width: 768px) {
.nav-header {
padding: 0 20px;
}
.header-logo {
font-size: 14px;
}
.header-nav {
gap: 15px;
}
.header-nav a {
font-size: 10px;
}
header h1 {
.page-header h1 {
font-size: 1.8em;
}
@@ -482,19 +358,20 @@
<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>
<div class="container">
<header>
<div class="page-header">
<h1>🎯 EXERCICES PRATIQUES BioCID</h1>
<p>Maîtriser la plateforme de recherche de produits biocides</p>
</header>
</div>
<div class="progress">
<div class="progress-bar" id="progressBar"></div>