-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathregistrar.html
238 lines (199 loc) · 7.8 KB
/
registrar.html
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
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
<!DOCTYPE html>
<html lang="en">
<head>
<link rel="apple-touch-icon" sizes="180x180" href="favicon_io/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="favicon_io/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="favicon_io/favicon-16x16.png">
<link rel="manifest" href="favicon_io/site.webmanifest">
<meta charset="UTF-8">
<meta name="theme-color" content="#000000">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>SpaceMa𝕏</title>
<style>
body {
margin: 0;
overflow: hidden;
background-color: black;
position: relative;
font-family: 'Orbitron', sans-serif;
}
.star {
position: absolute;
width: 2px;
height: 2px;
background-color: white;
border-radius: 50%;
}
@keyframes moveStar {
0% {
transform: translateY(-2px);
}
100% {
transform: translateY(100vh);
}
}
#stars-container {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: -1;
}
.container {
display: flex;
}
.containerform {
display: flex;
flex-wrap: wrap;
gap: 10px;
flex-direction: column;
justify-content: center;
align-items: center;
}
.campo {
display: inline-block;
font-size: 22px;
margin-top: 12px;
}
.block {
flex: 1;
height: 500px;
}
input::placeholder {text-align: center;
font-size: 20px;}
.itemform {display: block;
width: 300px;
height: 40px;
margin-top: 15px;
border-radius: 6px;}
.itemform2 {
width: 200px;
height: 40px;
margin-top: 15px;
margin-left: 15px;
margin-right: 15px;
border-radius: 6px;}
#titulosite {color: aliceblue;
flex: 0.40;}
#divitensform {flex-direction: column;
display: flex;
align-items: center;
height: 360px;
padding: 30px;
border: 15px rgb(0, 0, 0);
border-radius: 30px;
border-style: double;
background-color: rgb(246, 246, 246);}
#botaosubmit {
background-color: rgb(48, 28, 68);
color: antiquewhite;
margin-top: 10px;
height: 40px;
width: 160px;
border-radius: 14px;}
#noformat {text-decoration: none;
color: black;
margin-top: 20px;
font-size: 20px;
}
#noformat2 {text-decoration: none;
color: whitesmoke;
margin-top: 20px;
font-size: 20px;
}
#divformall {
height: 80vh;
align-items: center;}
#iframenasa {border-radius: 50%;}
#divtitulo {
height: 15vh;
font-size: 25px;
padding-left: 40px;
display: flex;}
.itenstitulo {flex: 1;}
.select {
border-radius: 6px;
height: 35px;
}
</style>
</head>
<body>
<container class="divitensform" id="divformall">
<div id="stars-container"></div>
<header id="divtitulo">
<h1 id="titulosite"><a style="text-decoration: none; color: whitesmoke;" href="index.html">SpaceMa𝕏</a></h1>
<div class="itenstitulo" style="display: flex;">
<a id="noformat2" class="itenstitulo" href="https://joenyrcouto.github.io/website_sistemasolar_1.1/" target="_blank"><h2>Sistema Solar</h2></a>
<a id="noformat2" class="itenstitulo" href="#"><h2>documentários*</h2></a>
<a id="noformat2" class="itenstitulo" href="#"><h2>notícias*</h2></a>
</div>
</header>
<container id="divformall" class="container block">
<div id ="divitensform" class="block" style="font-size: 25px; margin-left: 7%; padding-bottom: 80px; margin-right: 120px;">
<h1 style="font-size: 45px; margin-bottom: 12px; margin: 8px; font-size: 35px;">Registrar-se em SpaceMa𝕏</h1>
<form action="">
<div class="containerform">
<div class="campo">
<input class="itemform2" type="email" placeholder="Digite um email"><input class="itemform2" type="password" placeholder="Digite um senha">
</div>
<div class="campo">
<label for="sexo">Qual seu sexo:</label>
<input type="radio" name="sexo" id="masculino" value="masculino">
<label for="masculino">Masculino</label>
<input type="radio" name="sexo" id="feminino" value="feminino">
<label for="feminino">Feminino</label>
</div>
<div class="campo">
<label for="interesses">Interesses:</label>
<input type="checkbox" name="interesses" id="astronomia" value="astronomia">
<label for="astronomia">Astronomia</label>
<input type="checkbox" name="interesses" id="mecanica" value="mecanica">
<label for="mecanica">Mecânica</label>
<input type="checkbox" name="interesses" id="tecnologia" value="tecnologia">
<label for="tecnologia">Tecnologia</label>
</div>
<div class="campo">
<label for="data-nascimento">Selecione sua data de nascimento:</label>
<select class="select" name="dia" id="dia">
<option value="1">1</option>
</select>
<select class="select" name="mês" id="mês">
<option value="1">Janeiro</option>
</select>
<select class="select" name="ano" id="ano">
<option value="2023">2023</option>
</select>
</div>
<input class="campo" id="botaosubmit" type="submit" value="Enviar">
</div>
</form>
<p><a id="noformat" href="logar.html">Já tenho uma conta</a>
</div>
<div class="block" style=" border-radius: 20px; height: 450px; width: 400px;">
<iframe src="https://solarsystem.nasa.gov/gltf_embed/2390/" frameborder="0" height="100%" width="80%" id="iframenasa"></iframe>
</div>
</container>
<footer style="height: 5vh; align-items: center;"><p style="color: rgb(174, 174, 174); text-align: right; margin-right: 3px;">Copyright © 2023 | Todos direitos do site reservado para o Joenyr Couto | Lua reservada à nasa.</p></footer>
</body>
<script>
// Função para criar uma estrela e definir sua animação
function createStar() {
const star = document.createElement('div');
star.className = 'star';
star.style.left = `${Math.random() * 100}%`;
star.style.top = `${Math.random() * 100}%`;
star.style.animation = `moveStar ${Math.random() * 20 + 10}s linear infinite`; // Animação de movimento com duração aleatória
document.getElementById('stars-container').appendChild(star);
// Evento para reiniciar a estrela quando ela sair da tela
star.addEventListener('animationiteration', () => {
star.style.left = `${Math.random() * 100}%`;
star.style.top = '-2px'; // Posicione a estrela acima da tela
});
}
// Crie 100 estrelas
for (let i = 0; i < 100; i++) {
createStar();
}
</script>
</html>