Skip to content

Commit

Permalink
responsiveness menu with username
Browse files Browse the repository at this point in the history
  • Loading branch information
Gemma committed Jan 3, 2024
1 parent 3afc6c8 commit c96cf95
Show file tree
Hide file tree
Showing 3 changed files with 247 additions and 184 deletions.
64 changes: 56 additions & 8 deletions frontend/src/components/NavBar/Navbar.css
Original file line number Diff line number Diff line change
@@ -1,9 +1,15 @@
@media (min-width: 1350px) {
@media (min-width: 1410px) {
/* … */
.nav4 {
display: none;
}

.userNameSmallScreen{
display: none;
}
.userName {
display: none;
}
.menuNav {
display: none;
}
Expand Down Expand Up @@ -218,8 +224,6 @@
margin-right: 50px;
}



.Sign-in3:hover {
width: 96px;
border-radius: 2px;
Expand Down Expand Up @@ -325,15 +329,44 @@
}
}

@media (max-width: 1349px) {
@media (max-width: 1409px) {
.menuNav2 {
display: none;
}

.userNameSmallScreen{
display: none;
}
.About {
text-decoration: none;
}

.nav4Container {
display: flex;
width: 180px;
z-index: 1;
}

.userNameOpenMenu {
margin: 0px;
font-size: 10px;
width: 100%;
display: flex;
align-items: center;
justify-content: center;
color: rgb(138 160 232);
}

.userName {
color: rgb(138 160 232);
font-size: 11px;
/* margin-bottom: 4px; */
display: flex;
align-items: center;
justify-content: center;
margin: 10px;
}

.Sign-in3 {
display: flex;
justify-content: center;
Expand Down Expand Up @@ -432,7 +465,7 @@

.menuNav {
background-color: #235c94;
height: 140px;
height: 180px;
width: 145px;
margin-top: 22px;
border-radius: 9px;
Expand Down Expand Up @@ -604,13 +637,28 @@
}
}

@media (max-width: 860px) {
@media (max-width: 1030px) {
.ls-login-image2 {
width: 17px;
margin-right: -11px;
margin-top: 21px !important;
}

.userNameSmallScreen{
display: flex;
font-size: 11px;
width: 100%;
margin-top: 2px;
color: rgb(138 160 232);
justify-content: center;
}
.userName{
display: none;
}
.nav4Container {
display: flex;
z-index: 1;
}
.Sign-in4 {
display: flex;
align-items: center;
Expand Down Expand Up @@ -790,7 +838,7 @@

.nav4 {
height: 32vh;
/* width: 83%; */
width: 83%;
display: flex;
/* flex-direction: column; */
align-content: center;
Expand Down Expand Up @@ -821,7 +869,7 @@

.menuNav2 {
background-color: #235c94;
height: 269px;
height: 290px;
width: 161px;
margin-top: 22px;
border-radius: 9px;
Expand Down
Loading

0 comments on commit c96cf95

Please sign in to comment.