Skip to content

Commit b9a5f37

Browse files
authored
Merge pull request #111 from preeti-14-7/preeti/nav
Preeti/nav
2 parents 801eb8e + cdd4f20 commit b9a5f37

File tree

3 files changed

+14
-2
lines changed

3 files changed

+14
-2
lines changed

Diff for: src/components/layout/customnavbar.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ const Customnav = (props) => {
6767
to="/"
6868
onClick={() => setShowLinks(!showLinks)}
6969
>
70-
HOME
70+
HOME
7171
</NavLink>
7272
<NavLink
7373
activeClassName="nav_active"

Diff for: src/components/styles/App.css

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
.nav,
1+
.nav,
22
.nav:hover {
33
color: inherit;
44
text-decoration: none;

Diff for: src/components/styles/customnav.css

+12
Original file line numberDiff line numberDiff line change
@@ -3,20 +3,31 @@
33
0%, rgb(62, 105, 170) 100%);
44
}
55

6+
7+
68
.navs .navbar-link-css {
79
color: #fff;
810
padding-left: 2vh;
911
padding-right: 2vh;
1012
}
1113
.navbar-link-css:hover{
1214
color: rgb(165, 131, 131);
15+
background: #12232e;
16+
content: '.';
17+
}
18+
.navbar-link-css,
19+
.navbar-link-css:after,
20+
.navbar-link-css:before {
21+
transition: all .5s;
1322
}
1423

1524
.headings-logos-buttons .nav-dynamic-button {
1625
display: none;
1726
margin: 5px;
1827
}
1928

29+
30+
2031
@media (max-width: 1308px) {
2132
.navs .navbar-link-css {
2233
padding-left: 2vh;
@@ -75,4 +86,5 @@
7586
.justify-content-between #hidden .navbar-link-css {
7687
margin: 10px !important;
7788
}
89+
7890
}

0 commit comments

Comments
 (0)