-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathstyle.css
109 lines (108 loc) · 1.51 KB
/
style.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
98
99
100
101
102
103
104
105
106
107
108
109
body{
height: 40vh;
width: 100%;
background: #000000 no-repeat center;
}
.star{
display: block;
width:2px;
height: 2px;
position:relative;
border-radius: 50%;
background: radial-gradient(ellipse at center, #ffffff 0%,#e5e5e5 100%);
transition: 2s;
}
.shine{
transform: scale(3,3);
}
.sun{
width: 300px;
height: 300px;
background: url(http://pngimg.com/uploads/sun/sun_PNG13424.png) center;
background-size: contain;
position:absolute;
top:150px;
left:10px;
z-index: 1;
}
.planet{
background-size: contain;
position: absolute;
z-index: 1;
color: white;
}
.mercury{
width:10px;
height:10px;
}
.venus{
width:30px;
height:30px;
}
.earth{
width:30px;
height:30px;
}
.mars{
width:20px;
height:20px;
}
.jupiter{
width:500px;
height:500px;
}
.saturn{
width:400px;
height:400px;
}
.uranus{
width:350px;
height:350px;
}
.neptune{
width:300px;
height:300px;
}
.info{
display:none;
position: absolute;
box-sizing: content-box;
width: 10%;
background: #15061e;
transition: 1s;
border-radius: 3px;
border:1px solid yellow;
}
.big{
transform: scale(2,4);
opacity: 0.6;
z-index: 2;
}
.title{
color:yellow;
font-size: 10px;
font-family: "Comic Sans MS", cursive, sans-serif;
padding: 0;
margin: 0;
opacity: 1;
}
.description{
color:yellow;
font-size: 5px;
font-family: "Comic Sans MS", cursive, sans-serif;
padding: 0;
margin: 0;
opacity: 1;
}
.turnOff{
position:absolute;
top:0;
right: 0;
height: 5px;
width: 5px;
font-size: 3px;
font-weight: bolder;
padding: 0;
margin: 0;
border:0;
}