EVOLUTION-NINJA
Edit File: header.css
body { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Poppins', sans-serif; overflow-x: hidden; } .navi-bar { width: 100%; height: 70px; background-color: #FFFFFF; margin: 0; padding-inline: 10px; display: flex; box-shadow: 2px 2px 5px#ccc; } .brandlogo { text-align: center; padding: 2px; width:16%; height: 100%; box-shadow: 1px 1px 1px#ccc; } .gtrac-logo { min-width: 50%; max-width: 100%; height: 100%; } .barContent { padding: 2px 6px; height: 100%; width: 85%; /* box-shadow: 1px 1px 1px#ccc; */ display: flex; align-items: center; } #searchbox { position: relative; padding: 3px; margin-left: 19px; width: 40%; } #searchbox>input { border-radius: 50px; width: 100%; height: 40px; position: relative; outline: none; color: #999; font-size: 16px; padding-left: 6px; font-weight: 500; border: 0.7px solid#ccc; box-shadow: 0px 1px 2px #ccc; } #searchbox>i { position: absolute; right: 6px; font-size: 17px; color: #999; top: 50%; transform: translate(-50%, -50%); } .nav-3 { display: flex; align-items: center; justify-content: center; position: relative; width: 170px; margin-right: 50px; } .nav-3:hover .dropdownContent { display: block; } .nav-3 li:hover { transform: scale(1.1); } .dropdownContent { position: absolute; top: 47px; width: 90%; display: none; z-index: 1; box-shadow: 1px 1px 2px #ccc, -1px -1px 2px #ccc; overflow: hidden; background-color: #F2FFDA; border-radius: 6px; } .dropdownContent>ul { width: 100%; display: contents; bacKground-color: #FFFFFF; } .dropdownContent>ul>li { list-style-type: none; font-size: 0.9rem; padding: 7px 3px; display: block; width: 100%; box-shadow: 1px 1px 2px #ccc; color: black; font-weight: 500; text-align: center; transition: .7s; } .nav-3>p { margin: 0; color: black; font-size: 18px; font-weight: 500; } .barContent>.dot-menu { font-size: 22px; color: black; padding: 3px 8px; margin-right: 15px; } .notification-bar { margin-left: auto; padding: 4px 10px; } #open-menu { color: black; display: none; float: inline-end; } @media only screen and (max-width:600px) { #searchbox { display: none; position: absolute; width: 50%; right: 0; top: 90px; background-color: #ccc; height: auto; } #searchbox>i { top: 20; } .brandlogo { width: 40%; } .barContent { width:60%; } #open-menu { display: block; } .notification-bar { margin-left: 1px; padding:4px; } .nav-3 { margin-right: 10px; } .dropdownContent { width: 100%; } } .logout-gtrac-btn { background-color: rgba(0, 72, 76, 1); color: white; margin-left: auto; width: max-content } .logout-gtrac-btn:hover { background-color: rgb(0, 72, 76, 1); color: white; } @media only screen and (max-width:600px) { .log-btn { display:none; position: absolute; right: 10; top: 140px; z-index: 1 } } @media only screen and (max-width: 600px) { #searchbox { display: none; position: absolute; width: 50%; right: 4px; top: 80px; background-color: #ccc; height: 120px; z-index: 1; border-radius: 7px; } } .dropdownContent ul li a{ color: black; text-decoration: none; font-weight: 500; } .noti-number{ position: relative; top: -7px; left: -13px; color: green; font-size: small; } @media only screen and (max-width: 600px) { .notification-bar img { margin-top: 25px; } .noti-number { position: relative; top: -32px; left: 17px; color: green; font-size: small; } }