Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
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
4 changes: 4 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@
<li>
<a href="./juancotera/index.html">Juan Cotera</a>
</li>
<li>
<a href="./rvelascomosquera/index.html">Robert Velasco M</a>
</li>
</ul>
</body>
</html>

37 changes: 37 additions & 0 deletions rvelascomosquera/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
<!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">
<script src="https://kit.fontawesome.com/557bad9d33.js" crossorigin="anonymous"></script>
<title>Document</title>
</head>
<body>
<section class="card">
<div class="title">
<h1>Sign in</h1>
<h4>Stay updated on your professional world</h4>
</div>
<div class="description">
<input type="email" placeholder="Email or Phone">
<div class="password">
<input class="input--text " type="password" placeholder="Password">
<span class="password__show"> <a href="#">show</a> </span>
</div>
<a href="#">Forgot password?</a>
<a class="login__button button--color" href="#"> Sign in</a>
<div class="line">
<p> or </p>
</div>
<div class="login">
<a class="login__button" href="#">
<span><i class="fa-brands fa-google"></i></span> Sign in with Google</a>
<a class="login__button" href="#">
<span><i class="fa-brands fa-apple"></i></span> Sign in with Apple</a>
</div>
</div>
</section>
</body>
</html>
143 changes: 143 additions & 0 deletions rvelascomosquera/style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,143 @@
@import url('https://fonts.googleapis.com/css2?family=Roboto+Condensed:wght@300;400;700&display=swap');

:root {
--color-text: rgba(5, 5, 5, 0.575);
--color-border: rgba(0, 0, 0, 0.432);
--color-button: #2e63b8;
}

* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Roboto Condensed', sans-serif;
}

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

.card {
width: 35vw;
height: 65vh;
box-shadow: 1px 0px 8px -1px rgba(0,0,0,0.75);
margin: auto;
border-radius: 10px;
padding: 25px;
display: flex;
flex-direction: column;
justify-content: space-around;
}

h1 {
font-size: 2.5em;
font-weight: 700;
}

h4 {
font-size: 1em;
padding: 5px 0;
font-weight: 400;
}

.description {
display: flex;
flex-direction: column;
gap: 20px;
padding: 15px 0;
}

.password {
border-radius: 5px;
border: 1px solid var(--color-border);
display: flex;
text-align: center;
justify-content: space-between;
}

.password__show {
margin: auto 0;
padding: 0 15px;
color: #2D64BC;
}

a {
text-decoration: none;
font-size: 1.2em;
font-weight: 500;
}

input {
font-size: 1.1em;
padding: 15px;
border: 1px solid var(--color-border);
border-radius: 5px;
}

.input--text {
border: none;
}

.login {
display: flex;
flex-direction: column;
gap: 20px;
justify-content: center;
text-align: center;
}

.login__button {
border: 1px solid var(--color-border);
border-radius: 30px;
color: var(--color-text);
padding: 12px;
font-size: 1.2em;
font-weight: 400;
}

.button--color {
background-color: var(--color-button);
color: white;
border: none;
text-align: center;
}

.fa-brands {
font-size: 25px;
padding: 0 10px;
}

.fa-apple {
color: black;
}

.line {
text-align: center;
}

p {
display: inline-block;
position: relative;
color: var(--color-border);
padding: 0 8px;
}

p::after, p::before {
content: '';
position: absolute;
width: 14vw;
height: 1px;
background-color: currentColor;
top: 0.6em;
}

p::after{
left: -14vw;
}

p::before{
right: -14vw;
}