changements dans le css

pull/22/head
Maxime ROCHER 5 months ago
parent 1301b8ecfc
commit 0b7857ff7b

@ -12,7 +12,7 @@ $base = '';
$login = ''; $login = '';
$mdp = ''; $mdp = '';
$racine='/~kekentin/WF/WF-Website'; $racine='/~marocher8/WF-Website';
//Vues //Vues
$vues['erreur'] = 'vue/erreur.php'; $vues['erreur'] = 'vue/erreur.php';

@ -82,7 +82,7 @@ body.dark-mode .nav img:hover {
} }
body.dark-mode .search { body.dark-mode .search {
background: linear-gradient(to right, #4a148c, #7b1fa2); background: white;
} }
/* Mode clair */ /* Mode clair */
@ -92,7 +92,7 @@ body.light-mode {
} }
body.light-mode .header { body.light-mode .header {
background-color: #F7F7EB; background-color: #F4F1DE;
} }
body.light-mode .header img { body.light-mode .header img {
@ -104,63 +104,5 @@ body.light-mode .nav img:hover {
} }
body.light-mode .search { body.light-mode .search {
background: linear-gradient(180deg, rgba(187,211,249,1) 0%, rgba(199,246,196,1) 100%); background: black;
}
/* Media queries for responsiveness */
/* For tablets and small devices */
@media (max-width: 768px) {
.header {
flex-direction: column;
text-align: center;
}
.nav, .logo, .user {
width: 100%;
margin-bottom: 10px;
}
}
/* For mobile phones */
@media (max-width: 480px) {
body {
margin-top: 100px;
}
.nav img, .logo img {
width: 50px;
height: auto;
}
.container {
padding: 10px;
}
form {
width: 100%;
}
form input {
width: 100%;
padding: 10px;
margin-bottom: 10px;
}
}
/* Banner images should be responsive */
.header img {
max-width: 100%;
height: auto;
}
/* Media queries for different screen sizes */
@media (max-width: 768px) {
.header {
flex-direction: column;
}
.header img {
width: 80px;
height: auto;
}
} }

@ -18,9 +18,9 @@ h2 {
margin: 0 auto; margin: 0 auto;
} }
/* Citation du jour - toujours en pleine largeur */ /* Citation du jour - toujours en pleine largeur */
.citation-du-jour { body.dark-mode .citation-du-jour {
width: 97.5%; /* Prend toute la largeur */ width: 97.5%; /* Prend toute la largeur */
background: linear-gradient(to right, #ff5722, #ff9800); /* Dégradé spécial pour la citation du jour */ background: linear-gradient(45deg, #4a148c, #7b1fa2);
padding: 0; padding: 0;
margin-left: 1.25%; margin-left: 1.25%;
overflow: hidden; overflow: hidden;
@ -28,3 +28,12 @@ h2 {
height: 150px; height: 150px;
} }
body.light-mode .citation-du-jour {
width: 97.5%;
background-image: linear-gradient(-28deg, #f3e7e9 0%, #e3eeff 99%, #e3eeff 100%);
padding: 0;
margin-left: 1.25%;
overflow: hidden;
margin-bottom: 20px;
height: 150px;
}

@ -77,13 +77,13 @@ a.link-citation {
/* Mode sombre */ /* Mode sombre */
body.dark-mode .quote { body.dark-mode .quote {
background: linear-gradient(to right, #4a148c, #7b1fa2); background: linear-gradient(45deg, #4a148c, #7b1fa2);
color:white; color:white;
} }
/* Mode clair */ /* Mode clair */
body.light-mode .quote { body.light-mode .quote {
background: linear-gradient(180deg, rgba(187,211,249,1) 0%, rgba(199,246,196,1) 100%); background-image: linear-gradient(-28deg, #f3e7e9 0%, #e3eeff 99%, #e3eeff 100%);
color:black; /* Changer le texte en noir pour le mode clair */ color:black; /* Changer le texte en noir pour le mode clair */
} }

Loading…
Cancel
Save