Skip to content

Commit

Permalink
Merge pull request #2295 from mansi066/patch-4
Browse files Browse the repository at this point in the history
Improve the visibility of master web
  • Loading branch information
iamrahulmahato authored Nov 9, 2024
2 parents d14a55e + 7a1c10c commit de69445
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 8 deletions.
17 changes: 13 additions & 4 deletions css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,18 @@ html {
}

.navbar-logo {
font-size: 1.5rem;
color: #fff;
display: flex;
align-items: flex-start;
color: #f43f5e;
text-decoration: none;
font-size: 1.75rem;
font-weight: 800;
margin-left: -161px;
margin-right: 182px;
justify-content: center;
flex-wrap: wrap;
flex-direction: row;
align-content: flex-start;
}

.navbar-menu {
Expand Down Expand Up @@ -91,13 +100,13 @@ html {
margin-right: 10px; /* Add some space between logo and text */
}

.navbar-logo {
/* .navbar-logo {
display: flex;
align-items: center;
color: #fff;
text-decoration: none;
font-size: 1.5rem;
}
} */

#progress-container {
position: fixed ;
Expand Down
17 changes: 15 additions & 2 deletions navbar.css
Original file line number Diff line number Diff line change
Expand Up @@ -257,23 +257,36 @@ body {

/* Hover effect with futuristic line animation */
.navbar ul li a::after {
content: "";
content: '';
position: absolute;
left: 0;
right: 0;
bottom: -5px;
height: 2px;
background-color: var(--accent-color);
transition: width 0.3s ease;
width: 0%;
transition: width 0.3s ease;
}

.navbar ul li a:hover {
color: var(--accent-color);
transform: scale(1.05);
}

.navbar ul li a:hover::after {
width: 100%;
animation: underlineAnimation 0.3s forwards;
}

@keyframes underlineAnimation {
from {
width: 0%;
}
to {
width: 100%;
}
}

/* Toggle theme button */
.theme-toggle {
position: absolute;
Expand Down
4 changes: 2 additions & 2 deletions styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -356,8 +356,8 @@ font-family: 'Poppins', sans-serif;
color: var(--text-color);
text-decoration: none;
padding: 8px 16px;
font-weight: 500;
font-size: 16px;
font-weight: 600;
font-size: 21px;
transition: color 0.3s ease, transform 0.3s ease;
position: relative;
}
Expand Down

0 comments on commit de69445

Please sign in to comment.