-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathindex.html
121 lines (100 loc) · 3.42 KB
/
index.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
<!DOCTYPE html>
<html lang="pt-br">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="icon" type="image/x-icon" href="/codigo-fonte/images/icon.png">
<title>Tela de Cadastro</title>
<style>
:root {
--cor-principal: #fff;
--cor-secundaria: #7b7bf8;
--cor-terciaria: #000000;
--cor-quaternaria: #6868ff6d;
--cor-hover: #6868ff;
}
body {
font-family: Arial, sans-serif;
background-color: #f0f0f0;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
margin: 0;
}
label {
color: var(--cor-secundaria);
font-weight: bold;
}
input {
color: var(--cor-secundaria);
border: var(--cor-secundaria);
font-weight: bold;
}
.register-container img {
height: 20em;
}
.register-container {
background-color: rgb(255, 255, 255);
padding: 40px;
border-radius: 15px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
width: 300px;
}
h2 {
color: var(--cor-secundaria);
font-weight: bold;
text-align: left;
margin: -50px 0 20px 0;
}
input[type="text"],
input[type="date"],
input[type="email"],
input[type="password"] {
width: 100%;
padding: 10px;
margin: 10px -10px;
border: 1px solid #ccc;
border-radius: 5px;
border-color: var(--cor-secundaria);
}
button {
width: 100%;
padding: 10px;
background-color: var(--cor-secundaria);
border: none;
color: white;
border-radius: 5px;
cursor: pointer;
font-weight: bold;
box-shadow: 5px 5px 1px var(--cor-quaternaria);
}
button:hover {
background-color: var(--cor-hover)
}
::placeholder {
color: var(--cor-secundaria);
}
</style>
</head>
<body>
<div class="register-container">
<img width="300" height="180" src="./codigo-fonte/images/Logo-bg.png" alt="logo">
<h2>Criar Conta</h2>
<form action="#" method="post">
<label for="username">Nome de Usuário:</label>
<input type="text" id="username" name="username" placeholder="Digite seu usuário" required>
<form action="#" method="post">
<label for="date">Data de Nascimento:</label>
<input id="date" type="date" name="date" placeholder="Digite sua data de nascimento" required>
<form action="#" method="post">
<label for="email">E-mail:</label>
<input type="email" id="email" name="email" placeholder="Digite seu e-mail" required>
<label for="password">Senha:</label>
<input type="password" id="password" name="password" placeholder="Digite sua senha" required>
<button type="button" id="register-btn" onclick="validarFormulario()">Cadastrar</button>
</form>
</div>
<script src="./codigo-fonte/JavaScript/cadastrar.js"></script>
</body>
</html>