-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathstyle.css
More file actions
101 lines (88 loc) · 1.41 KB
/
style.css
File metadata and controls
101 lines (88 loc) · 1.41 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
92
93
94
95
96
97
98
99
100
*{
margin: 0;
padding: 0;
font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
box-sizing: border-box;
}
.hero{
background-color: #353636;
min-height: 100vh;
width: 100%;
color: rgb(255, 255, 255);
position: relative;
}
nav{
display: flex;
align-items: center;
padding: 20px 8%;
}
nav .menu-img{
width: 25px;
margin-right: 20px;
cursor: pointer;
}
nav .logo{
width: 160px;
cursor: pointer;
}
nav ul{
flex: 1;
text-align: right;
}
nav ul li{
display: inline-block;
list-style: none;
margin: 0 20px;
cursor: pointer;
}
nav ul li a{
text-decoration: none;
color: #fff;
}
button{
background: #fefefe;
height: 30px;
width: 60px;
border-radius: 20px;
border: 0;
outline: 0;
cursor: pointer;
transition: background 0.5s;
}
button span{
display: block;
background: #999;
height: 26px;
width: 26px;
border-radius: 50%;
margin-left: 2px;
transition: background 0.5s , margin-left 0.5s;
}
.lamp-container{
position: relative;
top: -30px;
left: 22%;
width: 200px;
}
.lamp{
width: 100%;
}
.light{
position: absolute;
top: 97%;
left: 45%;
transform: translateX(-50%);
width: 650px;
opacity:0 ;
transition: opacity 0.5s;
}
.active{
background: green;
}
.active span{
background: honeydew;
margin-left: 31px;
}
.on{
opacity: 1;
}