You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
165 lines
3.2 KiB
165 lines
3.2 KiB
/* @import url('https://fonts.googleapis.com/css2?family=Lemon&display=swap'); */
|
|
:root {
|
|
--main-dark-background-color: #120B1D;
|
|
--main-dark-text-color : #ffffff;
|
|
--main-dark-gradient : linear-gradient(45deg, #4a148c, #7b1fa2);
|
|
--main-dark-other-color : #000000;
|
|
|
|
--main-light-background-color: #ffffff;
|
|
--main-light-text-color : #000000;
|
|
--main-light-gradient : linear-gradient(-28deg, #f3e7e9 0%, #e3eeff 99%, #e3eeff 100%);
|
|
--main-light-other-color : #d2d2d8;
|
|
}
|
|
|
|
/* Général */
|
|
|
|
/* Scrollbar globale */
|
|
::-webkit-scrollbar {
|
|
width: 12px; /* Largeur de la barre verticale */
|
|
height: 12px; /* Hauteur de la barre horizontale */
|
|
}
|
|
|
|
/* Track (fond de la scrollbar) */
|
|
::-webkit-scrollbar-track {
|
|
background: #2c2f33; /* Couleur sombre pour un effet mystique */
|
|
border-radius: 10px; /* Coins arrondis */
|
|
box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.3); /* Ombre interne pour un effet sculpté */
|
|
}
|
|
|
|
/* Thumb (curseur) */
|
|
::-webkit-scrollbar-thumb {
|
|
background: linear-gradient(45deg, #6a0088, #3f0281); /* Dégradé doré et brun */
|
|
border-radius: 10px; /* Coins arrondis */
|
|
border: 2px solid #2c2f33; /* Bord sombre pour contraste */
|
|
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5); /* Effet d'élévation */
|
|
}
|
|
|
|
/* Thumb hover (effet au survol) */
|
|
::-webkit-scrollbar-thumb:hover {
|
|
background: linear-gradient(45deg, #d4af37, #6e4b3c); /* Inversion des couleurs du dégradé */
|
|
box-shadow: 0 0 10px rgba(212, 175, 55, 0.8); /* Lumière dorée */
|
|
}
|
|
|
|
/* Scrollbar horizontale */
|
|
::-webkit-scrollbar-corner {
|
|
background: #2c2f33; /* Coin entre les scrollbars */
|
|
}
|
|
|
|
body{
|
|
font-family: "Lemon", serif;
|
|
margin : 0%;
|
|
}
|
|
|
|
/* Dark mode */
|
|
|
|
body.dark-mode{
|
|
background-color: var(--main-dark-background-color);
|
|
color: var(--main-dark-text-color);
|
|
}
|
|
|
|
body.dark-mode .header{
|
|
background-color: var(--main-dark-other-color);
|
|
}
|
|
|
|
|
|
/* Light mode */
|
|
|
|
body.light-mode{
|
|
background-color: var(--main-light-background-color);
|
|
color: var(--main-light-text-color);
|
|
}
|
|
|
|
body.light-mode .header{
|
|
background-color: var(--main-light-other-color);
|
|
}
|
|
|
|
body.light-mode .header img{
|
|
filter: invert(100%);
|
|
}
|
|
|
|
|
|
/* écran par défaut */
|
|
|
|
body{
|
|
margin-top: 15vh;
|
|
}
|
|
|
|
.header {
|
|
z-index: 100;
|
|
display: flex;
|
|
position: fixed;
|
|
top: 0;
|
|
width: 100vw;
|
|
text-align: center;
|
|
padding: 1%;
|
|
height: 10vh;
|
|
}
|
|
|
|
#theme-icon{
|
|
height : 5vh
|
|
}
|
|
|
|
.header img{
|
|
height : 7vh;
|
|
}
|
|
|
|
.nav {
|
|
display: flex;
|
|
align-items: center;
|
|
vertical-align: center;
|
|
gap: 2vw;
|
|
width: 39%;
|
|
}
|
|
|
|
.logo {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 20%;
|
|
}
|
|
|
|
.logo img{
|
|
height : 10vh;
|
|
}
|
|
|
|
.user {
|
|
display: flex;
|
|
flex-direction: row;
|
|
justify-content: flex-end;
|
|
align-items: center;
|
|
vertical-align: center;
|
|
gap: 2vw;
|
|
width: 39%;
|
|
}
|
|
|
|
.user img{
|
|
height : 7vh;
|
|
}
|
|
|
|
/* écran tablette*/
|
|
|
|
@media (max-width: 834px) or (max-aspect-ratio : 1/1){
|
|
|
|
.nav img{
|
|
height: 4vh;
|
|
}
|
|
|
|
#theme-icon{
|
|
height : 3vh
|
|
}
|
|
|
|
.user img{
|
|
height: 5vh;
|
|
}
|
|
|
|
.logo img{
|
|
height : 7vh;
|
|
}
|
|
}
|
|
|
|
|
|
/* écran téléphone */
|
|
|
|
@media (max-width: 480px){
|
|
|
|
} |