1 Commits

Author SHA1 Message Date
Fernando fde3f44f4e Overwatch é um jogo bem estressante 2026-03-10 20:43:33 -03:00
4 changed files with 192 additions and 165 deletions
+52
View File
@@ -0,0 +1,52 @@
<!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="style.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 class="card">
<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>
</div>
</div>
<!--cabo log-->
</body>
</html>
BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 7.0 KiB

-44
View File
@@ -1,44 +0,0 @@
<!DOCTYPE html>
<html lang="pt-br">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="style.css">
<title>TCC de cria</title>
</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">Bem Vindo!</h1>
<h3 class="mens">Faça seu login</h3>
<form method="POST" action="login.php">
<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="senhaid">Senha</label>
<input type="password" placeholder="Digite sua senha" name="senha" id="senhaid" required>
</div>
<button type="submit" id="logbtn">Logar</button>
</form>
<p class="mens">Cadastrar-se</p>
</div>
<!--cabo log-->
</body>
</html>
+140 -121
View File
@@ -1,122 +1,141 @@
* { * {
padding: 0; padding: 0;
margin: 0; margin: 0;
} }
p, p,
h1, h1,
h2, h2,
h3 { h3 {
color: black; color: black;
margin: 0; 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{ label {
display: block; display: block;
} }
body { body {
height: 100vh; height: 100vh;
display: flex; display: flex;
justify-content: center; flex-direction: column;
align-items: center; justify-content: center;
} align-items: center;
background-color: rgba(139, 141, 147, 0.911);
@media (max-width: 768px) { }
body {
padding-left: 20px; @media (max-width: 768px) {
padding-right: 20px; body {
justify-content: center; padding-left: 20px;
} padding-right: 20px;
} justify-content: center;
}
@media (max-width: 480px) { }
#log {
width: 100% !important; @media (max-width: 480px) {
max-width: 320px; #log {
} width: 100% !important;
} max-width: 320px;
#topo { }
width: 100%; }
height: 50px;
background-color: #111; #topo {
position: fixed; width: 100%;
top: 0; height: 50px;
left: 0; background-color: #111;
background: linear-gradient(to right, #C0392B 47%, #7A4951 73%, #114455 87%); position: fixed;
display: flex; top: 0;
align-items: center; left: 0;
justify-content: flex-start; background: linear-gradient(to right, #C0392B 47%, #7A4951 73%, #114455 87%);
padding-left: 20px; 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; #textotop {
} font-size: 38px;
margin: 0;
#log { font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
width: 350px; }
display: flex;
flex-direction: column; #log {
gap: 15px; width: 100%;
color: white; display: flex;
margin-top: 70px; /* Compensa a barra fixa do topo */ flex-direction: column;
} gap: 15px;
#campo { color: white;
display: flex; }
flex-direction: column;
gap: 15px; #campo {
align-self: center; display: flex;
} flex-direction: column;
#menslog{ gap: 15px;
font-size: 20px; align-self: center;
} }
#emailid, #senhaid { #menslog {
height: 50px; font-size: 20px;
width: 100%; }
padding: 10px;
font-size: 16px; #emailid,
border: 1px solid #ccc; #senhaid,
border-radius: 4px; #nomeid,
box-sizing: border-box; #csenhaid {
} height: 50px;
width: 100%;
label { padding: 10px;
display: block; font-size: 16px;
margin-bottom: 5px; border: 1px solid #ccc;
font-weight: bold; border-radius: 4px;
color: white; box-sizing: border-box;
} }
form { label {
display: flex; display: block;
flex-direction: column; margin-bottom: 5px;
gap: 15px; font-weight: bold;
width: 100%; color: black;
} font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
#logbtn { }
align-self: center;
width: 50%; form {
padding: 12px; display: flex;
font-size: 18px; flex-direction: column;
font-weight: bold; gap: 15px;
background-color: #C0392B; width: 100%;
color: white; }
border: none;
border-radius: 4px; #logbtn {
cursor: pointer; align-self: center;
transition: background-color 0.3s; width: 50%;
} padding: 12px;
font-size: 18px;
#logbtn:hover { font-weight: bold;
background-color: #A03224; background-color: #C0392B;
} color: white;
.mens { border: none;
align-self: center; border-radius: 4px;
cursor: pointer;
transition: background-color 0.3s;
}
#logbtn:hover {
background-color: #A03224;
}
.mens {
align-self: center;
}
.card {
background-color: rgb(216, 214, 197);
border-radius: 16px;
padding: 50px 35px;
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.08);
width: 400px;
max-width: 90%;
margin-top: 70px; /* Compensa a barra fixa do topo */
} }