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

Task 1 & Task 2 #107

Open
wants to merge 2 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
241 changes: 241 additions & 0 deletions Easy/Issue 1-kshitija/css.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,241 @@

* {
margin: 0;
padding: 0px;
* {
margin: 0;
padding:5px;
box-sizing: border-box;
} font-family: "Poppins", sans-serif;
}
.container {
height: auto;
width: auto;
background-color: rgba(0, 34, 24, 0.61);
display: flex;
align-items: left;
justify-content: space-around;
text-align: left;
flex-direction: column;
border: 2px solid black;
border-radius: 26px;
gap: 25px;
padding: 15px 45px;
margin-top: 1.5%;
position: absolute;
box-shadow: 4px 4px 8px #1f1c2c67;
/* top: 13%;
left: 30%; */
margin-left: 25%;
margin-top: 5%;
border-radius: 50px;
margin-right: 50%;
}

.outer-div {
height: 100%;
width:100%;
background: linear-gradient( bottom right, darkgrey, #666);
}

.inner-div {
height: 100vh;
width:100%;
background-image:
linear-gradient(to right, #e5e7eb 1px, transparent 1px),
linear-gradient(to bottom, #e5e7eb 1px, transparent 1px);
background-size: 4rem 4rem;
}

h2 {
text-align: center;
margin-bottom: 20px;
color: white;
}

#svg{
margin-top: 10px;
padding: 0px;
display: flex;
justify-content:center ;
}

.wrapper{
background:transparent;
border-radius: 10px;
min-width: 100px;
height: auto;
padding: 10px;
overflow: hidden;
color: aliceblue;
}
.wrapper .container {
width: 40%;
height:auto;
color:#fff;
overflow: hidden;
display: inline-grid;

}

.container {
background:rgb(243, 244, 245);
border-radius: 10px;
display: inline-flex;
box-shadow: 0 5px 15px white(0, 0, 0, 0.1);
height: 80%;
overflow: hidden;
}

.content {
display: none;
padding: 30px;
}
.input{
margin-bottom: 30px;
}

input[type="radio"] {
display: none;
}

.tab {
display: flex;
align-items: center;
width: 100%;
position: relative;
}

.tab-content {
display: block;
padding-top:5px;
height: 50px;
padding-bottom: 0px;
width:100%;
background: -webkit-linear-gradient(
right,
#004080,
#0059b3,
#9bc9f7
);
cursor: pointer;
transition: all 0.3s ease;
font-weight: bold;
color: black;
border-radius: 10px;
}


.tab-input {
display: none;
}
.tab-controls {

display: grid;
padding: 10px ;
cursor: pointer;
transition: all 0.3s ease;
font-weight: bold;
border-radius: 15px;
color:#0059b3 ;
transition: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);

}
.container .form-inner {
display: flex;
width: 200%;
}
.container .form-inner form {
width: 50%;
transition: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}
.form-inner form .field {
height: 50px;
width: 100%;
margin-top: 20px;}

.form-inner form .field input {
height: 100%;
width: 100%;
outline: none;
padding-left: 15px;
border-radius: 15px;
border: 1px solid lightgrey;
border-bottom-width: 2px;
font-size: 17px;
transition: all 0.3s ease;
}
.form-inner form .field input:focus {
border-color: #1a75ff;

}
.form-inner form .field input::placeholder {
color: #999;
transition: all 0.3s ease;
}
form .field input:focus::placeholder {
color: #1a75ff;
}

.form-inner form .signup-link {
text-align: center;
margin-top: 30px;
}
.form-inner form .signup-link a {
color: #1a75ff;
text-decoration: underline;
}
.form-inner form .signup-link a:hover {
text-decoration: underline;
}

form .btn {
height: 50px;
width: 100%;
border-radius: 15px;
position: relative;
overflow: hidden;
}
form .btn .btn-layer {
height: 100%;
width: 300%;
position: absolute;
left: -100%;
background: -webkit-linear-gradient(
right,
#003366,
#004080,
#0059b3,
#9bc9f7
);
border-radius: 0px;
transition: all 0.4s ease;
}
form .btn:hover .btn-layer {
left: 0;
}
form .btn input[type="submit"] {
height: 100%;
width: 100%;
z-index: 1;
position: relative;
background: none;
border :black;
color: #fff;
padding-left: 0;
font-size: 20px;
font-weight: 500;
cursor: pointer;
}

@media screen and (max-width: 480px) {
.container {
max-width: 100%;
}

.input-group input,
.btn {
padding: 10px;
}
}

Binary file added Easy/Issue 1-kshitija/image.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
47 changes: 47 additions & 0 deletions Easy/Issue 1-kshitija/login.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
<!DOCTYPE html>
<html lang="en" dir="ltr">
<head>
<meta charset="utf-8">
<title>Login and signup</title>
<link rel="stylesheet" href="css.css">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
</head>
<body>
<div class="outer-div">
<div class="inner-div">
<div class="wrapper">
<div class="container">
<div id="svg"><img src="image.png" alt="photo" height="25px" width="25px"></div>
<div class="tab-controls">
<input type="radio" name="tab" id="login-tab" class="tab-input" checked>
<input type="radio" name="tab" id="signup-tab" class="tab-input">

<div class="tab-content login-content">
<h2>Login Form</h2>
</div>

<div class="form-inner">
<form>
<div class="input">
<label for="login-email">Email:-</label>
<input type="email" id="login-email" placeholder="Enter your email" required>
</div>
<div class="input">
<label for="login-password">Password:-</label>
<input type="password" id="login-password" placeholder="Enter your password" required>
</div>

<div class="signup-link"><a href="signup.html">Not a member?</a></div>
<div class="field btn">
<div class="btn-layer"></div>
<input type="submit" value="Login">
</div>
</div>
</div>
</div>

</form>
</div>
</div>
</body>
</html>
59 changes: 59 additions & 0 deletions Easy/Issue 1-kshitija/signup.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
<!DOCTYPE html>
<html lang="en" dir="ltr">
<head>
<meta charset="utf-8">
<title>Login and signup</title>
<link rel="stylesheet" href="css.css">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
</head>
<body>
<div class="outer-div">
<div class="inner-div">

<div class="wrapper">
<div class="container">
<div id="svg"><img src="image.png" alt="photo" height="30px" width="30px"></div>

<div class="tab-controls">
<div class="radio">
<input type="radio" name="tab" id="login-tab" class="tab-input" checked>
<input type="radio" name="tab" id="signup-tab" class="tab-input">
</div>
<div class="tab-content login-content">

<h2>Signup Form</h2>

</div>

<div class="form-inner">
<form>
<div class="input">
<label for="signup-name">Full Name:-</label>
<input type="text" id="signup-name" placeholder="Enter your full name" required></div>
<div class="input">
<label for="signup-email">Email:-</label>
<input type="email" id="signup-email" placeholder="Enter your email" required></div>
<div class="input">
<label for="signup-password">Password:-</label>
<input type="password" id="signup-password" placeholder="Create a password" required></div>
<div class="input">
<label for="signup-confirm">Confirm Password:-</label>
<input type="password" id="signup-confirm" placeholder="Confirm your password" required></div>
<div class="signup-link"><a href="login.html">Already have an account?</a></div>
<div class="field btn">
<div class="btn-layer"></div>
<input type="submit" value="signup">
</div>
</div>
</div>
</form>
</div>
</div>
</div>
</div>
</body>
</html>




1 change: 1 addition & 0 deletions Easy/Issue 2-kshitija/WebGenesis
Submodule WebGenesis added at 15932c
Binary file added Easy/Issue 2-kshitija/img.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading