Skip to content

Commit

Permalink
Merge pull request #1229 from Himanshu7980-code/main
Browse files Browse the repository at this point in the history
Styling of the anchors tags improved
  • Loading branch information
vikhyatsingh123 authored Oct 27, 2024
2 parents 4a6689d + 8acb72e commit cf42244
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
7 changes: 6 additions & 1 deletion css/style.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
@import url('https://fonts.googleapis.com/css2?family=Arima:[email protected]&family=Oswald:[email protected]&display=swap');


#title {
color: #fff;
height: 950px;
Expand Down Expand Up @@ -581,14 +584,16 @@ h1 {
display: flex;
justify-content: center;
align-items: center;
text-decoration: none;
}
.nav-link{
transition:all ease-in-out 0.3s;
}
.light-mode .navbar-light .navbar-nav .nav-link{
font-family: "Oswald";
font-size: 1.4rem;
font-weight: 700;
color: rgb(255 237 179);
color: rgb(255, 255, 255);
}

.dark-mode .navbar-light .navbar-nav .nav-link{
Expand Down
4 changes: 2 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -83,10 +83,10 @@
<div class="collapse navbar-collapse" id="navbarSupportedContent">
<ul class="navbar-nav mr-auto">
<li class="nav-item active mx-4">
<a class="nav-link link" href="./index.html">Home</a>
<a class="nav-link link" style="text-decoration: none;" href="./index.html">Home</a>
</li>
<li class="nav-item mx-4">
<a class="link nav-link " href="./about.html">About</a>
<a class="link nav-link " href="./about.html">About</a>
</li>
<li class="nav-item mx-4">
<a class="link nav-link " href="./contact.html">Contact</a>
Expand Down

0 comments on commit cf42244

Please sign in to comment.