-
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
Showing
3 changed files
with
131 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,76 @@ | ||
body { | ||
display: flex; | ||
align-items: center; | ||
justify-content: center; | ||
background-image: url(bag.jpg); | ||
background-size: cover; | ||
color: white; | ||
} | ||
|
||
/* Bordered form */ | ||
|
||
/* Full-width inputs */ | ||
input[type="text"], | ||
input[type="password"] { | ||
width: 100%; | ||
padding: 12px 20px; | ||
margin: 8px 0; | ||
display: inline-block; | ||
box-sizing: border-box; | ||
} | ||
|
||
/* Set a style for all buttons */ | ||
button { | ||
background-color: #350000; | ||
color: white; | ||
padding: 14px 20px; | ||
margin: 8px 0; | ||
border: none; | ||
cursor: pointer; | ||
width: 100%; | ||
} | ||
|
||
/* Add a hover effect for buttons */ | ||
button:hover { | ||
opacity: 0.8; | ||
} | ||
|
||
/* Extra style for the cancel button (red) */ | ||
.cancelbtn { | ||
width: auto; | ||
padding: 10px 18px; | ||
background-color: #f44336; | ||
} | ||
|
||
/* Center the avatar image inside this container */ | ||
.imgcontainer { | ||
text-align: center; | ||
margin: 24px 0 12px 0; | ||
} | ||
|
||
/* Avatar image */ | ||
img.avatar { | ||
width: 45%; | ||
} | ||
|
||
/* Add padding to containers */ | ||
.container { | ||
padding: 16px; | ||
} | ||
|
||
/* The "Forgot password" text */ | ||
span.psw { | ||
float: right; | ||
padding-top: 16px; | ||
} | ||
|
||
/* Change styles for span and cancel button on extra small screens */ | ||
@media screen and (max-width: 300px) { | ||
span.psw { | ||
display: block; | ||
float: none; | ||
} | ||
.cancelbtn { | ||
width: 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,55 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8" /> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | ||
<script src="https://cdnjs.cloudflare.com/ajax/libs/gsap/3.10.1/gsap.min.js"></script> | ||
<script src="script.js"></script> | ||
<title>CafeSerenityBites</title> | ||
<link | ||
rel="icon" | ||
type="image/x-icon" | ||
href="CAFE SERENIT-fotor-2023092923402.png" | ||
/> | ||
<link rel="stylesheet" href="styl.css" /> | ||
</head> | ||
<body> | ||
<form action="index.html" method="post"> | ||
<div class="imgcontainer"> | ||
<img | ||
src="CAFE SERENIT-fotor-2023092923402.png" | ||
alt="Avatar" | ||
class="avatar" | ||
/> | ||
</div> | ||
<div class="container"> | ||
<label for="uname"><b>Username</b></label> | ||
<br /> | ||
<input | ||
type="text" | ||
placeholder="Enter Username" | ||
name="uname" | ||
id="uname" | ||
required | ||
/> | ||
<br /> | ||
<label for="psw"><b>Password</b></label> | ||
<br /> | ||
<input | ||
type="password" | ||
placeholder="Enter Password" | ||
name="psw" | ||
id="psw" | ||
required | ||
/> | ||
<br /> | ||
<button type="submit">Login/SignUp</button> | ||
<br /> | ||
<label> | ||
<input type="checkbox" checked="checked" name="remember" /> Remember | ||
me | ||
</label> | ||
</div> | ||
</form> | ||
</body> | ||
</html> |