style: add basic structure index.php and global css
This commit is contained in:
parent
137af42d12
commit
379c264987
@ -0,0 +1,23 @@
|
||||
@import url('https://fonts.googleapis.com/css2?family=Jersey+15&family=JetBrains+Mono:ital,wght@0,100..800;1,100..800&display=swap');
|
||||
*{
|
||||
font-family: "Jersey 15", sans-serif;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
body {
|
||||
color: white;
|
||||
background-color: black;
|
||||
}
|
||||
|
||||
.row {
|
||||
display: flex;
|
||||
height: 100dvh;
|
||||
}
|
||||
|
||||
.col {
|
||||
flex: 1;
|
||||
width: 50%;
|
||||
padding: 30px;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
@ -0,0 +1,22 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>login</title>
|
||||
<link rel="stylesheet" href="/src/css/global.css">
|
||||
<link rel="stylesheet" href="/src/css/style.css">
|
||||
</head>
|
||||
<body>
|
||||
<div class="container-login">
|
||||
<h1 data-aos="zoom-out" data-aos-duration="1000">codebeater</h1>
|
||||
<form class="login-form" action ="index.php" method="POST">
|
||||
<h2 data-aos="fade-up" data-aos-duration="1000">Login to your account</h2>
|
||||
<input type="text" name="username" id="username" placeholder="input your username" data-aos="fade-up" data-aos-duration="2000"><br>
|
||||
<input type="password" name="password" id="password" placeholder="input your password" data-aos="fade-up" data-aos-duration="2000"><br>
|
||||
<button type="submit" name="login" placeholder="input your password" data-aos="fade-up" data-aos-duration="3000">LOGIN</button>
|
||||
<p placeholder="input your password" data-aos="fade-up" data-aos-duration="3000"><a href="register.php">don't have account yet?<span> register now!</span></a></p>
|
||||
</form>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
Loading…
x
Reference in New Issue
Block a user