Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Completed Login/Sign Up Page of GitHub #1

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
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
1 change: 1 addition & 0 deletions img/github-mark-white.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/github-mark.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions img/github-mark.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
100 changes: 100 additions & 0 deletions sign_in.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,100 @@
*{
background-color: rgb(13,17,23);
color:white;
}

body{
display: flex;
flex-direction: column;
align-items: center;
}

img{
display: block;
width:40px;
height:40px;

margin-top:20px;
margin-bottom:20px;
}

.sign_in h1{
font-weight: 200;
font-size: 24px;
}

.sign_in_pg{
background-color: rgb(22,27,34);
height:32vh;
width:308px;
border-radius:12px;

display: flex;
flex-direction: column;
}

p{
background-color: rgb(22,27,34);
margin-left:20px;
}

input{
width:85%;
height:20px;
margin:2px auto;
}

.pass{
display: flex;
background-color: rgb(22,27,34);
}

a{
background-color: rgb(22,27,34);
margin-left:107px;
margin-top:15px;
text-decoration: none;
color:rgb(42,121,227);

font-size:0.9rem;
}

#login{

display: block;
margin:20px auto;

background-color: rgb(35,134,54);
height:35px;
border-radius: 10px;

width:90%;

font-size: 1rem;
}

#login:hover{
background-color:#2ea043;
}

.sign_up{
border:1px solid grey;
/* idk what the colour of the box */
width:22%;
height:6vh;

margin-top:30px;
display: flex;

align-items: center;
justify-content: center;
}

.sign_up a{
margin-left:8px;
margin-top:2px;
font-size: 1rem;

background-color:rgb(13,17,23) ;

}
43 changes: 43 additions & 0 deletions sign_in.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
<!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="sign_in.css">
<title>Login</title>
</head>
<body>
<img src="img/github-mark-white.svg" alt="">
<!-- this is where the github logo will reside -->

<div class="sign_in">
<h1>Sign in to GitHub</h1>
</div>

<div class="sign_in_pg">
<p>Username or Email Address</p>

<input type="text">

<br>

<div class="pass">
<p>Password</p>

<a href="#">Forgot Password?</a>
</div>

<input type="text">

<button id="login">Sign in</button>


</div>

<div class="sign_up">
New to Github? <a href="sign_out.html">Create an account</a>
</div>

</body>
</html>
51 changes: 51 additions & 0 deletions sign_out.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="sign_up.css">
<title>Sign Up</title>
</head>
<body>

<img src="img/github-mark-white.svg" alt="">

<div class="signup">
<h1>Create an Account </h1>
</div>

<div class="signup_box">
<p>First name</p>
<input type="text">

<p>Last name</p>
<input type="text">

<p>Email</p>
<input type="text">

<p>Password</p>
<input type="text">

<p>Confirm Password</p>
<input type="text">

<p>Agree to EULA</p>
<input type="checkbox">

<button>Sign Up</button>

</div>

<div class="login">
Already have an account? <a href="sign_in.html">Sign Up</a>
</div>







</body>
</html>
82 changes: 82 additions & 0 deletions sign_up.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,82 @@
*{
background-color: rgb(13,17,23);
color:white;
}

body{
display: flex;
flex-direction: column;
align-items: center;
}

img{
display: block;
width:40px;
height:40px;

margin-top:20px;
margin-bottom:20px;
}

.signup h1{
font-weight: 200;
font-size: 24px;
}

.signup_box{
background-color: rgb(22,27,34);
height:68vh;
width:308px;
border-radius:12px;

display: flex;
flex-direction: column;
}

p{
background-color: rgb(22,27,34);
margin-left:20px;
}

input{
width:85%;
height:20px;
margin:2px auto;
}

button{

display: block;
margin:20px auto;

background-color: rgb(35,134,54);
height:35px;
border-radius: 10px;

width:90%;

font-size: 1rem;
}

button:hover{
background-color:#2ea043;
}

.login{
border:1px solid grey;
/* idk what the colour of the box */
width:22%;
height:6vh;

margin-top:30px;
display: flex;

align-items: center;
justify-content: center;
}

a{
text-decoration: none;
margin-left:10px;
color:rgb(42,121,227);
}