-
Notifications
You must be signed in to change notification settings - Fork 0
/
Homeres.css
88 lines (81 loc) · 1.54 KB
/
Homeres.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
:root{
--color1:#FF0376;
--color2:#07C8C8;
--color3:#003459;
}
/* responsive nav bar*/
@media (max-width: 978px) {
header .logo{
color: var(--color3);
}
.checkbtn{
display: block;
color: var(--color3);
}
header{
width: 100vw;
}
label i{
position: absolute;
padding:2px;
}
header ul li a{
/* font-family: 'Gill Sans'; */
font-family: Verdana;
position: relative;
padding: 5px 10px;
margin-left: 20px;
text-decoration: none;
border-radius: 5%;
color: var(--color3);
letter-spacing: 2px;
font-weight: bold;
font-size: 15px ;
transition: 0.6s;
}
header{
display: block;
padding: 15px 50px;
background:aquamarine;
}
.headertop{
background-color: var(--color3);
}
.hlist{
display:block;
position:fixed;
/* width: 100%; */
width: 100vw;
text-align: center;
left:-200%;
transition: all 0.5s;
background: aquamarine;
margin: auto;
height: 100vh;
}
header li{
line-height: 60px;
width: 100vw;
}
#check:checked ~ .hlist{
left:0;
}
header.sticky{
padding:15px 50px;
}
.text-area h3{
color: #fff;
font-size: 25px;
font-weight: 500;
}
.text-area h1{
font-size: 45px;
line-height: 70px;
margin-left: -10px;
}
}
@media only screen and (max-width: 978px){
header{
width: 100vw;
}
}