-
Notifications
You must be signed in to change notification settings - Fork 966
Expand file tree
/
Copy pathday43.css
More file actions
97 lines (92 loc) · 1.78 KB
/
day43.css
File metadata and controls
97 lines (92 loc) · 1.78 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
// delete the following line if no text is used
// edit the line if you wanna use other fonts
@import url(https://fonts.googleapis.com/css?family=Open+Sans:700,300);
// use only the available space inside the 400x400 frame
.frame {
position: absolute;
top: 50%;
left: 50%;
width: 400px;
height: 400px;
margin-top: -200px;
margin-left: -200px;
border-radius: 2px;
box-shadow: 4px 8px 16px 0 rgba(0,0,0,0.1);
overflow: hidden;
background: #fff;
color: #333;
font-family: 'Open Sans', Helvetica, sans-serif;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
.center {
position: absolute;
background-color: #404556;
width: 400px;
height: 400px;
display:flex;
align-items:center;
justify-content:center;
top: 50%;
left: 50%;
transform: translate(-50%,-50%);
}
.object{
width: 50%;
height:70%;
display:flex;
flex-direction:column;
align-items:center;
justify-content:center;
}
.bulb{
cursor:pointer;
width: 90px;
height: 110px;
display:flex;
flex-direction:column;
align-items:center;
justify-content:center;
}
.bulb:hover .top, .bulb:hover .bottom{
background-color:grey;
box-shadow:none;
}
.top{
width:100%;
height: 90%;
background-color:#FFF35B;
border-radius: 50%;
box-shadow: 0px 0px 50px 20px rgba(255,243,91,0.91);
transition: all ease-in-out 0.35s;
}
.bottom{
width:50%;
height: 25%;
background-color:#FFF35B;
border-radius: 0 0 50% 50%;
position:relative;
top:-6px;
transition: all ease-in-out 0.35s;
}
.screw{
width: 40px;
height: 40px;
display: flex;
flex-direction:column;
align-items:center;
justify-content:center;
gap: 0.2rem;
}
.line{
width: 100%;
height: 20%;
border-radius: 30%;
background-color: #E5E5E5;
}
.end{
width: 100%;
height: 40%;
background-color: #E5E5E5;
border-radius: 0 0 50px 50px;
}