Skip to content
Open
Show file tree
Hide file tree
Changes from 2 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
72 changes: 72 additions & 0 deletions cesaraugusto316/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
<!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="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.1.1/css/all.min.css"
integrity="sha512-KfkfwYDsLkIlwQp6LFnl8zNdLGxu9YAA1QvwINks4PhcElQSvqcyVLLD9aMhXd13uQjoXtEKNosOWaZqXgel0g=="
crossorigin="anonymous"
referrerpolicy="no-referrer"
/>
<link rel="stylesheet" href="style.css" />
<title>Challenge 11</title>
</head>
<body>
<header class="header">
<h1>✨ Become a Fullstack Web Developer ✨</h1>
</header>

<main class="container">
<form class="form">
<h2 class="form__heading">
<span class="form__heading--main">Sign in</span>
<span class="form__heading--subtitle"
>Stay Updated on your profesional work</span
Copy link
Contributor

Choose a reason for hiding this comment

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

@CesarAugusto316 areglar los >

Copy link
Member Author

Choose a reason for hiding this comment

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

"angle brackets" se les dice a los (<> </>) en inglés josé, por si acaso. Ya listo, lo tendré muy en cuenta cuando codifique!!! Gracias.

>
</h2>

<label for="email">
<input
class="form__input"
type="email"
name=""
id="email"
title="email"
placeholder="Email or Phone"
/>
</label>

<label for="password">
<input
class="form__input"
type="password"
name=""
id="password"
title="password"
placeholder="Password"
/>
</label>

<a href="#">Forgot password?</a>

<button class="btn btn--primary" type="button">Sign in</button>

<div class="horizontal-line">
<div></div>
<div>or</div>
<div></div>
</div>

<button class="btn" type="button">
<i class="fa-brands fa-google"></i> Sign in with Google
</button>
<button class="btn" type="button">
<i class="fa-brands fa-apple"></i> Sign in with Apple
</button>
</form>
</main>
</body>
</html>
155 changes: 155 additions & 0 deletions cesaraugusto316/style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,155 @@
@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&display=swap");

:root {
--white-color: rgb(245, 246, 246);
--gray-color-1: rgb(55, 65, 87);

--primary-color: hsl(243, 87%, 54%);
--primary-light-color: hsl(232, 91%, 65%);
--primary-light-color-opac: hsla(225, 29%, 30%, 0.3);
box-sizing: border-box;
font-family: "Montserrat", sans-serif;
font-size: 62.5%;
}

*,
*::before,
*::after {
box-sizing: inherit;
margin: 0;
padding: 0;
scroll-behavior: smooth;
}

*:focus {
outline: none;
}

body {
display: flex;
flex-direction: column;
background-color: var(--white-color);
width: 100%;
height: 100vh;
font-size: 1.6rem;
color: var(--gray-color-1);
}

.header {
height: 6.8rem;
box-shadow: 0px 0px 16px 2px rgba(46, 55, 74, 0.125);
display: flex;
align-items: center;
justify-content: center;
background-color: #fff;
}

h1 {
font-size: 2.2rem;
}

.container {
width: 100%;
height: 100%;
position: relative;
}

.form {
background-color: #fff;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 30rem;
height: 44rem;
box-shadow: 0px 0px 16px 2px rgba(46, 55, 74, 0.125);
padding: 2.6rem;
display: flex;
flex-direction: column;
justify-content: space-around;
border-radius: 0.4rem;
}

.form__heading--main {
font-size: 2.4rem;
font-weight: 700;
}

.form__heading--subtitle {
display: block;
font-size: 1.2rem;
font-weight: 500;
}

.form__input {
color: var(--gray-color-1);
padding: 1rem;
width: 100%;
font-family: "Montserrat", sans-serif;
font-size: 1.4rem;
border: 1px solid var(--primary-light-color-opac);
border-radius: 0.3rem;
}

.form__input:hover,
.form__input:focus {
box-shadow: 0px 0px 6px 2px rgba(46, 55, 74, 0.125);
}

a {
font-size: 1.3rem;
font-weight: 600;
text-decoration: none;
color: var(--primary-color);
}

.horizontal-line {
display: flex;
justify-content: center;
align-items: center;
gap: 1rem;
}

.horizontal-line > *:not(:nth-child(2)) {
flex: 1 1 100%;
border-bottom: 1px solid var(--primary-light-color-opac);
}

.fa-brands {
font-size: 1.7rem;
}

.btn {
color: var(--gray-color-1);
background-color: var(--white-color);
cursor: pointer;
padding: 1rem;
width: 100%;
font-family: "Montserrat", sans-serif;
font-weight: 700;
font-size: 1.4rem;
border-radius: 25rem;
border: 1px solid var(--primary-light-color-opac);
}

.btn:hover {
box-shadow: 0px 0px 6px 2px rgba(46, 55, 74, 0.225);
}

.btn:active {
background-color: #fff;
}

.btn--primary {
border: none;
background-color: var(--primary-color);
color: var(--white-color);
}

.btn--primary:hover {
box-shadow: 0px 0px 6px 3px rgba(46, 55, 74, 0.225);
}

.btn--primary:active {
background-color: var(--primary-light-color);
}
18 changes: 9 additions & 9 deletions example/index.html
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
<!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>Document</title>
</head>
<body>
<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>Document</title>
</head>
<body>
<header>
<a href="../index.html">Volver</a>
</header>
</body>
</html>
</body>
</html>
3 changes: 3 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@
<li>
<a href="./juancotera/index.html">Juan Cotera</a>
</li>
<li>
<a href="./cesaraugusto316/index.html">César Rivera M.</a>
</li>
</ul>
</body>
</html>