-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnav.css
53 lines (43 loc) · 982 Bytes
/
nav.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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display&display=swap');
body {
padding: 0;
margin: 0;
}
header {
display: flex;
align-items: center; /* Align items vertically */
}
.img {
width: 30%;
height: 300px; /* Maintain aspect ratio */
}
.header {
font-family: 'DM Serif Display', serif;
font-size: 100px;
padding-left: 20px; /* Adjust as needed */
}
ul {
list-style-type: none;
margin: 0;
padding: 0;
overflow: hidden;
background-color: rgb(30, 31, 32);
border-radius: 0%;
}
li {
float: left;
margin: 5px ;
}
li a {
display: block;
color: rgb(255, 255, 255);
text-align: center;
padding: 14px 16px;
text-decoration: none;
}
li a:hover:not(.active) {
background-color: #1b5068;
}
.active {
background-color:transparent;
}