Skip to content

Commit

Permalink
rearranged the sidebar links in 2x2 format
Browse files Browse the repository at this point in the history
  • Loading branch information
vihar-s1 committed Oct 26, 2023
1 parent c316351 commit 360ccf4
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 17 deletions.
3 changes: 2 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,6 @@
"emmet.includeLanguages": {
"\"javascript\":": "\"javascriptreact\""
},
"C_Cpp.errorSquiggles": "disabled"
"C_Cpp.errorSquiggles": "disabled",
"deepscan.enable": true
}
33 changes: 17 additions & 16 deletions src/style/Navbar.css
Original file line number Diff line number Diff line change
@@ -1,19 +1,22 @@
/* https://codepen.io/himalayasingh/pen/dqjLgO */
.navbar {
display: flex;
background-color: #099268 !important;
background-color: #8b5cf6;
padding: 8px 10px;
position: fixed;
margin-top: -8.5rem;
width: 100%;
align-items: center;
justify-content: space-between;
font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue",
sans-serif !important;
border-bottom: 3px solid rgb(28, 174, 184);
z-index: 5;
font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif !important;
/* border-bottom: 3px solid rgb(28, 174, 184); */
z-index: 1;
isolation: isolate;
mix-blend-mode:normal;

}

.navbar-content {
display: flex;
align-items: center;
Expand Down Expand Up @@ -46,17 +49,16 @@
}

.sidebar {
width: 16rem;
height: 100%;
background-color: #099268;
width: 20rem;
height: 91%;
background-color: #8b5cf6;
position: fixed;
top: 4.4rem;
z-index: 1000;
display: flex;
flex-direction: column;
font-size: 1.4rem;
overflow-y: auto;
padding-bottom: 20px;
overflow-y: scroll;
}

.sidebar-content {
Expand All @@ -70,30 +72,29 @@
}
.sidebar {
display: flex;
flex-direction: column;
}
.Link {
color: black;
text-decoration: none;
font-weight: 500;
}
.nav-item {
font-size: 1srem;
font-size: 1rem;
}
.Link:hover {
color: rgb(38, 3, 3);
text-decoration: underline;
}
.sidebar-btns {
display: flex;
flex-direction: column;
justify-content: space-evenly;
flex-wrap: wrap;
justify-content: space-between;
font-size: 1rem;
align-items: center;
}
.sidebar-btn {
padding: 2px 5px;
margin: 9px;
font-size: 20px;
text-align: center;
line-height: 1;
}
Expand Down

0 comments on commit 360ccf4

Please sign in to comment.