-
Notifications
You must be signed in to change notification settings - Fork 0
/
home.css
83 lines (71 loc) · 1.29 KB
/
home.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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
/* Reset some default styles */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: Arial, sans-serif;
}
/* Navbar styles */
.navbar {
background-color: #222;
color: #fff;
display: flex;
align-items: center;
justify-content: space-between;
padding: 15px;
}
.navbar-container {
display: flex;
align-items: center;
}
.navbar-logo {
color: #fff;
text-decoration: none;
font-weight: bold;
}
.navbar-menu {
display: flex;
list-style: none;
margin-left: auto;
}
.navbar-menu li {
margin-left: 20px;
}
.navbar-menu a {
color: #fff;
text-decoration: none;
}
/* Hamburger menu styles */
.navbar-hamburger {
display: none;
flex-direction: column;
cursor: pointer;
}
.navbar-hamburger span {
width: 25px;
height: 3px;
background-color: #fff;
margin-bottom: 5px;
}
/* Responsive styles */
@media screen and (max-width: 768px) {
.navbar-menu {
display: none;
flex-direction: column;
background-color: #222;
position: absolute;
top: 60px;
left: 0;
width: 100%;
text-align: center;
padding: 20px;
}
.navbar-menu li {
margin-bottom: 10px;
}
.navbar-hamburger {
display: flex;
}
}