-
Notifications
You must be signed in to change notification settings - Fork 2
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
8 changed files
with
294 additions
and
19 deletions.
There are no files selected for viewing
Binary file not shown.
Empty file.
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,111 @@ | ||
* { | ||
margin: 0; | ||
padding: 0; | ||
box-sizing: border-box; | ||
} | ||
|
||
html, body { | ||
margin: 0; | ||
overflow: hidden; | ||
font-family: 'Arial', sans-serif; | ||
line-height: 1.6; | ||
background: url('203905 copy.png') no-repeat center center fixed; | ||
background-size: cover; | ||
color: yellow; | ||
background-color: black; | ||
} | ||
|
||
#myVideo { | ||
position: fixed; | ||
top: 50%; | ||
left: 50%; | ||
width: 100%; | ||
height: 100%; | ||
transform: translate(-50%, -50%); | ||
transform-origin: center; | ||
} | ||
|
||
.hero { | ||
height: 100vh; | ||
background-position: center center; | ||
background-size: cover; | ||
background-attachment: fixed; | ||
position: absolute; | ||
z-index: -1; | ||
display: flex; | ||
align-items: center; | ||
justify-content: center; | ||
} | ||
|
||
.header { | ||
display: flex; | ||
color: white; | ||
justify-content: space-evenly; | ||
gap: 2rem; | ||
height: 80px; | ||
align-items: center; | ||
background-color: black; | ||
margin-top: 0; | ||
width: 100%; | ||
position: fixed; | ||
} | ||
|
||
header .header-content h1 { | ||
font-size: 3rem; | ||
text-shadow: 3px 3px 5px rgba(140, 21, 21, 0.7); | ||
color: white; | ||
} | ||
|
||
header .header-content p { | ||
font-size: 1.5rem; | ||
text-shadow: 3px 3px 5px rgba(255, 255, 255, 0.7); | ||
color: white; | ||
} | ||
|
||
main { | ||
margin: 20px auto; | ||
max-width: 800px; | ||
position: relative; | ||
z-index: 1; | ||
} | ||
|
||
section { | ||
margin-bottom: 30px; | ||
padding: 20px; | ||
background: rgba(224, 224, 224, 0.9); | ||
border-radius: 8px; | ||
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); | ||
border: 2px solid black; | ||
} | ||
|
||
h2 { | ||
color: orange; | ||
margin-bottom: 10px; | ||
font-size: 2rem; | ||
text-align: center; | ||
text-shadow: 2px 2px 3px black; | ||
} | ||
|
||
p { | ||
margin-bottom: 15px; | ||
font-size: 1.1rem; | ||
line-height: 30px; | ||
} | ||
|
||
ul { | ||
list-style-type: disc; | ||
padding-left: 20px; | ||
} | ||
|
||
footer { | ||
text-align: center; | ||
padding: 20px; | ||
background: rgba(51, 51, 51, 0.8); | ||
color: white; | ||
border-radius: 10px; | ||
margin-top: 20px; | ||
} | ||
|
||
footer p { | ||
font-size: 1.2rem; | ||
} |
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
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
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
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,93 @@ | ||
body { | ||
font-family: 'Courier New', Courier, monospace; | ||
margin: 0; | ||
padding: 0; | ||
display: flex; | ||
justify-content: center; | ||
align-items: center; | ||
height: 100vh; | ||
|
||
} | ||
|
||
|
||
.video-background { | ||
position: fixed; | ||
top: 0; | ||
left: 0; | ||
width: 100%; | ||
height: 100%; | ||
object-fit: cover; | ||
z-index: -1; | ||
} | ||
|
||
.login-container { | ||
background: transparent; | ||
padding: 20px 30px; | ||
border-radius: 8px; | ||
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); | ||
width: 300px; | ||
height: 400px; | ||
text-align: center; | ||
position: relative; | ||
opacity: 1; | ||
align-items: center; | ||
} | ||
|
||
.login-container::before { | ||
position: absolute; | ||
top: -6px; | ||
left: -6px; | ||
right: -6px; | ||
bottom: -6px; | ||
border-radius: 10px; | ||
background-size: 400%; | ||
z-index: -1; | ||
animation: gradientAnimation 6s infinite linear; | ||
} | ||
|
||
@keyframes gradientAnimation { | ||
0% { background-position: 0% 60%; } | ||
50% { background-position: 100% 100%; } | ||
100% { background-position: 5% 50%; } | ||
} | ||
|
||
.login-container h2 { | ||
margin-bottom: 20px; | ||
color: #333; | ||
} | ||
|
||
.login-container input[type="text"], | ||
.login-container input[type="password"] { | ||
width: 100%; | ||
padding: 10px; | ||
margin: 10px 0; | ||
border: 1px solid #b13232; | ||
border-radius: 4px; | ||
} | ||
|
||
.login-container button { | ||
width: 100%; | ||
padding: 10px; | ||
background-color: #007bff; | ||
color: #fff; | ||
border: none; | ||
border-radius: 4px; | ||
cursor: pointer; | ||
font-weight: bold; | ||
transition: background-color 0.3s ease; | ||
} | ||
|
||
.login-container button:hover { | ||
background-color: #0056b3; | ||
} | ||
|
||
.login-container a { | ||
display: block; | ||
margin-top: 10px; | ||
color: #007bff; | ||
text-decoration: none; | ||
} | ||
|
||
.login-container 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,25 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<title>Login Page with Video Background</title> | ||
<link rel="stylesheet" href="login.css"> | ||
</head> | ||
<body> | ||
<video class="video-background" autoplay loop muted> | ||
<source src="856528-uhd_2160_2160_24fps copy.mp4"> | ||
Your browser does not support the video tag. | ||
</video> | ||
|
||
<div class="login-container"> | ||
<h2>Login</h2> | ||
<form action="/login" method="post"> | ||
<input type="text" name="username" placeholder="Username" required> | ||
<input type="password" name="password" placeholder="Password" required> | ||
<button type="submit">Login</button> | ||
</form> | ||
<a href="#">Sign Up</a> | ||
</div> | ||
</body> | ||
</html> |