86 lines
2.6 KiB
HTML
86 lines
2.6 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<title>Hyperia</title>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
<link rel="icon" href="_/icons/logo.svg">
|
|
<link rel="stylesheet" href="_/code/shared.css">
|
|
<style>
|
|
#items {
|
|
position: absolute;
|
|
top: 50vh;
|
|
left: 50vw;
|
|
transform: translate(-50%, -50%);
|
|
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center; /* centers children horizontally */
|
|
text-align: center; /* ensures text inside spans is centered */
|
|
}
|
|
|
|
input {
|
|
background-color: transparent;
|
|
border: none;
|
|
border-radius: 5px;
|
|
border-top: 2px solid var(--accent);
|
|
border-bottom: 2px solid var(--accent);
|
|
height: 2em;
|
|
width: 15vw;
|
|
padding: 0.2em;
|
|
transition: border .2s, padding .2s;
|
|
color: var(--accent)
|
|
}
|
|
input::placeholder {
|
|
color: var(--accent);
|
|
}
|
|
input:focus {
|
|
outline: none;
|
|
padding: 0.4em;
|
|
border-top: 2px solid var(--red);
|
|
border-bottom: 2px solid var(--red);
|
|
}
|
|
input:focus::placeholder {
|
|
color: var(--red)
|
|
}
|
|
input:-webkit-autofill,
|
|
input:-webkit-autofill:focus {
|
|
transition: background-color 600000s 0s, color 600000s 0s;
|
|
}
|
|
input[data-autocompleted] {
|
|
background-color: #c7a67b !important;
|
|
}
|
|
|
|
@media (max-width: 600px) {
|
|
input {
|
|
width: 50vw
|
|
}
|
|
}
|
|
</style>
|
|
<script src="_/code/quill.js"></script>
|
|
<script type="module">
|
|
import PageFooter from "./components/Footer.js"
|
|
import NavBar from "./components/NavBar.js"
|
|
import SideBar from "./components/SideBar.js"
|
|
</script>
|
|
</head>
|
|
<body>
|
|
<span id="title" onclick='console.log("hey"); window.location.href="/"'>hyperia</span>
|
|
<div class="links" style="z-index: 1; cursor: default; position: fixed; top: 5.5vh; right: 4.5vw">
|
|
<a href="join">join</a>
|
|
<span>|</span>
|
|
<a href="signin">sign in</a>
|
|
</div>
|
|
|
|
<div id="items">
|
|
<form id="login-form" action="/login" method="POST">
|
|
<input name="email" placeholder="email" style="margin-bottom: 15px;" required>
|
|
<br>
|
|
<input name="password" type="password" placeholder="password" required>
|
|
<br>
|
|
<p id="applicant-message" style="color: green; margin-left: 10px; display: inline-block; margin: 0px; margin-left: 20px; font-size: 1em"></p>
|
|
<br>
|
|
<button type="submit" style="background-color: rgb(193, 135, 29)">Sign In</button>
|
|
</form>
|
|
</div>
|
|
</body>
|
|
</html> |