Skip to content

Commit

Permalink
Update d016
Browse files Browse the repository at this point in the history
  • Loading branch information
carlosmrd committed Jan 19, 2025
1 parent 9bc4e01 commit 0460654
Show file tree
Hide file tree
Showing 2 changed files with 46 additions and 15 deletions.
26 changes: 12 additions & 14 deletions d016/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,19 +8,17 @@
<link rel="stylesheet" href="styles/mediaquery.css">
</head>
<body>
<main>
<section id="login">
<div id="image">
Imagem
</div>
<div id="form">
<h1>Login</h1>
<p>Seja bem-vindo(a) novamente. Faça login para acessar sua conta.</p>
<form action="login.php" method="post">

</form>
</div>
</section>
</main>
<section id="login">
<div id="image">
<!--Imagem está nas CSS-->
</div>
<div id="form">
<h1>Login</h1>
<p>Seja bem-vindo(a) novamente. Faça login para acessar sua conta.</p>
<form action="login.php" method="post">

</form>
</div>
</section>
</body>
</html>
35 changes: 34 additions & 1 deletion d016/styles/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,40 @@
*/

* {
font-family: Arial, Helvetica, sans-serif;
font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
margin: 0px;
padding: 0px;
box-sizing: border-box;
}

html {
background-color: #5f2c82;
height: 100vh;
width: 100vw;
}

section#login {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
background-color: white;
width: 250px;
height: 500px;
border-radius: 20px;
overflow: hidden;
box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.45);
}

section#login > div#image {
display: block;
background: #5f2c82 url(../images/pattern.jpg) no-repeat;
height: 200px;
background-size: cover;
background-position: center center;
}

section#login > div#form {
display: block;
padding: 10px;
}

0 comments on commit 0460654

Please sign in to comment.