-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyleCss.css
More file actions
92 lines (85 loc) · 1.57 KB
/
styleCss.css
File metadata and controls
92 lines (85 loc) · 1.57 KB
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
body{
margin: 0px;
padding: 0px;
font-family: sans-serif;
background: url('mainBack.jpg');
background-attachment: fixed;
background-position: center;
}
header{
position: absolute;
top:0px;
left: 0px;
padding: 0px 100px;
background: #262626;
width: 100%;
box-sizing:border-box;
}
header .logo{
float:left;
height: 50px;
/* padding-top: 20px; */
/* margin: 20px 0px; */
font-size:20px;
line-height: 20px;
color:#fff;
font-weight: bold;;
}
header nav{
float: right;
}
header nav ul{
margin: 0px;
padding: 0px;
display: flex;
}
header nav ul li{
list-style: none;
}
header nav ul li a {
height: 50px;
line-height: 50px;
padding: 0px 20px;
color: #fff;;
text-align: none;
text-decoration: none;
display: block;
/* text-transform: uppercase; */
}
header nav ul li a:hover,header nav ul li a.active{
color:#fff;
background: #21966f;
}
.menuToggle{
color: #fff;
float: right;
line-height: 50px;
font-size: 24px;
cursor:pointer;
display: none;
}
@media (max-width:991px) {
header{
padding: 0px 20px;
}
.menuToggle{
display: block;
}
header nav {
/* display: none; */
position: absolute;
width: 100%;
height: 100vh;
background: #333;
top: 50px;
left: 0px;
transition: 0.5;
}
header nav ul{
display: block;
text-align: center;
}
header nav ul li a{
border-bottom: 1px solid rgba(0, 0, 0, 0.2);
}
}