Skip to content

Commit 8b2d9c4

Browse files
committed
style: redesign reg-buttons in navbar
1 parent 898297f commit 8b2d9c4

File tree

1 file changed

+21
-15
lines changed

1 file changed

+21
-15
lines changed

src/styles/Navbar.css

+21-15
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
z-index: 2;
1616
top: 50%;
1717
left: 51%;
18-
transform: translate(-50%,-50%);
18+
transform: translate(-50%, -50%);
1919
}
2020

2121
.light-logo {
@@ -51,9 +51,9 @@
5151
}
5252

5353
.profile-picture-navbar {
54-
width: 2.5rem;
55-
height: 100%;
56-
border-radius: 50%;
54+
width: 2.5rem;
55+
height: 100%;
56+
border-radius: 50%;
5757
display: block;
5858
}
5959

@@ -104,7 +104,7 @@
104104
display: none;
105105
}
106106

107-
.light-logo{
107+
.light-logo {
108108
transform: scale(0.9);
109109
}
110110
}
@@ -131,16 +131,22 @@
131131
}
132132

133133
.reg-button {
134-
/* text-gray-950 bg-white px-6 py-2 rounded shadow-[3px_3px_0_3px_#707070] */
135-
color: #080808;
136-
background-color: #fff;
137-
padding-left: 1.5rem;
138-
padding-right: 1.5rem;
139-
padding-top: 0.5rem;
140-
padding-bottom: 0.5rem;
141-
border-radius: 5px;
142-
box-shadow: 4px 4px #6a6a6a;
134+
background: #fff;
135+
color: #0a0a19;
136+
transition: background-color 200ms;
137+
border: none;
138+
font-size: 1rem;
139+
font-weight: 500;
140+
padding: 1rem 1.5rem;
141+
border-radius: 50px;
143142
cursor: pointer;
143+
transition: 0.2s;
144+
box-shadow: 0 0 10px 0px rgba(255, 255, 255, .2);
145+
}
146+
147+
.reg-button:hover {
148+
color: #393939;
149+
box-shadow: 0 5px 10px 1px rgba(255, 255, 255, .2);
144150
}
145151

146152
.container {
@@ -271,4 +277,4 @@
271277
color: rgba(245, 169, 68, 0.6);
272278
bottom: 15%;
273279
left: -2%;
274-
}
280+
}

0 commit comments

Comments
 (0)