-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathNavbar.css
More file actions
50 lines (43 loc) · 1.03 KB
/
Copy pathNavbar.css
File metadata and controls
50 lines (43 loc) · 1.03 KB
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
/* src/components/Navbar.css */
.navbar {
display: flex;
justify-content: space-between;
align-items: center;
padding: 0 2rem; /* Keep padding fixed to prevent height expansion */
height: 80px; /* Fixed height for the navbar */
background-color: #F3F3E0;
}
/* Logo container */
.navbar-left {
max-height: 100%; /* Ensures logo doesn't expand the navbar height */
display: flex;
align-items: center; /* Center the logo vertically */
}
/* Logo image */
.navbar-left img {
height: 120px; /* Adjust the logo size within the navbar */
width: auto;
object-fit: contain; /* Maintain logo's aspect ratio */
}
/* Flex container for the links */
.navbar-right {
display: flex;
}
/* Styling for navigation links */
.links {
list-style-type: none;
display: flex;
gap: 1.5rem;
margin: 0;
}
.links li {
font-size: 1rem;
}
.links a {
color: black;
text-decoration: none;
font-weight: bold;
}
.links a:hover {
color: gray;
}