This commit is contained in:
2026-03-03 20:22:18 -03:00
parent bdcc2243ad
commit e674ae28b2
2 changed files with 142 additions and 133 deletions

View File

@@ -1,5 +1,5 @@
<!DOCTYPE html> <!DOCTYPE html>
<html lang="en"> <html lang="pt-br">
<head> <head>
<meta charset="UTF-8"> <meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta http-equiv="X-UA-Compatible" content="IE=edge">
@@ -10,34 +10,43 @@
<body> <body>
<div id="topo"> <!--Barrinha que fica no topo-->
<h1 id="textotop">Focus Agenda</h1> <div id="topo">
</div> <h1 id="textotop">Focus Agenda</h1>
</div>
<!--cabo bar-->
<div class="card"> <!--Login e outras coisas-->
<div id="log">
<h2>Crie sua conta</h2> <h1 class="mens">Crie Sua Conta</h1>
<form>
<div class="field">
<label>E-mail</label>
<input type="email" placeholder="email@exemplo.com"> <form method="POST" action="cadastro.html">
</div> <div class="campo">
<div class="field"> <label for="emailid">Email</label>
<label>Usuario</label> <input type="email" placeholder="Digite seu email" name="email" id="emailid" required>
<input type="text" placeholder="nome de usuario"> </div>
</div>
<div class="field"> <div class="campo">
<label>Senha</label> <label for="nomeid">Nome</label>
<input type="password" placeholder="Digite sua senha"> <input type="name" placeholder="Nome de usuario" name="user" id="nomeid" required>
</div> </div>
<div class="field">
<label>Confirmar Senha</label> <div class="campo">
<input type="password" placeholder="Confirme a senha"> <label for="senhaid">Senha</label>
</div> <input type="password" placeholder="Digite sua senha" name="senha" id="senhaid" required>
<button type="submit">Cadastrar</button> </div>
</form>
<div class="campo">
</div> <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>
</div>
<!--cabo log-->
</body> </body>
</html> </html>

210
style.css
View File

@@ -1,112 +1,43 @@
* { * {
padding: 0; padding: 0;
margin: 0; margin: 0;
box-sizing: border-box; }
}
p,
p, h1, h2, h3 { h1,
margin: 0; h2,
h3 {
color: black; color: black;
font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif; margin: 0;
} font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif
}
body {
label{
background-size: cover; display: block;
background-repeat: no-repeat; }
background-position: center;
background-attachment: fixed; body {
height: 100vh; height: 100vh;
display: flex; display: flex;
justify-content: flex-start; justify-content: center;
align-items: center; align-items: center;
padding-left: 300px; }
}
@media (max-width: 768px) {
/* Responsividade do Body */ body {
@media (max-width: 768px) { padding-left: 20px;
body { padding-right: 20px;
padding-left: 20px; justify-content: center;
padding-right: 20px; }
justify-content: center; }
}
} @media (max-width: 480px) {
#log {
/* Estilização do Card (antigo #log) */ width: 100% !important;
.card { max-width: 320px;
width: 350px; }
display: flex; }
flex-direction: column; #topo {
gap: 15px;
color: white;
}
@media (max-width: 480px) {
.card {
width: 100%;
max-width: 320px;
}
}
.card h2 {
font-size: 24px;
margin-bottom: 10px;
align-self: center;
}
.field {
display: flex;
flex-direction: column;
gap: 5px;
}
label {
display: block;
font-weight: bold;
color: black;
margin: 0;
font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
}
input {
height: 50px;
width: 100%;
padding: 10px;
font-size: 16px;
border: 1px solid #ccc;
border-radius: 4px;
box-sizing: border-box;
}
form {
display: flex;
flex-direction: column;
gap: 15px;
width: 100%;
}
button[type="submit"] {
align-self: center;
width: 60%;
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;
margin-top: 10px;
}
button[type="submit"]:hover {
background-color: #A03224;
}
#topo {
width: 100%; width: 100%;
height: 50px; height: 50px;
background-color: #111; background-color: #111;
@@ -118,5 +49,74 @@ button[type="submit"]:hover {
align-items: center; align-items: center;
justify-content: flex-start; justify-content: flex-start;
padding-left: 20px; 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;
}