Base du site
This commit is contained in:
70
style.css
Normal file
70
style.css
Normal file
@@ -0,0 +1,70 @@
|
||||
/* Style simple et épuré pour le site d'introduction aux logiciels libres */
|
||||
|
||||
body {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
font-family: system-ui, sans-serif;
|
||||
line-height: 1.6;
|
||||
background: #f5f5f5;
|
||||
color: #222;
|
||||
}
|
||||
|
||||
header {
|
||||
background: #2c7a7b;
|
||||
color: white;
|
||||
padding: 1.5rem;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
main {
|
||||
max-width: 800px;
|
||||
margin: 2rem auto;
|
||||
padding: 1rem;
|
||||
}
|
||||
|
||||
section {
|
||||
background: white;
|
||||
padding: 1.2rem 1.5rem;
|
||||
margin-bottom: 1.5rem;
|
||||
border-radius: 8px;
|
||||
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
|
||||
}
|
||||
|
||||
h1, h2 {
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
h2 {
|
||||
color: #2c7a7b;
|
||||
}
|
||||
|
||||
/* Barre du menu séparée du titre */
|
||||
nav {
|
||||
background: #256f70; /* Une nuance légèrement plus sombre */
|
||||
padding: 0.6rem 0; /* Espacement vertical */
|
||||
margin-top: 1rem; /* Séparation avec le titre */
|
||||
border-radius: 6px; /* Légère forme arrondie */
|
||||
}
|
||||
|
||||
/* Menu horizontal */
|
||||
.menu {
|
||||
list-style: none;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
display: flex;
|
||||
gap: 1.5rem;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.menu a {
|
||||
color: white;
|
||||
text-decoration: none;
|
||||
font-weight: bold;
|
||||
transition: opacity 0.2s;
|
||||
}
|
||||
|
||||
.menu a:hover {
|
||||
opacity: 0.65;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user