-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindexCss.css
97 lines (89 loc) · 1.5 KB
/
indexCss.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
*{
padding: 0px;
margin: 0px;
font-family: 'Raleway', sans-serif;
text-decoration:none;
list-style: none;
box-sizing: border-box;
}
.header__nav{
background: cadetblue;
height:80px;
width: 100%;
}
.header__h1{
position: absolute;
padding: 25px 50px;
}
.header__ul{
float: right;
margin-right: 20px;
}
.header__li{
display: inline-block;
line-height:80px;
margin: 0 5px;
}
.header__a{
color:#fff;
font-size: 18px;
padding: 7px 13px;
border-radius: 3px;
text-transform: uppercase;
}
.header__a:hover{
background: blue;
transition: .5s;
}
.checkbtn{
font-size: 30px;
color: #ffffff;
float: right;
line-height: 80px;
margin-right: 40px;
cursor: pointer;
display: none;
}
#check{
display: none
}
@media (max-width: 1087px) {
.header__h1{
padding-left:20px ;
font-size: 20px;
line-height: 30px;
}
.header__a{
font-size: 12px;
}
}
@media (max-width: 858px) {
.checkbtn{
display: block;
}
.header__ul{
position: fixed;
width: 100%;
height: 100vh;
background: #2c3e50;
top: 80px;
left: -100%;
text-align: center;
transition: all .5s ;
}
.header__li{
display: block;
margin: 50px 0;
}
.header__a{
font-size: 20px;
}
.header__a:hover{
background: none;
color: red;
}
#check:checked~ul{
left: 0;
}
}
/*