-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
124 lines (103 loc) · 1.72 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
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
img {
max-width: 100%;
}
body {
background-color: hsl(274, 100%, 8%);
color: white;
font-family: Verdana, Geneva, Tahoma, sans-serif;
}
div {
overflow: hidden;
}
#section-landing {
position: relative;
min-height: 100vh;
width: 100vw;
background-image: url("assets/galaxy-bg.png");
background-size: cover;
background-repeat: no-repeat;
}
.landing-img {
position: absolute;
inset: 0;
z-index: 1;
}
.title {
text-transform: uppercase;
text-align: center;
letter-spacing: 0.3rem;
}
#main-title {
position: relative;
font-size: 11.25rem;
z-index: 0;
}
#secondary-title {
font-size: 7rem;
}
#section-planet {
background-image: url(assets/pixspace.jpeg);
height: 1000px;
}
.text {
color: whitesmoke;
}
#info-text {
position: absolute;
margin-left: 1200px;
font-size: 30px;
}
#cc-title {
width: 500px;
color: whitesmoke;
font-size: 60px;
text-align: center;
margin-top: -30px;
margin-left: 330px;
}
#mercury {
height:140px;
width: 140px;
margin-bottom: 0px;
margin-left: 100px;
}
#venus {
height:150px;
width: 150px;
margin-top: -120px;
margin-left: 1000px;
}
#mars {
height: 150px;
width: 150px;
margin-top: 250px;
margin-left: 210px;
}
#earth {
height: 150px;
width: 150px;
margin-top: 20px;
margin-left: 550px;
}
#jupiter {
height: 200px;
width: 300px;
margin-top: -430px;
}
#saturn {
height: 180px;
width: 180px;
margin-top: 50px;
margin-left: 730px;
}
#pluto {
height: 140px;
width: 140px;
margin-top: -400px;
margin-left: 900px;
}
#section-planet img {
height: 100%;
width: 100%;
object-fit: contain;
}