-
Notifications
You must be signed in to change notification settings - Fork 0
/
menu.css
101 lines (90 loc) · 1.43 KB
/
menu.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
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500&display=swap');
*{
margin: 0px;
padding: 0px;
box-sizing: border-box;
font-family: 'Poppins', sans-serif;
}
nav{
width: 100%;
height: 75px;
background-color: #7e9c57;
line-height: 75px;
padding: 0px 80px;
}
nav .logo{
float: left;
}
nav .logo p{
font-size: 34px;
font-weight: bold;
letter-spacing: 1.5px;
color: #fff;
text-transform: uppercase;
}
nav ul{
float: right;
}
nav ul li{
list-style: none;
display: inline-block;
}
nav ul li a{
text-decoration: none;
color: #fff;
font-size: 18px;
text-transform: uppercase;
padding: 0px 20px;
}
nav ul li a:hover{
color: #000000;
}
nav ul .active{
color: #000000;
}
.checkbtn{
color: #fff;
font-size: 25px;
cursor: pointer;
float: right;
display: none;
}
#check{
display: none;
}
@media screen and (max-width: 990px){
nav{
padding: 0px 50px;
}
.checkbtn{
display: block;
}
nav .logo p{
font-size: 30px;
}
nav ul{
width: 100%;
height: 100vh;
background-color: #53694c;
position: fixed;
top: 75px;
left: -100%;
text-align: center;
transition: 0.4s ease;
}
nav ul li{
display: block;
margin: 60px 0px;
line-height: 20px;
}
#check:checked ~ul{
left: 0px;
}
.background{
background-image: url("/home/dj21_vicky21_/Downloads/tree.png");
background-size: cover;
background-position: center;
background-repeat: no-repeat;
height: calc(100vh - 75px);
}
}