-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlogar.html
177 lines (147 loc) · 5.52 KB
/
logar.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
<!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;
}
.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;}
#titulosite {color: aliceblue;
flex: 0.40;}
#divitensform {flex-direction: column;
display: flex;
align-items: center;
height: 360px;
padding: 30px;
border: 15px rgba(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: 40px;
height: 40px;
width: 160px;
border-radius: 14px;
position: relative;
left: 25%;}
#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;
justify-content: center;}
.itenstitulo {flex: 1;}
</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 class="block" style="margin-left: 7%; border-radius: 20px; height: 450px; width: 400px;">
<iframe src="https://solarsystem.nasa.gov/gltf_embed/2392/" frameborder="0" height="100%" width="80%" id="iframenasa"></iframe>
</div>
<div id ="divitensform" class="block" style="font-size: 25px; margin-right: 7%; padding-bottom: 80px;">
<h1>Login em SpaceMa𝕏</h1>
<form action="">
<input class="itemform" type="email" placeholder="Digite seu email">
<input class="itemform" type="password" placeholder="Digite sua senha">
<input id="botaosubmit" type="submit" value="Enviar">
</form>
<p style="margin-top: 43px;"><a id="noformat" href="registrar.html">registre-se</a> | <a id="noformat" href="">esqueci a senha</a></p>
</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 | Planeta reservado à 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>