add: lewoapws.html: creation du chapitre 1 et mise en place du style de la page + tests en parallele pour un menu de navigation sur le cote de la page

This commit is contained in:
2026-09-16 20:38:25 +02:00
parent b58ea7c0b4
commit 8d7ba3ccb9
5 changed files with 145 additions and 8 deletions

61
test.css Normal file
View File

@@ -0,0 +1,61 @@
* {
box-sizing: border-box;
margin: 0;
padding: 0;
}
body {
font-family: Arial, sans-serif;
}
/* Le conteneur principal */
.layout {
display: flex;
min-height: 100vh;
}
/* Menu */
.sidebar {
width: 240px;
background: #222;
color: white;
padding: 30px 20px;
/* Le menu reste visible */
position: sticky;
top: 0;
height: 100vh;
}
.sidebar h2 {
margin-bottom: 30px;
}
.sidebar nav {
display: flex;
flex-direction: column;
gap: 10px;
}
.sidebar a {
color: #ccc;
text-decoration: none;
padding: 12px;
border-radius: 5px;
}
.sidebar a:hover {
background: #444;
color: white;
}
/* Contenu */
.content {
flex: 1;
padding: 40px;
}
section {
min-height: 100vh;
padding-top: 20px;
}