-
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 #209 from MastersAcademy/3-forms_igor0806
add file form.css, form.html and succes.html
- Loading branch information
Showing
7 changed files
with
307 additions
and
5 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,74 @@ | ||
<!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>Form</title> | ||
<link rel="stylesheet" href="styles/form.css"> | ||
</head> | ||
<body> | ||
|
||
<!-- Header --> | ||
<header class="intro"> | ||
<div class="nav"> | ||
<div class="logo"> | ||
<img src="icon/logo.svg" alt="img"> | ||
</div> | ||
|
||
<div class="nav-menu"> | ||
<ul class="link_list"> | ||
|
||
<li class="link"> | ||
<a class="nav-link" href="./games.html">Games</a> | ||
</li> | ||
|
||
<li class="link"> | ||
<a class="nav-link" href="./index.html">About</a> | ||
</li> | ||
|
||
<li class="link"> | ||
<a class="nav-link" href="./form.html">Login</a> | ||
</li> | ||
|
||
</ul> | ||
</div> | ||
</div> | ||
</header> | ||
|
||
<h1 class="login_title">Login page</h1> | ||
<form class="login_form" action="./succes.html"> | ||
<label for="email">Email</label> | ||
<input type="email" class="login_input" id="email" name="email" placeholder="Enter your email address" required> | ||
<label for="password">Password</label> | ||
<input type="password" class="login_input" id="password" name="password" placeholder="Enter your password" required=""> | ||
<input type="checkbox" id="robot" name="not_a_robot" required=""> | ||
<label for="robot">I’m not a robot</label> | ||
<input type="submit" value="Login"> | ||
</form> | ||
|
||
<footer class="footer"> | ||
<div class="social"> | ||
<a href="#"> | ||
<img src="icon/facebook.svg" alt="img"> | ||
</a> | ||
|
||
<a href="#"> | ||
<img src="icon/in.svg" alt="img"> | ||
</a> | ||
|
||
<a href="#"> | ||
<img src="icon/insta.svg" alt="img"> | ||
</a> | ||
</div> | ||
|
||
<p class="footer_text"> | ||
Made with 💗 on course <a class="footer_link" href="https://www.mastersacademy.education/frontend- | ||
for-beginners-it">'Frontend for beginners' from Masters Academy in 2023,</a> by Igor</p> | ||
|
||
</footer> | ||
</body> | ||
</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
4 changes: 4 additions & 0 deletions
4
homeworks/igor.orel_igor0806/GamesProject/icon/search_form.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
125 changes: 125 additions & 0 deletions
125
homeworks/igor.orel_igor0806/GamesProject/styles/form.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,125 @@ | ||
@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap"); | ||
|
||
body { | ||
font-family: "Roboto", sans-serif; | ||
color: #221F1F; | ||
margin: 0; | ||
} | ||
|
||
.nav { | ||
display: flex; | ||
justify-content: space-between; | ||
align-items: center; | ||
padding: 15px 40px; | ||
background-color: #EF4934; | ||
} | ||
|
||
.link_list { | ||
list-style: none; | ||
color: #FFF; | ||
display: flex; | ||
gap: 50px; | ||
} | ||
|
||
.link:hover { | ||
text-decoration: underline; | ||
} | ||
|
||
.nav-link { | ||
text-decoration: none; | ||
color: #FFF; | ||
font-size: 16px; | ||
font-weight: 500; | ||
} | ||
|
||
.login_title { | ||
text-align: center; | ||
font-weight: 700; | ||
font-size: 48px; | ||
margin-top: 70px; | ||
margin-bottom: 40px; | ||
} | ||
|
||
.login_form { | ||
margin: 0 auto; | ||
max-width: 533px; | ||
} | ||
|
||
.login_input { | ||
width: 535px; | ||
border-radius: 7px; | ||
border: .006em solid #A9A9A9; | ||
font-size: 14px; | ||
} | ||
|
||
input[type="email"], | ||
input[type="password"] { | ||
display: block; | ||
margin: 20px 0 40px; | ||
padding: 30px 20px; | ||
color: #A9A9A9; | ||
font-weight: 400; | ||
font-size: 14px; | ||
} | ||
|
||
input[type="email"]:focus, | ||
input[type="password"]:focus { | ||
border-bottom: 5px solid #EF4934; | ||
} | ||
|
||
label[for="email"], | ||
label[for="password"] { | ||
font-weight: 600; | ||
font-size: 22px; | ||
} | ||
|
||
input[type="checkbox"] { | ||
border: #EF4934; | ||
margin-bottom: 40px; | ||
font-size: 14px; | ||
font-weight: 400; | ||
color: #221F1F; | ||
} | ||
|
||
input[type="submit"] { | ||
width: 575px; | ||
font-weight: 600; | ||
font-size: 22px; | ||
background-color: #EF4934; | ||
color: #FFF; | ||
padding: 27px 0; | ||
margin-bottom: 170px; | ||
border: none; | ||
border-radius: 6px; | ||
} | ||
|
||
/* Footer */ | ||
|
||
.footer { | ||
background-color: #221F1F; | ||
padding: 30px; | ||
} | ||
|
||
.social { | ||
display: flex; | ||
justify-content: center; | ||
gap: 20px; | ||
} | ||
|
||
.footer_text { | ||
color: #FFF; | ||
text-align: center; | ||
} | ||
|
||
a { | ||
text-decoration: none; | ||
} | ||
|
||
.footer_link { | ||
color: #FFF; | ||
} | ||
|
||
.center_title { | ||
text-align: center; | ||
padding-top: 200px; | ||
} |
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
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,21 @@ | ||
<!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>Success!</title> | ||
<link rel="stylesheet" href="styles/form.css"> | ||
</head> | ||
<body class="body_success"> | ||
<main class="center_title"> | ||
<h1>Success!</h1> | ||
<form action="games.html"> | ||
<input type="submit" value="Login"> | ||
</form> | ||
</main> | ||
</body> | ||
</html> |