/* @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 */ 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){ }