Actualiser style.css/style.css
This commit is contained in:
@@ -1,5 +1,6 @@
|
|||||||
/* --- 0. Général & Reset --- */
|
|
||||||
* {
|
* {
|
||||||
|
|
||||||
margin: 0;
|
margin: 0;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
@@ -7,8 +8,6 @@
|
|||||||
|
|
||||||
body {
|
body {
|
||||||
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
|
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
|
||||||
margin: 0;
|
|
||||||
padding: 0;
|
|
||||||
line-height: 1.6;
|
line-height: 1.6;
|
||||||
color: #333;
|
color: #333;
|
||||||
background-color: #f4f7f6;
|
background-color: #f4f7f6;
|
||||||
@@ -26,17 +25,19 @@ a {
|
|||||||
}
|
}
|
||||||
|
|
||||||
a:hover {
|
a:hover {
|
||||||
|
color: #0056b3;
|
||||||
text-decoration: underline;
|
text-decoration: underline;
|
||||||
}
|
}
|
||||||
|
|
||||||
.container {
|
.container {
|
||||||
max-width: 12px;
|
|
||||||
|
max-width: 1200px;
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
padding: 0 20px;
|
padding: 0 20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/* --- 1. Header et Navigation --- */
|
|
||||||
.header-portfolio {
|
.header-portfolio {
|
||||||
background-color: darkblue;
|
background-color: darkblue;
|
||||||
color: white;
|
color: white;
|
||||||
@@ -51,12 +52,9 @@ a:hover {
|
|||||||
display: flex;
|
display: flex;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
max-width: 1200px;
|
|
||||||
margin: 0 auto;
|
|
||||||
padding: 0 20px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Modification : Logo "Abdul" en BLEU CLAIR */
|
|
||||||
.nav-principal .logo {
|
.nav-principal .logo {
|
||||||
font-size: 1.8em;
|
font-size: 1.8em;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
@@ -74,7 +72,7 @@ a:hover {
|
|||||||
margin-left: 25px;
|
margin-left: 25px;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Modification : Liens de navigation en BLEU CLAIR */
|
|
||||||
.nav-principal ul li a {
|
.nav-principal ul li a {
|
||||||
color: #a7d9f7;
|
color: #a7d9f7;
|
||||||
font-weight: 500;
|
font-weight: 500;
|
||||||
@@ -86,23 +84,13 @@ a:hover {
|
|||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Bouton Dark Mode (pour le JavaScript, couleur de base sur fond foncé) */
|
|
||||||
#dark-mode-toggle {
|
|
||||||
background: none;
|
|
||||||
border: none;
|
|
||||||
color: white;
|
|
||||||
padding: 0.5rem;
|
|
||||||
cursor: pointer;
|
|
||||||
font-size: 1.5rem;
|
|
||||||
transition: color 0.3s;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* --- 2. Bouton CTA (Call to Action) --- */
|
|
||||||
.bouton-cta {
|
.bouton-cta {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
background-color: #007bff;
|
background-color: #007bff;
|
||||||
color: white;
|
color: white;
|
||||||
padding: 10px 10px;
|
padding: 10px 20px;
|
||||||
border-radius: 5px;
|
border-radius: 5px;
|
||||||
margin-top: 10px;
|
margin-top: 10px;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
@@ -115,14 +103,14 @@ a:hover {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/* --- 3. Section Accueil --- */
|
|
||||||
.section-accueil {
|
.section-accueil {
|
||||||
background: linear-gradient(rgba(26, 92, 136, 0.8), rgba(26, 92, 136, 0.8)), url('images/background-reseau.jpg') no-repeat center center fixed;
|
background: linear-gradient(rgba(26, 92, 136, 0.8), rgba(26, 92, 136, 0.8)), url('images/background-reseau.jpg') no-repeat center center fixed;
|
||||||
background-size: cover;
|
background-size: cover;
|
||||||
color: white;
|
color: white;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
padding: 20px 20px;
|
padding: 100px 20px;
|
||||||
min-height: 50px;
|
min-height: 500px;
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
@@ -146,12 +134,10 @@ a:hover {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/* --- 4. Sections Générales --- */
|
|
||||||
section {
|
section {
|
||||||
padding: 80px 20px;
|
padding: 80px 20px;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
max-width: 1200px;
|
|
||||||
margin: 0 auto;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.titre-section {
|
.titre-section {
|
||||||
@@ -174,7 +160,7 @@ section {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/* --- 5. Cartes : Compétences et Projets --- */
|
|
||||||
.grille-competences {
|
.grille-competences {
|
||||||
display: grid;
|
display: grid;
|
||||||
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
|
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
|
||||||
@@ -211,12 +197,10 @@ section {
|
|||||||
|
|
||||||
.carte-competence img {
|
.carte-competence img {
|
||||||
width: 30px;
|
width: 30px;
|
||||||
margin-bottom: 10px;s
|
margin-bottom: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
.icon-reseau::before,
|
.icon-reseau::before,
|
||||||
.icon-pc::before,
|
.icon-pc::before,
|
||||||
.icon-electricite::before,
|
.icon-electricite::before,
|
||||||
@@ -249,7 +233,7 @@ section {
|
|||||||
text-align: left;
|
text-align: left;
|
||||||
transition: transform 0.3s ease;
|
transition: transform 0.3s ease;
|
||||||
border: 1px solid #ddd;
|
border: 1px solid #ddd;
|
||||||
} /* AJOUT DE L'ACCOLADE MANQUANTE ICI */
|
}
|
||||||
|
|
||||||
|
|
||||||
.carte-projet:hover {
|
.carte-projet:hover {
|
||||||
@@ -277,6 +261,7 @@ section {
|
|||||||
color: #007bff;
|
color: #007bff;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
.experienc-pro{
|
.experienc-pro{
|
||||||
display: block;
|
display: block;
|
||||||
margin-bottom: 10px;
|
margin-bottom: 10px;
|
||||||
@@ -284,14 +269,22 @@ section {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/* --- 7. Section Contact --- */
|
|
||||||
.section-contact p {
|
.section-contact p {
|
||||||
font-size: 1.1em;
|
font-size: 1.1em;
|
||||||
margin-bottom: 40px;
|
margin-bottom: 40px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/* --- 8. Médias Queries (Réactivité) --- */
|
|
||||||
|
|
||||||
|
@media (max-width: 992px) {
|
||||||
|
.container {
|
||||||
|
max-width: 90%;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
@media (max-width: 768px) {
|
@media (max-width: 768px) {
|
||||||
.nav-principal {
|
.nav-principal {
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
@@ -308,10 +301,11 @@ section {
|
|||||||
margin: 0 10px;
|
margin: 0 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#dark-mode-toggle {
|
|
||||||
position: absolute;
|
|
||||||
top: 10px;
|
.section-accueil {
|
||||||
right: 20px;
|
min-height: 400px;
|
||||||
|
padding: 50px 20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.section-accueil .titre-principal {
|
.section-accueil .titre-principal {
|
||||||
@@ -332,4 +326,19 @@ section {
|
|||||||
margin-bottom: 10px;
|
margin-bottom: 10px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@media (max-width: 600px) {
|
||||||
|
.container {
|
||||||
|
width: 100%;
|
||||||
|
padding: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.nav-principal ul {
|
||||||
|
flex-direction: column;
|
||||||
|
align-items: center;
|
||||||
|
}
|
||||||
|
.nav-principal ul li {
|
||||||
|
margin: 5px 0;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user