-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
152 lines (132 loc) · 2.48 KB
/
styles.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
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
@import url("https://rsms.me/inter/inter-ui.css");
body {
position: relative;
margin: 0;
padding: 0;
font-family: "Inter UI", sans-serif;
text-align: center;
color: white;
}
.titan-background {
position: absolute;
width: 100%;
background-image: linear-gradient(-180deg, #000000 0%, #200835 100%);
overflow: hidden;
z-index: 1;
/* Make the rubber band scroll not show empty white space */
top: -10%;
height: 120%;
min-height: 120vh;
margin-bottom: -20%;
}
.stars {
position: absolute;
top: 0;
width: 300vw;
height: 100vh;
transform: translate(0%, 0%);
background-size: contain;
background-repeat: repeat;
transform-origin: top left;
}
.stars-L {
background-image: url("assets/stars-L.svg");
background-size: 890px;
height: 750px;
animation: panning-stars 200s linear infinite alternate;
}
.stars-M {
background-image: url("assets/stars-M.svg");
height: 530px;
animation: panning-stars 300s linear infinite alternate;
}
.stars-S {
background-image: url("assets/stars-S.svg");
height: 370px;
animation: panning-stars 400s linear infinite alternate;
}
@keyframes panning-stars {
from {
transform: translate(-20%, 0%);
}
to {
transform: translate(-80%, -40%);
}
}
.marvellous-container {
position: relative;
z-index: 2;
padding: 104px 0 24px 0;
width: 95%;
max-width: 600px;
margin: auto;
}
h1 {
display: block;
font-size: 80px;
margin: 0 0 24px 0;
}
@media (max-width: 500px) {
h1 {
font-size: 16vw;
}
}
h2 {
font-weight: 500;
font-size: 24px;
}
h3 {
font-weight: 300;
font-size: 24px;
}
a {
color: inherit;
text-decoration: underline;
}
.title-marvel {
font-weight: bolder;
color: #020103;
letter-spacing: -6.7px;
text-transform: uppercase;
padding: 0 16px;
background: #9b00f5;
}
.title-studios {
position: relative;
display: inline-block;
font-weight: bold;
color: #9b00f5;
letter-spacing: -4.5px;
text-transform: uppercase;
padding: 0 16px;
border-color: #9b00f5;
border-top: 8px solid;
border-bottom: 8px solid;
line-height: 1;
}
code {
display: block;
box-sizing: border-box;
text-align: left;
font-size: 18px;
width: 100%;
padding: 16px 24px;
background: rgba(44, 37, 44, 0.8);
border: 1px solid #7f797f;
border-radius: 8px;
margin-bottom: 16px;
}
.header {
margin-bottom: 104px;
}
.installation-instructions,
.usage-instructions {
margin-top: 64px;
}
.footer {
margin-top: 224px;
}
.footer img {
height: 104px;
width: auto;
}