This commit is contained in:
2026-03-03 19:41:28 -03:00
parent 9eb90bf2ec
commit f26755deaa
2 changed files with 109 additions and 121 deletions

View File

@@ -23,7 +23,6 @@
<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>
@@ -40,10 +39,6 @@
</div> </div>
<!--cabo log--> <!--cabo log-->
</body> </body>
</html> </html>

163
style.css
View File

@@ -1,51 +1,45 @@
* { * {
padding: 0; padding: 0;
margin: 0; margin: 0;
}
p,
h1,
h2,
h3 {
margin: 0;
font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif
}
label{
display: block;
} }
body { p,
background-image: url(imagens/fundo1.png); h1,
background-size: cover; h2,
background-repeat: no-repeat; h3 {
background-position: center; color: black;
background-attachment: fixed; margin: 0;
font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif
}
label{
display: block;
}
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) { @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 { #topo {
width: 100%; width: 100%;
height: 70px; height: 50px;
background-color: #111; background-color: #111;
position: fixed; position: fixed;
top: 0; top: 0;
@@ -56,74 +50,73 @@ label{
justify-content: flex-start; justify-content: flex-start;
padding-left: 20px; padding-left: 20px;
} }
#textotop { #textotop {
font-size: 48px; font-size: 38px;
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;
} }
#log { #log {
margin-top: 70px;
width: 350px; width: 350px;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
gap: 15px; gap: 15px;
color: white; color: white;
margin: 0; margin-top: 70px; /* Compensa a barra fixa do topo */
} }
#campo { #campo {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
gap: 15px; gap: 15px;
align-self: center; align-self: center;
} }
#menslog{ #menslog{
font-size: 20px; font-size: 20px;
} }
#emailid, #senhaid { #emailid, #senhaid {
height: 50px; height: 50px;
width: 100%; width: 100%;
padding: 10px; padding: 10px;
font-size: 16px; font-size: 16px;
border: 1px solid #ccc; border: 1px solid #ccc;
border-radius: 4px; border-radius: 4px;
box-sizing: border-box; box-sizing: border-box;
} }
label { label {
display: block; display: block;
margin-bottom: 5px; margin-bottom: 5px;
font-weight: bold; font-weight: bold;
color: white; color: white;
} }
form { form {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
gap: 15px; gap: 15px;
width: 100%; width: 100%;
} }
#logbtn { #logbtn {
align-self: center; align-self: center;
width: 50%; width: 50%;
padding: 12px; padding: 12px;
font-size: 18px; font-size: 18px;
font-weight: bold; font-weight: bold;
background-color: #C0392B; background-color: #C0392B;
color: white; color: white;
border: none; border: none;
border-radius: 4px; border-radius: 4px;
cursor: pointer; cursor: pointer;
transition: background-color 0.3s; transition: background-color 0.3s;
} }
#logbtn:hover { #logbtn:hover {
background-color: #A03224; background-color: #A03224;
} }
.mens { .mens {
align-self: center; align-self: center;
} }