-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
50 lines (44 loc) · 1013 Bytes
/
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
html, body {
margin: 0;
padding: 0;
width: 100%;
height: 100%;
overflow: hidden;
}
#solar-system {
position: relative;
width: 100%;
height: 100%;
}
#solar-system svg {
display: block;
background-color: #000;
background-image: url('https://t3.ftcdn.net/jpg/02/66/25/12/360_F_266251260_lt1ONfTfr8VkjWc4xOSPUnubetJFh5xI.jpg');
background-size: cover;
background-position: center;
}
.tooltip {
position: absolute;
text-align: center;
padding: 4px;
background: lightsteelblue;
border: 0px;
border-radius: 8px;
pointer-events: none;
opacity: 0;
transition: opacity 0.3s;
}
#info-card {
position: fixed;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
background-color: white;
color: black;
padding: 20px;
border-radius: 10px;
display: none;
z-index: 100;
max-width: 400px;
box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}