-
Notifications
You must be signed in to change notification settings - Fork 25
/
Copy pathNavbar.css
107 lines (92 loc) · 1.83 KB
/
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
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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
.navbar {
display: flex;
justify-content: space-between;
align-items: center;
background-color: #1c1c1c;
padding: 10px 20px;
border-radius: 30px;
box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.25);
margin: 30px;
position: relative;
}
.navbar-left .app-name {
color: white;
font-size: 20px;
font-weight: bold;
}
.navbar-right {
display: flex;
align-items: center;
gap: 15px;
}
.icon-link {
color: #fff;
text-decoration: none;
font-size: 16px;
}
.icon {
width: 25px;
height: 25px;
}
.download-button {
background-color: #f7cc4d;
color: #1c1c1c;
border: none;
padding: 8px 15px;
font-size: 16px;
border-radius: 20px;
cursor: pointer;
transition: background-color 0.3s ease;
}
.download-button:hover {
background-color: #e6b645;
}
.menu {
display: none;
flex-direction: column;
justify-content: space-between;
width: 25px;
height: 25px;
cursor: pointer;
}
.menu span {
height: 0.4rem;
width: 100%;
background-color: #fff;
border-radius: 0.2rem;
}
@media (max-width: 480px) {
.navbar {
flex-direction: column;
align-items: flex-start;
}
.menu {
display: flex;
position: absolute;
right: 20px;
}
.navbar-right {
display: none;
flex-direction: column;
width: 100%;
align-items: center;
margin-top: 20px;
}
.navbar-right.open {
display: flex;
}
.navbar-right.open a,
.navbar-right.open button {
text-align: center;
margin: 0;
width: 100%;
}
.navbar-right.open a {
padding: 10px;
background-color: #333;
border-radius: 5px;
}
.navbar-right.open button {
background-color: #f7cc4d;
}
}