-
Notifications
You must be signed in to change notification settings - Fork 11
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 #35 from Priyanshu-su30/login-signup
Login and signup pages are workin
- Loading branch information
Showing
6 changed files
with
409 additions
and
38 deletions.
There are no files selected for viewing
Binary file not shown.
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,160 @@ | ||
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@500&display=swap'); | ||
|
||
* { | ||
margin: 0; | ||
padding: 0; | ||
box-sizing: border-box; | ||
font-family: 'poppins',sans-serif; | ||
} | ||
|
||
body { | ||
background-image: url(https://user-images.githubusercontent.com/13468728/233847739-219cb494-c265-4554-820a-bd3424c59065.jpg); | ||
background-repeat: no-repeat; | ||
background-position: center; | ||
min-height: 100vh; | ||
background-size: cover; | ||
} | ||
|
||
section { | ||
margin-left: 40%; | ||
margin-top: 6vw; | ||
max-width: 400px; | ||
background-color: transparent; | ||
border: 2px solid rgba(255, 255, 255, 0.5); | ||
border-radius: 20px; | ||
backdrop-filter: blur(55px); | ||
display: flex; | ||
justify-content: center; | ||
align-items: center; | ||
padding: 2rem 3rem; | ||
} | ||
|
||
h1 { | ||
font-size: 2rem; | ||
color: #fff; | ||
text-align: center; | ||
} | ||
|
||
.inputbox { | ||
position: relative; | ||
margin: 30px 0; | ||
max-width: 310px; | ||
border-bottom: 2px solid #fff; | ||
} | ||
|
||
.inputbox label { | ||
position: absolute; | ||
top: 50%; | ||
left: 5px; | ||
transform: translateY(-50%); | ||
color: #fff; | ||
font-size: 1rem; | ||
pointer-events: none; | ||
transition: all 0.5s ease-in-out; | ||
} | ||
|
||
input:focus ~ label, | ||
input:valid ~ label { | ||
top: -5px; | ||
} | ||
|
||
.inputbox input { | ||
width: 100%; | ||
height: 60px; | ||
background: transparent; | ||
border: none; | ||
outline: none; | ||
font-size: 1rem; | ||
padding: 0 35px 0 5px; | ||
color: #fff; | ||
} | ||
|
||
.inputbox ion-icon { | ||
position: absolute; | ||
right: 8px; | ||
color: #fff; | ||
font-size: 1.2rem; | ||
top: 20px; | ||
} | ||
|
||
button { | ||
width: 100%; | ||
height: 40px; | ||
border-radius: 40px; | ||
background-color: rgb(255, 255,255, 1); | ||
border: none; | ||
outline: none; | ||
cursor: pointer; | ||
font-size: 1rem; | ||
font-weight: 600; | ||
transition: all 0.4s ease; | ||
} | ||
|
||
button:hover { | ||
background-color: rgb(255, 255,255, 0.5); | ||
} | ||
|
||
.register { | ||
font-size: 0.9rem; | ||
color: #fff; | ||
text-align: center; | ||
margin: 25px 0 10px; | ||
} | ||
|
||
.register p a { | ||
text-decoration: none; | ||
color: #fff; | ||
font-weight: 600; | ||
} | ||
|
||
.register p a:hover { | ||
text-decoration: underline; | ||
} | ||
|
||
|
||
*, | ||
*:before, | ||
*:after { | ||
-moz-box-sizing: border-box; | ||
-webkit-box-sizing: border-box; | ||
box-sizing: border-box; | ||
margin: 0; | ||
padding: 0; | ||
} | ||
a { | ||
text-decoration: none; | ||
color: #fff; | ||
} | ||
#header { | ||
top: 0; | ||
background: #1e262d; | ||
width: 100%; | ||
position: relative; | ||
border-radius: 0px 0px 40px 40px; | ||
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 0px 20px 0 rgba(0, 0, 0, 0.19); | ||
} | ||
#header:after { | ||
content: ""; | ||
clear: both; | ||
display: block; | ||
} | ||
.logo { | ||
padding: 26px 0 26px; | ||
} | ||
.logo a { | ||
font-size: 28px; | ||
display: block; | ||
padding: 0 0 0 20px; | ||
} | ||
#header nav a { | ||
color: #fff; | ||
padding: 8px; | ||
} | ||
#header nav a:hover { | ||
background: #fff; | ||
color: #333; | ||
border-radius: 3px; | ||
} | ||
a:hover { | ||
text-decoration: underline; | ||
} |
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,160 @@ | ||
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@500&display=swap'); | ||
|
||
* { | ||
margin: 0; | ||
padding: 0; | ||
box-sizing: border-box; | ||
font-family: 'poppins',sans-serif; | ||
} | ||
|
||
body { | ||
background-image: url(https://user-images.githubusercontent.com/13468728/233847739-219cb494-c265-4554-820a-bd3424c59065.jpg); | ||
background-repeat: no-repeat; | ||
background-position: center; | ||
background-size: cover; | ||
min-height: 100vh; | ||
} | ||
|
||
section { | ||
position: relative; | ||
max-width: 400px; | ||
background-color: transparent; | ||
border: 2px solid rgba(255, 255, 255, 0.5); | ||
border-radius: 20px; | ||
backdrop-filter: blur(55px); | ||
display: flex; | ||
justify-content: center; | ||
align-items: center; | ||
padding: 2rem 3rem; | ||
} | ||
|
||
h1 { | ||
font-size: 2rem; | ||
color: #fff; | ||
text-align: center; | ||
} | ||
|
||
.inputbox { | ||
position: relative; | ||
margin: 30px 0; | ||
max-width: 310px; | ||
border-bottom: 2px solid #fff; | ||
} | ||
|
||
.inputbox label { | ||
position: absolute; | ||
top: 50%; | ||
left: 5px; | ||
transform: translateY(-50%); | ||
color: #fff; | ||
font-size: 1rem; | ||
pointer-events: none; | ||
transition: all 0.5s ease-in-out; | ||
} | ||
|
||
input:focus ~ label, | ||
input:valid ~ label { | ||
top: -5px; | ||
} | ||
|
||
.inputbox input { | ||
width: 100%; | ||
height: 60px; | ||
background: transparent; | ||
border: none; | ||
outline: none; | ||
font-size: 1rem; | ||
padding: 0 35px 0 5px; | ||
color: #fff; | ||
} | ||
|
||
.inputbox ion-icon { | ||
position: absolute; | ||
right: 8px; | ||
color: #fff; | ||
font-size: 1.2rem; | ||
top: 20px; | ||
} | ||
|
||
|
||
button { | ||
width: 100%; | ||
height: 40px; | ||
border-radius: 40px; | ||
background-color: rgb(255, 255,255, 1); | ||
border: none; | ||
outline: none; | ||
cursor: pointer; | ||
font-size: 1rem; | ||
font-weight: 600; | ||
transition: all 0.4s ease; | ||
} | ||
|
||
button:hover { | ||
background-color: rgb(255, 255,255, 0.5); | ||
} | ||
|
||
.register { | ||
font-size: 0.9rem; | ||
color: #fff; | ||
text-align: center; | ||
margin: 25px 0 10px; | ||
} | ||
|
||
.register p a { | ||
text-decoration: none; | ||
color: #fff; | ||
font-weight: 600; | ||
} | ||
|
||
.register p a:hover { | ||
text-decoration: none; | ||
} | ||
|
||
|
||
*, | ||
*:before, | ||
*:after { | ||
-moz-box-sizing: border-box; | ||
-webkit-box-sizing: border-box; | ||
box-sizing: border-box; | ||
margin: 0; | ||
padding: 0; | ||
} | ||
a { | ||
text-decoration: none; | ||
color: #fff; | ||
} | ||
#header { | ||
top: 0; | ||
background: #1e262d; | ||
width: 100%; | ||
position: relative; | ||
border-radius: 0px 0px 40px 40px; | ||
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 0px 20px 0 rgba(0, 0, 0, 0.19); | ||
} | ||
#header:after { | ||
content: ""; | ||
clear: both; | ||
display: block; | ||
} | ||
.logo { | ||
padding: 26px 0 26px; | ||
} | ||
.logo a { | ||
font-size: 28px; | ||
display: block; | ||
padding: 0 0 0 20px; | ||
} | ||
#header nav a { | ||
color: #fff; | ||
padding: 8px; | ||
} | ||
#header nav a:hover { | ||
background: #fff; | ||
color: #333; | ||
border-radius: 3px; | ||
} | ||
a:hover { | ||
text-decoration: none; | ||
} |
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
Oops, something went wrong.