-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
105 lines (96 loc) · 1.84 KB
/
styles.css
File metadata and controls
105 lines (96 loc) · 1.84 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
101
102
103
104
105
body{
animation: sky 5s ease-in-out infinite;
}
#main{
margin-left: auto;
margin-right: auto;
display: block;
height:300px;
width: 300px;
margin-top: 250px;
}
#inside{
display: flex;
justify-content: center;
align-items: center;
height: 300px;
}
#moon{
background: linear-gradient(224deg, #999, #000000);
width: 100px;
height: 100px;
border-radius: 50%;
position: absolute;
animation: run 5s ease-in-out infinite, rotating 5s linear infinite;
}
@keyframes run {
0%{
margin-left: 400px;
}
25%{
margin-left:0;
}
50%{
margin-left: -400px;
}
75%{
margin-left: 0px;
}
100%{
margin-left: 400px;
}
}
#sun{
background: linear-gradient(45deg, #d9720f, #cbd710);
width: 100px;
height: 100px;
border-radius: 50%;
animation: sunrays 5s ease-in-out infinite, rotating 5s linear infinite;
}
@keyframes sky {
0%{
background-color: #b2f9ff;
}
25%{
background-color: #000008;
}
50%{
background-color: #b2f9ff;
}
75%{
background-color: #000008;
}
100%{
background-color: #b2f9ff;
}
}
@keyframes sunrays {
0%{
box-shadow: 0px 0px 100px 20px #ffd800;
}
25%{
box-shadow: 0px 0px 5px 7px #ff8600;
}
50%{
box-shadow: 0px 0px 100px 20px #ffd800;
}
75%{
box-shadow: 0px 0px 5px 7px #ff8600;
}
100%{
box-shadow: 0px 0px 100px 20px #ffd800;
}
}
@keyframes rotating {
from{
transform: rotate(0deg);
}
to{
transform: rotate(360deg);
}
}
#author{
text-align:center;
font-family: monospace;
margin-top: 50px;
}