Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions sonOFAthena/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
node_modules/
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@sonOFAthena esto esta bueno y lo podrias dejar al nivel raiz del proyecto

.vscode/
16 changes: 16 additions & 0 deletions sonOFAthena/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<!DOCTYPE html>
<html lang="en">
<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>Desafío 11</title>
</head>
<body>
<ul>
<li>
<a href="main.html">Login</a>
</li>
</ul>
</body>
</html>
44 changes: 44 additions & 0 deletions sonOFAthena/main.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
<!DOCTYPE html>
<html lang="en">
<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">
<link rel="stylesheet" href="style.css"><link rel="stylesheet" href="https://pro.fontawesome.com/releases/v5.10.0/css/all.css"
integrity="sha384-AYmEC3Yw5cVb3ZcuHtOA93w35dYTsvhLPVnYs9eStHfGJvOvKxVfELGroGkvsg+p" crossorigin="anonymous" />
<title>Login</title>
</head>
<body>
<div class="container">
<div class="form">
<h2>Sign in</h2>
<p class="text"> Stay updated on your professional world</p>
<div class="formGroup">
<i class="far fa-envelope"></i>
<input type="email" name="email" id="email" placeholder="Email">
</div>
<div class="formGroup">
<i class="fas fa-lock"></i>
<input type="password" name="password" id="password" placeholder="Password">
<div class="show"> show </div>
</div>
<div class="forgotten">
<h6>Forgot password?</h6>
</div>
<button class="btn">Sign in</button>
<hr> <!-- Horizontal Line -->
<div class="orDiv">Or</div>
<div class="socialBtn">
<div class="formSocial">
<img src="https://cdn-icons.flaticon.com/png/512/2504/premium/2504739.png?token=exp=1656363184~hmac=9673c890e9dc24ae29d925b1107059f5" alt="logo_de_google">
<input type="email" name="email" id="email" placeholder="Sign in with Google ">
</div>
<div class="formSocial">
<img src="https://cdn-icons-png.flaticon.com/512/25/25345.png" alt="logo_de_apple">
<input type="email" name="email" id="email" placeholder="Sign in with Apple">
</div>
</div>
</div>
</div>
</body>
</html>
48 changes: 48 additions & 0 deletions sonOFAthena/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions sonOFAthena/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"dependencies": {
"@fortawesome/fontawesome-svg-core": "^6.1.1"
}
}
160 changes: 160 additions & 0 deletions sonOFAthena/style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,160 @@
/* * {
padding: 0;
margin: 0;
} */

body{
padding: 0;
margin: 0;
height: 100vh;
font-family: sans-serif;
box-sizing: border-box;
}

.container {
height: 100vh;
display: flex;
align-content: center;
justify-content: center;
align-items: center;
}

.form {
width: 200px;
height: 400px;
padding: 8%;
background-color: white;
border-radius: 10px;
box-shadow: 0px 0px 20px black;
}


.socialBtn {
display: flex;
flex-direction: column;
justify-content: center;
}

.formSocial {
width: 100%;
position: relative;
}

.formSocial input {
width: 90%;
padding: 10px;
margin-bottom: 10px;
border: 1px solid grey;
padding-left: 35px !important;
border-radius: 20px;
}

.formSocial img {
position: absolute;
width: 20px;
height: 20px;
left: 0px;
top: 0px;
color: grey;
font-size: smaller;
margin: 9px !important;
}

.formSocial input::placeholder {
color: black;
}

.icon {
width: 30px;
height: 30px;
border-radius: 15px;
background-color: lavender;
margin: 5px;
line-height: 30px;
box-shadow: 0px 0px 10px black;
}

.text {
font-size: small;
}

.orDiv {
width: 10%;
margin: 0 auto;
background-color: white;
/* Allow beetween hr allocation */
position: relative;
top: -16px;
justify-content: center;
font-size: 11px;
padding-left: 10px;
}

.formGroup {
width: 100%;
position: relative;
}

.formGroup input {
width: 90%;
padding: 10px;
margin-bottom: 10px;
border: 1px solid grey;
padding-left: 30px !important;
}

.formGroup i {
position: absolute;
left: 0px;
top: 0px;
color: grey;
font-size: smaller;
margin: 10px !important;
}

input::placeholder {
position: relative;
}

input:focus{
border-color: red;
}

.forgotten h6{
display: flex;
margin: 0 auto;
padding-bottom: 10px;
cursor: pointer;
}

.forgotten h6:hover{
color: red;
}

.btn {
width: 100%;
padding: 10px;
background-color: rgb(24, 65, 179);
margin-top: 15px;
margin-bottom: 15px;
color: white;
border-radius: 20px;
border-style: none;
}


.btn:hover, .icon:hover {
background-color: rgb(31, 91, 255);
color: whitesmoke;
}

.show {
position: absolute;
left: 170px;
top: 0px;
color: blue;
font-weight: bold;
font-size: 11px;
margin: 12px !important;
cursor: pointer;
}