-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #205 from MastersAcademy/3-forms_dmytro-shevchenko1
3-forms Dmytro Shevchenko. Added Login Page and filter.
- Loading branch information
Showing
11 changed files
with
305 additions
and
55 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 4 additions & 0 deletions
4
homeworks/dmytro.shevchenko_dmytro-shevchenko1/GamesProject/images/search_logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
47 changes: 47 additions & 0 deletions
47
homeworks/dmytro.shevchenko_dmytro-shevchenko1/GamesProject/login.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
<!doctype html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<meta name="viewport" | ||
content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0"> | ||
<meta http-equiv="X-UA-Compatible" content="ie=edge"> | ||
<title>Login Page</title> | ||
<link rel="stylesheet" type="text/css" href="styles/style.css"> | ||
<link rel="stylesheet" type="text/css" href="styles/header.css"> | ||
<link rel="stylesheet" type="text/css" href="styles/login.css"> | ||
</head> | ||
<body class="login-page"> | ||
<header class="header"> | ||
<img src="images/logo.svg" alt="Logo"> | ||
<div class="nav"> | ||
<ul class="nav-items"> | ||
<li> | ||
<a class="cards-link" href="cards.html">Games</a> | ||
</li> | ||
<li> | ||
<a class="about-link" href="index.html">About</a> | ||
</li> | ||
<li> | ||
<a class="login-link" href="login.html">Login</a> | ||
</li> | ||
</ul> | ||
</div> | ||
</header> | ||
<main class="login-main"> | ||
<h1 class="login-h1"> | ||
Login Page | ||
</h1> | ||
<form class="login-form" action="success-page.html"> | ||
<label for="email">Email</label> | ||
<input type="email" id="email" name="email" placeholder="Enter your email address" required> | ||
<label for="password">Password</label> | ||
<input type="password" id="password" name="password" placeholder="Enter your password" required> | ||
<div class="checkbox-group"> | ||
<input type="checkbox" id="check" name="robot" class="login-checkbox" required> | ||
<label for="check">I'm not a robot</label> | ||
</div> | ||
<input type="submit" value="Login" class="submit-button"> | ||
</form> | ||
</main> | ||
</body> | ||
</html> |
24 changes: 24 additions & 0 deletions
24
homeworks/dmytro.shevchenko_dmytro-shevchenko1/GamesProject/styles/about.css
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
.intro { | ||
color: #221F1F; | ||
font-size: 22px; | ||
font-weight: 400; | ||
line-height: 32px; | ||
display: flex; | ||
justify-content: space-between; | ||
gap: 70px; | ||
padding-left: 53px; | ||
padding-right: 53px; | ||
margin-top: 60px; | ||
} | ||
|
||
.about-h1 { | ||
color: #221F1F; | ||
font-size: 48px; | ||
font-weight: 700; | ||
line-height: 32px; | ||
margin-top: 0; | ||
} | ||
|
||
.link { | ||
color: #EF4934; | ||
} |
78 changes: 33 additions & 45 deletions
78
...dmytro-shevchenko1/GamesProject/style.css → ...shevchenko1/GamesProject/styles/cards.css
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
39 changes: 39 additions & 0 deletions
39
homeworks/dmytro.shevchenko_dmytro-shevchenko1/GamesProject/styles/header.css
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
.header { | ||
max-width: 100%; | ||
background-color: #EF4934; | ||
display: flex; | ||
align-items: center; | ||
justify-content: space-between; | ||
padding: 10px 53px; | ||
} | ||
|
||
.nav-items { | ||
display: flex; | ||
gap: 50px; | ||
list-style: none; | ||
} | ||
|
||
.nav-items a { | ||
font-size: 16px; | ||
font-weight: 500; | ||
color: #FFF; | ||
text-decoration: none; | ||
} | ||
|
||
.game-page .nav-items .cards-link { | ||
text-decoration: underline; | ||
text-underline-offset: 7px; | ||
text-decoration-thickness: 1px; | ||
} | ||
|
||
.about-page .nav-items .about-link { | ||
text-decoration: underline; | ||
text-underline-offset: 7px; | ||
text-decoration-thickness: 1px; | ||
} | ||
|
||
.login-page .nav-items .login-link { | ||
text-decoration: underline; | ||
text-underline-offset: 7px; | ||
text-decoration-thickness: 1px; | ||
} |
55 changes: 55 additions & 0 deletions
55
homeworks/dmytro.shevchenko_dmytro-shevchenko1/GamesProject/styles/login.css
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
.login-h1 { | ||
font-size: 48px; | ||
font-weight: 700; | ||
margin-top: 80px; | ||
margin-bottom: 60px; | ||
} | ||
|
||
.login-main { | ||
display: flex; | ||
flex-direction: column; | ||
align-items: center; | ||
} | ||
|
||
.checkbox-group { | ||
display: flex; | ||
justify-content: flex-start; | ||
font-size: 14px; | ||
gap: 12px; | ||
} | ||
|
||
label[for="email"], | ||
label[for="password"], | ||
label[for="checkbox"] { | ||
display: flex; | ||
font-size: 22px; | ||
font-weight: 600; | ||
margin-bottom: 22px; | ||
} | ||
|
||
input[type="email"], | ||
input[type="password"], | ||
.login-checkbox { | ||
padding: 30px 450px 30px 20px ; | ||
margin-bottom: 40px; | ||
font-size: 14px; | ||
border: .006rem solid #A9A9A9; | ||
border-radius: 6px; | ||
} | ||
|
||
input[type="email"]:focus, | ||
input[type="password"]:focus { | ||
border-bottom: 5px solid #EF4934; | ||
} | ||
|
||
.submit-button { | ||
display: block; | ||
min-width: 100%; | ||
padding: 27px; | ||
font-size: 22px; | ||
font-weight: 600; | ||
color: #FFF; | ||
background-color: #EF4934; | ||
border: none; | ||
border-radius: 6px; | ||
} |
6 changes: 6 additions & 0 deletions
6
homeworks/dmytro.shevchenko_dmytro-shevchenko1/GamesProject/styles/style.css
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap"); | ||
|
||
body { | ||
font-family: Roboto, sans-serif; | ||
margin: 0; | ||
} |
Oops, something went wrong.