-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 74f98f3
Showing
3 changed files
with
149 additions
and
0 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,21 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<link rel="stylesheet" href="style_pimp.css"> | ||
</head> | ||
<body> | ||
|
||
<div class="panel"> | ||
<h1>Log In</h1> | ||
<p>Enter your credentials</p> | ||
<form> | ||
<label for="username">Username</label> | ||
<input id="username" name="username" type="text"/> | ||
<label for="password">Password</label> | ||
<input id="password" name="password" type="password"/> | ||
<a href="#">Forgot Password?</a> | ||
<input id="submit" type="submit" value="Log In"> | ||
</form> | ||
</div> | ||
</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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,71 @@ | ||
|
||
* { | ||
box-sizing: border-box; | ||
} | ||
|
||
body { | ||
background-image: url("https://images.pexels.com/photos/547114/pexels-photo-547114.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=2"); | ||
background-size: cover; | ||
background-position: center; | ||
margin: 0; | ||
height: 100vh; | ||
font-family: Helvetica, serif; | ||
color: #1b3de5; | ||
} | ||
|
||
.panel { | ||
position: absolute; | ||
top: 20%; | ||
left: calc(50% - 200px); | ||
background: rgba(255, 255, 255, 0.8); | ||
border-radius: 20px; | ||
text-align: center; | ||
padding: 20px 50px 30px 50px; | ||
width: 400px; | ||
} | ||
|
||
form { | ||
display: flex; | ||
flex-direction: column; | ||
gap: 12px; | ||
padding: 15px 0; | ||
} | ||
|
||
label { | ||
font-size: 0.85rem; | ||
align-self: start; | ||
position: relative; | ||
top: 5px; | ||
left: 15px; | ||
} | ||
|
||
input { | ||
font-size: 1rem; | ||
padding: 12px 20px; | ||
border: 2px #1b3de5 solid; | ||
border-radius: 10px; | ||
} | ||
|
||
a:any-link { | ||
font-size: .85rem; | ||
text-decoration: none; | ||
color: #1b3de5; | ||
text-align: right; | ||
} | ||
|
||
#submit { | ||
border: none; | ||
cursor: pointer; | ||
width: 100%; | ||
margin-top: 20px; | ||
padding: 10px 22px; | ||
font-size: 22px; | ||
font-weight: 400; | ||
color: white; | ||
background: linear-gradient(90deg,#1b3de5 0,#0074e4 100%); | ||
border-radius: 50px; | ||
} | ||
|
||
#submit:hover{ | ||
background: linear-gradient(-90deg,#1b3de5 0,#0074e4 100%); | ||
} |
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,57 @@ | ||
* { | ||
box-sizing: border-box; | ||
} | ||
|
||
body { | ||
background-color: dodgerblue; | ||
height: 100vh; | ||
margin: 0; | ||
font-family: Helvetica; | ||
color: royalblue; | ||
} | ||
|
||
.panel { | ||
background-color: white; | ||
position: absolute; | ||
width: 400px; | ||
top: 20%; | ||
left: calc(50% - 200px); | ||
padding: 40px; | ||
border-radius: 20px; | ||
text-align: center; | ||
} | ||
|
||
form { | ||
display: flex; | ||
flex-direction: column; | ||
gap: 10px; | ||
align-items: center; | ||
padding: 20px 0; | ||
} | ||
|
||
input { | ||
padding: 12px 20px; | ||
border-radius: 10px; | ||
width: 100%; | ||
} | ||
|
||
label { | ||
align-self: start; | ||
position: relative; | ||
top: 5px | ||
} | ||
|
||
a { | ||
font-size: .85rem; | ||
align-self: end; | ||
} | ||
|
||
#submit { | ||
margin-top: 20px; | ||
border-radius: 50px; | ||
background-color: mediumseagreen; | ||
} | ||
|
||
#submit:hover { | ||
background-color: darkseagreen; | ||
} |