Junção da pagina de cadastro e de login
This commit is contained in:
54
cadastro.html
Normal file
54
cadastro.html
Normal file
@@ -0,0 +1,54 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="pt-br">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Tcc parte2</title>
|
||||
<link rel="stylesheet" href="stylecad.css">
|
||||
<link rel="icon" href="imagens/icone.png">
|
||||
</head>
|
||||
<body>
|
||||
|
||||
|
||||
<!--Barrinha que fica no topo-->
|
||||
<div id="topo">
|
||||
<h1 id="textotop">Focus Agenda</h1>
|
||||
</div>
|
||||
<!--cabo bar-->
|
||||
|
||||
<!--Login e outras coisas-->
|
||||
<div id="log">
|
||||
<h1 class="mens">Crie Sua Conta</h1>
|
||||
|
||||
|
||||
|
||||
<form method="POST" action="cadastro.html">
|
||||
<div class="campo">
|
||||
<label for="emailid">Email</label>
|
||||
<input type="email" placeholder="Digite seu email" name="email" id="emailid" required>
|
||||
</div>
|
||||
|
||||
<div class="campo">
|
||||
<label for="nomeid">Nome</label>
|
||||
<input type="name" placeholder="Nome de usuario" name="user" id="nomeid" required>
|
||||
</div>
|
||||
|
||||
<div class="campo">
|
||||
<label for="senhaid">Senha</label>
|
||||
<input type="password" placeholder="Digite sua senha" name="senha" id="senhaid" required>
|
||||
</div>
|
||||
|
||||
<div class="campo">
|
||||
<label for="csenhaid">Confirmar Senha</label>
|
||||
<input type="password" placeholder="Confirme sua senha" name="csenha" id="csenhaid" required>
|
||||
</div>
|
||||
<button type="submit" id="logbtn">Cadastrar</button>
|
||||
</form>
|
||||
<p class="mens"><a href="login.html" id="linklog">Já tem uma conta?</a></p>
|
||||
</div>
|
||||
<!--cabo log-->
|
||||
|
||||
</body>
|
||||
</html>
|
||||
</html>
|
||||
@@ -4,7 +4,7 @@
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<link rel="stylesheet" href="style.css">
|
||||
<link rel="stylesheet" href="stylelog.css">
|
||||
<link rel="icon" href="imagens/icone.png">
|
||||
<title>Login</title>
|
||||
</head>
|
||||
@@ -38,7 +38,7 @@
|
||||
<p class="mens"><a href="cadastro.html" id="linkcada">Cadastrar-se</a></p>
|
||||
</div>
|
||||
<!--cabo log-->
|
||||
|
||||
</div>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
125
stylecad.css
Normal file
125
stylecad.css
Normal file
@@ -0,0 +1,125 @@
|
||||
* {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
p,
|
||||
h1,
|
||||
h2,
|
||||
h3 {
|
||||
color: black;
|
||||
margin: 0;
|
||||
font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif
|
||||
}
|
||||
|
||||
label{
|
||||
display: block;
|
||||
}
|
||||
|
||||
body {
|
||||
height: 100vh;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
@media (max-width: 768px) {
|
||||
body {
|
||||
padding-left: 20px;
|
||||
padding-right: 20px;
|
||||
justify-content: center;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 480px) {
|
||||
#log {
|
||||
width: 100% !important;
|
||||
max-width: 320px;
|
||||
}
|
||||
}
|
||||
#topo {
|
||||
width: 100%;
|
||||
height: 50px;
|
||||
background-color: #111;
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
background: linear-gradient(to right, #93032E 47%, #7A4951 73%, #114455 87%);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: flex-start;
|
||||
padding-left: 20px;
|
||||
|
||||
}
|
||||
|
||||
#textotop {
|
||||
font-size: 38px;
|
||||
margin: 0;
|
||||
font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
|
||||
}
|
||||
|
||||
#log {
|
||||
width: 350px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 15px;
|
||||
color: white;
|
||||
margin-top: 70px; /* Compensa a barra fixa do topo */
|
||||
}
|
||||
#campo {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 15px;
|
||||
align-self: center;
|
||||
}
|
||||
#menslog{
|
||||
font-size: 20px;
|
||||
}
|
||||
|
||||
#emailid, #senhaid, #nomeid, #csenhaid {
|
||||
height: 50px;
|
||||
width: 100%;
|
||||
padding: 10px;
|
||||
font-size: 16px;
|
||||
border: 1px solid #ccc;
|
||||
border-radius: 4px;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
label {
|
||||
display: block;
|
||||
margin-bottom: 5px;
|
||||
font-weight: bold;
|
||||
color: white;
|
||||
}
|
||||
|
||||
form {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 15px;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
#logbtn {
|
||||
align-self: center;
|
||||
width: 50%;
|
||||
padding: 12px;
|
||||
font-size: 18px;
|
||||
font-weight: bold;
|
||||
background-color: #C0392B;
|
||||
color: white;
|
||||
border: none;
|
||||
border-radius: 4px;
|
||||
cursor: pointer;
|
||||
transition: background-color 0.3s;
|
||||
}
|
||||
|
||||
#logbtn:hover {
|
||||
background-color: #A03224;
|
||||
}
|
||||
.mens {
|
||||
align-self: center;
|
||||
}
|
||||
#linklog{
|
||||
color: black;
|
||||
}
|
||||
@@ -9,7 +9,7 @@ h2,
|
||||
h3 {
|
||||
color: black;
|
||||
margin: 0;
|
||||
font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif
|
||||
font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
|
||||
}
|
||||
|
||||
label{
|
||||
@@ -36,6 +36,7 @@ body {
|
||||
width: 100% !important;
|
||||
max-width: 320px;
|
||||
}
|
||||
|
||||
}
|
||||
#topo {
|
||||
width: 100%;
|
||||
@@ -44,7 +45,7 @@ body {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
background: linear-gradient(to right, #C0392B 47%, #7A4951 73%, #114455 87%);
|
||||
background: linear-gradient(to right, #93032E 47%, #7A4951 73%, #114455 87%);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: flex-start;
|
||||
Reference in New Issue
Block a user