Skip to content

Commit f5f8747

Browse files
authored
Merge pull request #1088 from piyushbarve98/master
1Application-frontend - Improvements to Navbar Layout and Styling
2 parents 7ea8a00 + 159464c commit f5f8747

File tree

2 files changed

+10
-18
lines changed

2 files changed

+10
-18
lines changed

1Application-frontend/src/components/Navbar.jsx

+4-3
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,11 @@ const Navbar = () => {
1717
<nav>
1818
<div className={`main-component ${menuOpen ? "menu-open show" : ""}`}>
1919
<div className="head-main">
20-
<h3 style={{ marginTop: "1rem" }}>
20+
<h3 className="row" style={{ marginTop: "0.8rem" }}>
2121
Thinks Well
22-
<br />
23-
<span>JAVASCRIPT PROJECTS</span>
22+
</h3>
23+
<h3 className="row">
24+
JAVASCRIPT PROJECTS
2425
</h3>
2526
</div>
2627
<div className="routes">

1Application-frontend/src/css/Navbar.css

+6-15
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
width: 100%;
2424
height: 6rem;
2525
display: flex;
26-
gap: 32rem;
26+
justify-content: space-between;
2727
z-index: 999;
2828
background-color: var(--color-2);
2929
backdrop-filter: blur(10px);
@@ -32,29 +32,20 @@
3232

3333
.head-main {
3434
display: flex;
35+
flex-direction: column;
36+
margin-left: 2rem;
3537
}
3638

3739
.head-main h3 {
38-
position: relative;
39-
top: -0.5rem;
40-
margin-left: 6rem;
41-
font-family: var(--font-1);
42-
font-size: 2.5rem;
4340
color: rgb(41, 6, 241);
44-
font-weight: 700;
45-
text-shadow: 1px 1px 1px #919191;
46-
}
47-
48-
span {
49-
margin-left: -0.9rem;
5041
font-size: 2rem;
51-
position: relative;
52-
top: -1rem;
42+
text-shadow: 1px 1px 1px #919191;
43+
font-family: var(--font-1);
5344
}
5445

5546
.routes ul {
5647
display: flex;
57-
gap: 3rem;
48+
gap: 2rem;
5849
margin-top: 2rem;
5950
}
6051

0 commit comments

Comments
 (0)