Skip to content

Commit

Permalink
Merge pull request #85 from harbakshsinghbaath/main
Browse files Browse the repository at this point in the history
Revamped signup page as asked by you
  • Loading branch information
swaraj-das authored Oct 8, 2024
2 parents e76b4d2 + 1b11995 commit a0b79a7
Show file tree
Hide file tree
Showing 4 changed files with 103 additions and 25 deletions.
90 changes: 69 additions & 21 deletions SignUp/signup.css
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
* {
box-sizing: border-box;
margin: 0;
padding: 0;
padding:5px;
}

body {
background: url('https://www.example.com/path/to/your/gaming-background.jpg') no-repeat center center fixed;
background: url('https://images.pexels.com/photos/7135057/pexels-photo-7135057.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=2') no-repeat center center fixed;
background-size: cover;
font-family: 'Trebuchet MS', Arial, sans-serif;
display: flex;
Expand All @@ -17,23 +17,28 @@ body {
}

.signup-container {
background-color: rgba(0, 0, 0, 0.8);
padding: 2rem;
border-radius: 15px;
box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);

opacity: 0.75;
background-color: rgba(0, 0, 0, 0);
padding: 5rem;
border-radius: 20px;
box-shadow: 0 0px 0px rgba(0, 0, 0, 0.5);
text-align: center;
max-width: 400px;
max-width: 500px;
width: 100%;
animation: fadeIn 1.5s ease-in-out;
animation: fadeIn 2s ease-in-out;
background-color: black;
margin: auto;
}


@keyframes fadeIn {
from {
opacity: 0;
transform: scale(0.9);
}
to {
opacity: 1;
opacity: 0.75;
transform: scale(1);
}
}
Expand Down Expand Up @@ -73,20 +78,62 @@ input[type="text"]:focus, input[type="email"]:focus, input[type="password"]:focu
}

.signup-button {
background-color: #ba68c8;
color: #282c34;
padding: 0.75rem 1.5rem;
border: none;
border-radius: 5px;
cursor: pointer;
font-family: 'Press Start 2P', cursive;
font-size: 18px;
transition: background-color 0.3s, transform 0.3s;
color:white;
font-family:Helvetica, sans-serif;
font-weight:bold;
font-size:20px;
text-align: center;
background-color:#FFA12B;
display:block;
position:relative;
padding:15px 60px;
margin: auto;




cursor: pointer;
transition: background-color 0.2s, color 0.2s;

-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
text-shadow: 0px 1px 0px #000;
filter: dropshadow(color=#000, offx=0px, offy=1px);

-webkit-box-shadow:inset 0 1px 0 #FFE5C4, 0 10px 0 #915100;
-moz-box-shadow:inset 0 1px 0 #FFE5C4, 0 10px 0 #915100;
box-shadow:inset 0 1px 0 #FFE5C4, 0 10px 0 #915100;

-webkit-border-radius: 5px;
-moz-border-radius: 5px;
border-radius: 5px;
}

.signup-button:hover {
background-color: #ab47bc;
transform: scale(1.05);
.signup-button:active{
top:10px;
background-color:#F78900;

-webkit-box-shadow:inset 0 1px 0 #FFE5C4, inset 0 -3px 0 #915100;
-moz-box-shadow:inset 0 1px 0 #FFE5C4, inset 0 -3pxpx 0 #915100;
box-shadow:inset 0 1px 0 #FFE5C4, inset 0 -3px 0 #915100;
}
.signup-button:after{
content:"";
height:100%;
width:100%;
padding:4px;
position: absolute;
bottom:-15px;
left:-4px;
z-index:-1;
background-color:#2B1800;
-webkit-border-radius: 5px;
-moz-border-radius: 5px;
border-radius: 5px;
}
.signup-button:hover{
background-color: #FFD198;
color: #F78900;

}

.links {
Expand All @@ -104,3 +151,4 @@ input[type="text"]:focus, input[type="email"]:focus, input[type="password"]:focu
color: #ff80ab;
text-decoration: underline;
}

2 changes: 1 addition & 1 deletion SignUp/signup.html
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ <h1>Create Your Account</h1>
<button type="submit" class="signup-button">Sign Up</button>
</form>
<div class="links">
<a href="../login/login.html">Already have an account? Login</a>
<a href="../login/login.html"><u>Already have an account? Login</u></a>
</div>
</div>

Expand Down
31 changes: 31 additions & 0 deletions login/login.css
Original file line number Diff line number Diff line change
Expand Up @@ -232,6 +232,37 @@ body{
.links a:not(:last-child) {
margin-right: 20px;
}
.hal::after {
content: '';
position: absolute;
width: 100%;
height: 2px;
bottom: 0;
left: 0;
background-color: white;
transform-origin: bottom left;
transition: transform 0.25s ease-out;
transform: scaleX(0);
}
.hal2::after {
content: '';
position: absolute;
width: 100%;
height: 2px;
bottom: 0;
left: 0;
background-color: white;
transform-origin: bottom right;
transition: transform 0.25s ease-out;
transform: scaleX(0);
}
.hal:hover::after{
transform: scaleX(0.6);
}
.hal2:hover::after{
transform: scaleX(0.6);
}


.links a: hover {
color: #ff80ab;
Expand Down
5 changes: 2 additions & 3 deletions login/login.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
Expand Down Expand Up @@ -26,8 +25,8 @@ <h1>Login to Your Account</h1>
</div>
</form>
<div class="links">
<a href="forgot.html">Forgot Password?</a>
<a href="../SignUp/signup.html">Sign Up</a>
<a href="forgot.html" class="hal">Forgot Password?</a>
<a href="../SignUp/signup.html" class="hal2">Sign Up</a>
</div>
</div>
</body>
Expand Down

0 comments on commit a0b79a7

Please sign in to comment.