-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnavbar.css
36 lines (32 loc) · 979 Bytes
/
navbar.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
/* Navbar styling */
.navbar {
background-color: #333; /* Dark background */
padding: 10px 20px;
display: flex;
justify-content: space-between;
align-items: center;
}
/* Flex container for navbar links and dropdown */
.navbar-content {
display: flex;
gap: 20px; /* Spacing between elements */
align-items: center;
}
.navbar-logo {
font-size: 24px;
font-weight: bold;
}
/* Styling for button-like elements (menu button, About link, etc.) */
.button-like {
background-color: #333; /* Dark background */
color: white; /* White text */
border: 1px solid #555; /* Dark gray border */
padding: 8px 16px; /* Padding for comfort */
cursor: pointer; /* Pointer cursor on hover */
text-decoration: none; /* No underline */
transition: background-color 0.3s; /* Smooth hover transition */
}
/* Hover effect for button-like elements */
.button-like:hover {
background-color: #444; /* Slightly lighter on hover */
}