updated navbar style
This commit is contained in:
1 parent
42351f12bd
commit
5a4c7dc426
1 file changed
+2
-3
@@ -4,11 +4,9 @@
|
|||||||
left: 50%;
|
left: 50%;
|
||||||
transform: translateX(-50%); /* Center the navbar horizontally */
|
transform: translateX(-50%); /* Center the navbar horizontally */
|
||||||
width: auto;
|
width: auto;
|
||||||
background-color: #1e1e1e;
|
|
||||||
padding: 10px 13px; /* Adjusted padding for a wider 'bean' shape */
|
padding: 10px 13px; /* Adjusted padding for a wider 'bean' shape */
|
||||||
border-radius: 50px; /* Create the 'bean' shape */
|
border-radius: 50px; /* Create the 'bean' shape */
|
||||||
z-index: 1000;
|
z-index: 1000;
|
||||||
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
|
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
@@ -21,6 +19,7 @@
|
|||||||
|
|
||||||
.navbar a {
|
.navbar a {
|
||||||
color: white;
|
color: white;
|
||||||
|
background-color: rgba(57, 53, 74, 0.5);
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
font-size: 16px;
|
font-size: 16px;
|
||||||
padding: 10px 20px;
|
padding: 10px 20px;
|
||||||
@@ -29,7 +28,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.navbar a:hover {
|
.navbar a:hover {
|
||||||
background-color: #452737;
|
background-color: #4f4455;
|
||||||
color: #fff;
|
color: #fff;
|
||||||
transform: scale(1.1);
|
transform: scale(1.1);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user