Compare commits

...

3 Commits

Author SHA1 Message Date
1f6471adfe Excluir fundo1.png 2026-03-01 19:55:49 +00:00
6bffb165e9 Formatação do css 2026-03-01 19:52:45 +00:00
915f2f2ff7 Formatação do front end 2026-03-01 19:52:21 +00:00
3 changed files with 194 additions and 177 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.8 MiB

View File

@@ -1,49 +1,45 @@
<!DOCTYPE html> <!DOCTYPE html>
<html lang="pt-br"> <html lang="pt-br">
<head> <head>
<meta charset="UTF-8"> <meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="style.css"> <link rel="stylesheet" href="style.css">
<title>TCC de cria</title> <title>TCC de cria</title>
</head> </head>
<body> <body>
<!--Barrinha que fica no topo--> <!--Barrinha que fica no topo-->
<div id="topo"> <div id="topo">
<h1 id="textotop">Focus Agenda</h1> <h1 id="textotop">Focus Agenda</h1>
</div> </div>
<!--cabo bar--> <!--cabo bar-->
<!--Login e outras coisas--> <!--Login e outras coisas-->
<div id="log"> <div id="log">
<h1 class="mens">Bem Vindo!</h1> <h1 class="mens">Bem Vindo!</h1>
<h3 class="mens">Faça seu login</h3> <h3 class="mens">Faça seu login</h3>
<form method="POST" action="login.php"> <form method="POST" action="login.php">
<div class="campo"> <div class="campo">
<label for="emailid">Email</label> <label for="emailid">Email</label>
<input type="email" placeholder="Digite seu email" name="email" id="emailid" required> <input type="email" placeholder="Digite seu email" name="email" id="emailid" required>
</div> </div>
<div class="campo"> <div class="campo">
<label for="senhaid">Senha</label> <label for="senhaid">Senha</label>
<input type="password" placeholder="Digite sua senha" name="senha" id="senhaid" required> <input type="password" placeholder="Digite sua senha" name="senha" id="senhaid" required>
</div> </div>
<button type="submit" id="logbtn">Logar</button> <button type="submit" id="logbtn">Logar</button>
</form> </form>
<p class="mens">Cadastrar-se</p> <p class="mens">Cadastrar-se</p>
</div> </div>
<!--cabo log--> <!--cabo log-->
</body>
</body>
</html> </html>

279
style.css
View File

@@ -1,129 +1,150 @@
* { * {
padding: 0; padding: 0;
margin: 0; margin: 0;
} }
p, p,
h1, h1,
h2, h2,
h3 { h3 {
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 {
background-image: url(imagens/fundo1.png);
background-size: cover; background-size: cover;
background-repeat: no-repeat; background-repeat: no-repeat;
background-position: center; background-position: center;
background-attachment: fixed; background-attachment: fixed;
height: 100vh; height: 100vh;
display: flex; display: flex;
justify-content: flex-start; justify-content: center;
align-items: center; align-items: center;
padding-left: 300px; padding-left: 0;
} }
@media (max-width: 768px) { @media (max-width: 768px) {
body { body {
padding-left: 20px; padding-left: 20px;
padding-right: 20px; padding-right: 20px;
justify-content: center; justify-content: center;
} }
} }
@media (max-width: 480px) { @media (max-width: 480px) {
#log { #log {
width: 100% !important; width: 100% !important;
max-width: 320px; max-width: 320px;
} }
} }
#topo {
width: 100%; #topo {
height: 70px; width: 100%;
background-color: #111; height: 70px;
position: fixed; background-color: #111;
top: 0; position: fixed;
left: 0; top: 0;
background: linear-gradient(to right, #C0392B 47%, #7A4951 73%, #114455 87%); left: 0;
display: flex; background: linear-gradient(to right, #C0392B 47%, #7A4951 73%, #114455 87%);
align-items: center; display: flex;
justify-content: flex-start; align-items: center;
padding-left: 20px; justify-content: flex-start;
padding-left: 20px;
}
}
#textotop {
font-size: 48px; #textotop {
margin: 0; font-size: 48px;
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;
}
#log {
margin-top: 70px; #log {
width: 350px; margin-top: 70px;
display: flex; width: 350px;
flex-direction: column; display: flex;
gap: 15px; flex-direction: column;
color: white; gap: 15px;
margin: 0; color: rgb(0, 0, 0);
} margin: 0;
#campo { }
display: flex;
flex-direction: column; #campo {
gap: 15px; display: flex;
align-self: center; flex-direction: column;
} gap: 15px;
#menslog{ align-self: center;
font-size: 20px; }
}
#menslog {
#emailid, #senhaid { font-size: 20px;
height: 50px; }
width: 100%;
padding: 10px; #emailid,
font-size: 16px; #senhaid {
border: 1px solid #ccc; height: 50px;
border-radius: 4px; width: 100%;
box-sizing: border-box; padding: 10px;
} font-size: 16px;
border: 1px solid #ccc;
label { border-radius: 4px;
display: block; box-sizing: border-box;
margin-bottom: 5px; }
font-weight: bold;
color: white; label {
} display: block;
margin-bottom: 5px;
form { font-weight: bold;
display: flex; color: white;
flex-direction: column; }
gap: 15px;
width: 100%; form {
} display: flex;
flex-direction: column;
#logbtn { gap: 15px;
align-self: center; width: 100%;
width: 50%; }
padding: 12px;
font-size: 18px; #logbtn {
font-weight: bold; align-self: center;
background-color: #C0392B; width: 50%;
color: white; padding: 12px;
border: none; font-size: 18px;
border-radius: 4px; font-weight: bold;
cursor: pointer; background-color: #C0392B;
transition: background-color 0.3s; color: white;
} border: none;
border-radius: 4px;
#logbtn:hover { cursor: pointer;
background-color: #A03224; transition: background-color 0.3s;
} }
.mens {
align-self: center; #logbtn:hover {
} background-color: #A03224;
}
.mens {
align-self: center;
}
.mens-links {
display: flex;
justify-content: center;
gap: 20px;
}
.mens-links a {
color: inherit;
text-decoration: none;
font-weight: bold;
}
.mens-links a:hover {
text-decoration: underline;
}