Skip to content

Commit 898297f

Browse files
committed
style: add some elegance to ugly navbar link hover
1 parent d73dec8 commit 898297f

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

src/styles/Navbar.css

+10-2
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@
4747
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
4848
border: 2px solid rgba(255, 255, 255, .2);
4949
transition: 0.5s;
50+
z-index: 5;
5051
}
5152

5253
.profile-picture-navbar {
@@ -115,11 +116,18 @@
115116
.link {
116117
text-decoration: none;
117118
color: #fff;
119+
transition: 0.1s;
120+
border-width: 0;
121+
border-color: #fbbf24;
122+
border-style: solid;
123+
padding: 0 0.1rem 0.3rem 0.1rem;
124+
border-radius: 3px;
118125
}
119126

120127
.link:hover {
121-
text-decoration: underline;
122-
color: #fbbf24;
128+
color: #fff;
129+
text-shadow: 0 0 20px rgba(255, 255, 255, .4);
130+
border-bottom-width: 3px;
123131
}
124132

125133
.reg-button {

0 commit comments

Comments
 (0)