-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnavbar.css
116 lines (101 loc) · 1.7 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
108
109
110
111
112
113
114
115
116
body {
margin: 0;
padding: 0;
overflow-x: hidden;
}
.navbar {
position: absolute;
width: 100%;
margin: 0 auto;
justify-content: center;
}
.navbar-container {
width: 90%;
margin: auto;
padding: 0;
display: flex;
font-family: Georgia;
}
.navbar-logo {
font-size: 35px;
font-family: "poppinsextrabold";
letter-spacing: 0.8px;
}
.navbar-menu {
margin: 0;
display: list-item;
align-items: center;
list-style: none;
}
.menu {
margin: 0;
position: fixed;
height: 50px;
list-style: none;
display: block;
text-align: center;
top: 0px;
left: -50%;
transition: 1s all;
background-color: rgb(255, 255, 255);
height: 100%;
width: 100%;
z-index: 20;
}
.navbar-menu ul a {
text-decoration: none;
color: rgb(14, 14, 14);
}
.navbar-menu ul a li {
list-style: none;
font-size: 15px;
font-family: "poppinssemibold";
text-transform: uppercase;
letter-spacing: 1.5px;
border-radius: 15px;
cursor: pointer;
transform: translateY(12px);
transition: all 0.4s ease;
}
.navbar-menu ul a li img {
margin: auto;
padding: 0;
transform: translateY(-12px);
height: 5px;
justify-content: center;
visibility: hidden;
}
.navbar-menu ul a li:hover img {
visibility: visible;
justify-content: center;
}
.navbar-menu .social-media i {
color: rgb(18, 18, 18);
margin-left: 20px;
font-size: 20px;
cursor: pointer;
transition: all 0.4s ease;
}
.navbar-menu .social-media i:hover {
color:rgb(134, 174, 117);
}
.btn {
display: block;
z-index: 50;
position:fixed;
top: 10px;
left: 10px;
font-size: 20px;
visibility: visible;
}
#check {
display: block;
position: fixed;
z-index: 50;
top: 10px;
left: 10px;
visibility: visible;
}
#check:checked ~ .menu {
left: 0;
}