Actualiser style.css/style.css
This commit is contained in:
@@ -1,335 +1,344 @@
|
|||||||
/* --- 0. Général & Reset --- */
|
|
||||||
* {
|
* {
|
||||||
margin: 0;
|
|
||||||
padding: 0;
|
margin: 0;
|
||||||
box-sizing: border-box;
|
padding: 0;
|
||||||
}
|
box-sizing: border-box;
|
||||||
|
}
|
||||||
body {
|
|
||||||
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
|
body {
|
||||||
margin: 0;
|
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
|
||||||
padding: 0;
|
line-height: 1.6;
|
||||||
line-height: 1.6;
|
color: #333;
|
||||||
color: #333;
|
background-color: #f4f7f6;
|
||||||
background-color: #f4f7f6;
|
}
|
||||||
}
|
|
||||||
|
h1, h2, h3 {
|
||||||
h1, h2, h3 {
|
color: #1a5c88;
|
||||||
color: #1a5c88;
|
margin-top: 0;
|
||||||
margin-top: 0;
|
}
|
||||||
}
|
|
||||||
|
a {
|
||||||
a {
|
text-decoration: none;
|
||||||
text-decoration: none;
|
color: red;
|
||||||
color: red;
|
transition: color 0.3s ease;
|
||||||
transition: color 0.3s ease;
|
}
|
||||||
}
|
|
||||||
|
a:hover {
|
||||||
a:hover {
|
color: #0056b3;
|
||||||
text-decoration: underline;
|
text-decoration: underline;
|
||||||
}
|
}
|
||||||
|
|
||||||
.container {
|
.container {
|
||||||
max-width: 12px;
|
|
||||||
margin: 0 auto;
|
max-width: 1200px;
|
||||||
padding: 0 20px;
|
margin: 0 auto;
|
||||||
}
|
padding: 0 20px;
|
||||||
|
}
|
||||||
|
|
||||||
/* --- 1. Header et Navigation --- */
|
|
||||||
.header-portfolio {
|
|
||||||
background-color: darkblue;
|
.header-portfolio {
|
||||||
color: white;
|
background-color: darkblue;
|
||||||
padding: 10px 0;
|
color: white;
|
||||||
box-shadow: 0 2px 5px rgba(0,0,0,0.1);
|
padding: 10px 0;
|
||||||
position: sticky;
|
box-shadow: 0 2px 5px rgba(0,0,0,0.1);
|
||||||
top: 0;
|
position: sticky;
|
||||||
z-index: 1000;
|
top: 0;
|
||||||
}
|
z-index: 1000;
|
||||||
|
}
|
||||||
.nav-principal {
|
|
||||||
display: flex;
|
.nav-principal {
|
||||||
justify-content: space-between;
|
display: flex;
|
||||||
align-items: center;
|
justify-content: space-between;
|
||||||
max-width: 1200px;
|
align-items: center;
|
||||||
margin: 0 auto;
|
}
|
||||||
padding: 0 20px;
|
|
||||||
}
|
|
||||||
|
.nav-principal .logo {
|
||||||
/* Modification : Logo "Abdul" en BLEU CLAIR */
|
font-size: 1.8em;
|
||||||
.nav-principal .logo {
|
font-weight: bold;
|
||||||
font-size: 1.8em;
|
color: #a7d9f7;
|
||||||
font-weight: bold;
|
}
|
||||||
color: #a7d9f7;
|
|
||||||
}
|
.nav-principal ul {
|
||||||
|
list-style: none;
|
||||||
.nav-principal ul {
|
margin: 0;
|
||||||
list-style: none;
|
padding: 0;
|
||||||
margin: 0;
|
display: flex;
|
||||||
padding: 0;
|
}
|
||||||
display: flex;
|
|
||||||
}
|
.nav-principal ul li {
|
||||||
|
margin-left: 25px;
|
||||||
.nav-principal ul li {
|
}
|
||||||
margin-left: 25px;
|
|
||||||
}
|
|
||||||
|
.nav-principal ul li a {
|
||||||
/* Modification : Liens de navigation en BLEU CLAIR */
|
color: #a7d9f7;
|
||||||
.nav-principal ul li a {
|
font-weight: 500;
|
||||||
color: #a7d9f7;
|
transition: color 0.3s ease;
|
||||||
font-weight: 500;
|
}
|
||||||
transition: color 0.3s ease;
|
|
||||||
}
|
.nav-principal ul li a:hover {
|
||||||
|
color: white;
|
||||||
.nav-principal ul li a:hover {
|
text-decoration: none;
|
||||||
color: white;
|
}
|
||||||
text-decoration: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Bouton Dark Mode (pour le JavaScript, couleur de base sur fond foncé) */
|
.bouton-cta {
|
||||||
#dark-mode-toggle {
|
display: inline-block;
|
||||||
background: none;
|
background-color: #007bff;
|
||||||
border: none;
|
color: white;
|
||||||
color: white;
|
padding: 10px 20px;
|
||||||
padding: 0.5rem;
|
border-radius: 5px;
|
||||||
cursor: pointer;
|
margin-top: 10px;
|
||||||
font-size: 1.5rem;
|
font-weight: bold;
|
||||||
transition: color 0.3s;
|
transition: background-color 0.3s ease;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* --- 2. Bouton CTA (Call to Action) --- */
|
.bouton-cta:hover {
|
||||||
.bouton-cta {
|
background-color: #0056b3;
|
||||||
display: inline-block;
|
text-decoration: none;
|
||||||
background-color: #007bff;
|
}
|
||||||
color: white;
|
|
||||||
padding: 10px 10px;
|
|
||||||
border-radius: 5px;
|
|
||||||
margin-top: 10px;
|
.section-accueil {
|
||||||
font-weight: bold;
|
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;
|
||||||
transition: background-color 0.3s ease;
|
background-size: cover;
|
||||||
}
|
color: white;
|
||||||
|
text-align: center;
|
||||||
.bouton-cta:hover {
|
padding: 100px 20px;
|
||||||
background-color: #0056b3;
|
min-height: 500px;
|
||||||
text-decoration: none;
|
display: flex;
|
||||||
}
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
|
}
|
||||||
/* --- 3. Section Accueil --- */
|
|
||||||
.section-accueil {
|
.contenu-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;
|
max-width: 800px;
|
||||||
background-size: cover;
|
}
|
||||||
color: white;
|
|
||||||
text-align: center;
|
.section-accueil .titre-principal {
|
||||||
padding: 20px 20px;
|
font-size: 3.2em;
|
||||||
min-height: 50px;
|
margin-bottom: 20px;
|
||||||
display: flex;
|
color: white;
|
||||||
align-items: center;
|
}
|
||||||
justify-content: center;
|
|
||||||
}
|
.section-accueil .accroche {
|
||||||
|
font-size: 1.3em;
|
||||||
.contenu-accueil {
|
max-width: 700px;
|
||||||
max-width: 800px;
|
margin: 0 auto 30px auto;
|
||||||
}
|
color: #e0e0e0;
|
||||||
|
}
|
||||||
.section-accueil .titre-principal {
|
|
||||||
font-size: 3.2em;
|
|
||||||
margin-bottom: 20px;
|
|
||||||
color: white;
|
section {
|
||||||
}
|
padding: 80px 20px;
|
||||||
|
text-align: center;
|
||||||
.section-accueil .accroche {
|
}
|
||||||
font-size: 1.3em;
|
|
||||||
max-width: 700px;
|
.titre-section {
|
||||||
margin: 0 auto 30px auto;
|
font-size: 2.5em;
|
||||||
color: #e0e0e0;
|
margin-bottom: 50px;
|
||||||
}
|
position: relative;
|
||||||
|
padding-bottom: 10px;
|
||||||
|
}
|
||||||
/* --- 4. Sections Générales --- */
|
|
||||||
section {
|
.titre-section::after {
|
||||||
padding: 80px 20px;
|
content: '';
|
||||||
text-align: center;
|
position: absolute;
|
||||||
max-width: 1200px;
|
left: 50%;
|
||||||
margin: 0 auto;
|
bottom: 0;
|
||||||
}
|
transform: translateX(-50%);
|
||||||
|
width: 60px;
|
||||||
.titre-section {
|
height: 4px;
|
||||||
font-size: 2.5em;
|
background-color: #007bff;
|
||||||
margin-bottom: 50px;
|
border-radius: 2px;
|
||||||
position: relative;
|
}
|
||||||
padding-bottom: 10px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.titre-section::after {
|
.grille-competences {
|
||||||
content: '';
|
display: grid;
|
||||||
position: absolute;
|
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
|
||||||
left: 50%;
|
gap: 30px;
|
||||||
bottom: 0;
|
max-width: 1000px;
|
||||||
transform: translateX(-50%);
|
margin: 0 auto;
|
||||||
width: 60px;
|
}
|
||||||
height: 4px;
|
|
||||||
background-color: #007bff;
|
.carte-competence {
|
||||||
border-radius: 2px;
|
background-color: white;
|
||||||
}
|
padding: 30px;
|
||||||
|
border-radius: 8px;
|
||||||
|
box-shadow: 0 4px 15px rgba(0,0,0,0.08);
|
||||||
/* --- 5. Cartes : Compétences et Projets --- */
|
transition: transform 0.3s ease, box-shadow 0.3s ease;
|
||||||
.grille-competences {
|
text-align: left;
|
||||||
display: grid;
|
border: 1px solid #ddd;
|
||||||
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
|
}
|
||||||
gap: 30px;
|
|
||||||
max-width: 1000px;
|
.carte-competence:hover {
|
||||||
margin: 0 auto;
|
transform: translateY(-10px);
|
||||||
}
|
box-shadow: 0 8px 25px rgba(0,0,0,0.15);
|
||||||
|
}
|
||||||
.carte-competence {
|
|
||||||
background-color: white;
|
.carte-competence h3 {
|
||||||
padding: 30px;
|
font-size: 1.5em;
|
||||||
border-radius: 8px;
|
color: #1a5c88;
|
||||||
box-shadow: 0 4px 15px rgba(0,0,0,0.08);
|
margin-bottom: 15px;
|
||||||
transition: transform 0.3s ease, box-shadow 0.3s ease;
|
}
|
||||||
text-align: left;
|
|
||||||
border: 1px solid #ddd;
|
.carte-competence p {
|
||||||
}
|
font-size: 1em;
|
||||||
|
color: #555;
|
||||||
.carte-competence:hover {
|
}
|
||||||
transform: translateY(-10px);
|
|
||||||
box-shadow: 0 8px 25px rgba(0,0,0,0.15);
|
.carte-competence img {
|
||||||
}
|
width: 30px;
|
||||||
|
margin-bottom: 10px;
|
||||||
.carte-competence h3 {
|
}
|
||||||
font-size: 1.5em;
|
|
||||||
color: #1a5c88;
|
|
||||||
margin-bottom: 15px;
|
.icon-reseau::before,
|
||||||
}
|
.icon-pc::before,
|
||||||
|
.icon-electricite::before,
|
||||||
.carte-competence p {
|
.icon-photo::before {
|
||||||
font-size: 1em;
|
content: '⚙️';
|
||||||
color: #555;
|
display: inline-block;
|
||||||
}
|
margin-right: 10px;
|
||||||
|
font-size: 1.2em;
|
||||||
.carte-competence img {
|
color: #007bff;
|
||||||
width: 30px;
|
}
|
||||||
margin-bottom: 10px;s
|
|
||||||
}
|
|
||||||
|
.section-projets {
|
||||||
|
background-color: #eef3f6;
|
||||||
|
}
|
||||||
|
|
||||||
.icon-reseau::before,
|
.grille-projets {
|
||||||
.icon-pc::before,
|
display: grid;
|
||||||
.icon-electricite::before,
|
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
|
||||||
.icon-photo::before {
|
gap: 30px;
|
||||||
content: '⚙️';
|
max-width: 1200px;
|
||||||
display: inline-block;
|
margin: 0 auto;
|
||||||
margin-right: 10px;
|
}
|
||||||
font-size: 1.2em;
|
|
||||||
color: #007bff;
|
.carte-projet {
|
||||||
}
|
background-color: white;
|
||||||
|
padding: 25px;
|
||||||
|
border-radius: 8px;
|
||||||
.section-projets {
|
box-shadow: 0 2px 10px rgba(0,0,0,0.05);
|
||||||
background-color: #eef3f6;
|
text-align: left;
|
||||||
}
|
transition: transform 0.3s ease;
|
||||||
|
border: 1px solid #ddd;
|
||||||
.grille-projets {
|
}
|
||||||
display: grid;
|
|
||||||
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
|
|
||||||
gap: 30px;
|
.carte-projet:hover {
|
||||||
max-width: 1200px;
|
transform: translateY(-5px);
|
||||||
margin: 0 auto;
|
}
|
||||||
}
|
|
||||||
|
.carte-projet h3 {
|
||||||
.carte-projet {
|
font-size: 1.4em;
|
||||||
background-color: white;
|
margin-bottom: 10px;
|
||||||
padding: 25px;
|
}
|
||||||
border-radius: 8px;
|
|
||||||
box-shadow: 0 2px 10px rgba(0,0,0,0.05);
|
.carte-projet p {
|
||||||
text-align: left;
|
font-size: 0.95em;
|
||||||
transition: transform 0.3s ease;
|
color: #666;
|
||||||
border: 1px solid #ddd;
|
margin-bottom: 20px;
|
||||||
} /* AJOUT DE L'ACCOLADE MANQUANTE ICI */
|
}
|
||||||
|
|
||||||
|
.lien-projet {
|
||||||
.carte-projet:hover {
|
display: inline-block;
|
||||||
transform: translateY(-5px);
|
color: #1a5c88;
|
||||||
}
|
font-weight: bold;
|
||||||
|
}
|
||||||
.carte-projet h3 {
|
|
||||||
font-size: 1.4em;
|
.lien-projet:hover {
|
||||||
margin-bottom: 10px;
|
color: #007bff;
|
||||||
}
|
}
|
||||||
|
|
||||||
.carte-projet p {
|
|
||||||
font-size: 0.95em;
|
.experienc-pro{
|
||||||
color: #666;
|
display: block;
|
||||||
margin-bottom: 20px;
|
margin-bottom: 10px;
|
||||||
}
|
font-size: 1.4em;
|
||||||
|
}
|
||||||
.lien-projet {
|
|
||||||
display: inline-block;
|
|
||||||
color: #1a5c88;
|
|
||||||
font-weight: bold;
|
.section-contact p {
|
||||||
}
|
font-size: 1.1em;
|
||||||
|
margin-bottom: 40px;
|
||||||
.lien-projet:hover {
|
}
|
||||||
color: #007bff;
|
|
||||||
}
|
|
||||||
|
|
||||||
.experienc-pro{
|
|
||||||
display: block;
|
@media (max-width: 992px) {
|
||||||
margin-bottom: 10px;
|
.container {
|
||||||
font-size: 1.4em;
|
max-width: 90%;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/* --- 7. Section Contact --- */
|
|
||||||
.section-contact p {
|
@media (max-width: 768px) {
|
||||||
font-size: 1.1em;
|
.nav-principal {
|
||||||
margin-bottom: 40px;
|
flex-direction: column;
|
||||||
}
|
align-items: flex-start;
|
||||||
|
padding-bottom: 10px;
|
||||||
|
}
|
||||||
/* --- 8. Médias Queries (Réactivité) --- */
|
|
||||||
@media (max-width: 768px) {
|
.nav-principal ul {
|
||||||
.nav-principal {
|
margin-top: 15px;
|
||||||
flex-direction: column;
|
width: 100%;
|
||||||
align-items: flex-start;
|
justify-content: space-around;
|
||||||
padding-bottom: 10px;
|
}
|
||||||
}
|
.nav-principal ul li {
|
||||||
|
margin: 0 10px;
|
||||||
.nav-principal ul {
|
}
|
||||||
margin-top: 15px;
|
|
||||||
width: 100%;
|
|
||||||
justify-content: space-around;
|
|
||||||
}
|
.section-accueil {
|
||||||
.nav-principal ul li {
|
min-height: 400px;
|
||||||
margin: 0 10px;
|
padding: 50px 20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#dark-mode-toggle {
|
.section-accueil .titre-principal {
|
||||||
position: absolute;
|
font-size: 2.5em;
|
||||||
top: 10px;
|
}
|
||||||
right: 20px;
|
.section-accueil .accroche {
|
||||||
}
|
font-size: 1.1em;
|
||||||
|
}
|
||||||
.section-accueil .titre-principal {
|
.grille-competences,
|
||||||
font-size: 2.5em;
|
.grille-projets {
|
||||||
}
|
grid-template-columns: 1fr;
|
||||||
.section-accueil .accroche {
|
}
|
||||||
font-size: 1.1em;
|
.carte-competence, .carte-projet {
|
||||||
}
|
text-align: center;
|
||||||
.grille-competences,
|
}
|
||||||
.grille-projets {
|
.carte-competence h3 i {
|
||||||
grid-template-columns: 1fr;
|
display: block;
|
||||||
}
|
margin-bottom: 10px;
|
||||||
.carte-competence, .carte-projet {
|
}
|
||||||
text-align: center;
|
}
|
||||||
}
|
|
||||||
.carte-competence h3 i {
|
|
||||||
display: block;
|
@media (max-width: 600px) {
|
||||||
margin-bottom: 10px;
|
.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