/* ############################################################################ # # # Description: CSS spécifique au header et à la navbar # # # ############################################################################ */ .showNav { top: 0vh !important; } .navLinkClicked { color: var(--mainSiteColor) !important; transform: scale(1.2) rotate(90deg); } .headerInfoAdmin { color: darkblue; } .headerInfoPro { color: brown; } .headerInfoClient { color: darkolivegreen; } header { z-index: 1; display: flex; justify-content: space-around; height: 10vh; text-align: center; background-color: var(--headerBg); border-top: var(--mainSiteColor) solid 6px; border-bottom: var(--mainSiteColor) solid 3px; } header h2 { margin: 0px; font-family: akira; color: var(--mainSiteColor) !important; } header a { display: flex; flex-direction: column; justify-content: center; text-align: center; flex-grow: 1; text-decoration: none; color: var(--navbarTextColor); transition: all 0.1s ease-in-out; } header form { display: flex; flex-direction: column; justify-content: center; flex-grow: 1; } header a:hover { transform: scale(1.1); } header a:first-child { border-right: 3px solid var(--mainSiteColor); background-color: var(--navBg); } header a:first-child:hover { transform: none; } header a:first-child i { margin: 0px; color: #404040; font-size: var(--fontSizeLarge); transition: all 0.1s ease-in-out; } header a:first-child i:hover { cursor: pointer; } nav { top: -10.5vh; display: flex; position: relative; justify-content: space-around; height: 10vh; background-color: var(--navBg); border-bottom: var(--mainSiteColor) solid 3px; box-shadow: 0px 0px 6px #0e0e0e; transition: all 0.1s ease-in-out; } nav a { display: flex; flex-direction: column; justify-content: center; text-align: center; flex-grow: 1; text-decoration: none; color: var(--navbarTextColor); transition: all 0.1s ease-in-out; } nav a:hover { color: var(--mainSiteColor); transform: scale(1.2); } nav p { display: flex; flex-direction: column; justify-content: center; text-align: center; flex-grow: 1; } @media screen and (max-width: 768px) { header a:first-child { min-width: 20%; } }