expansion
This commit is contained in:
parent
acb3998068
commit
948b481bca
2 changed files with 102 additions and 3 deletions
69
login/index.html
Normal file
69
login/index.html
Normal file
|
@ -0,0 +1,69 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>monotreme.org</title>
|
||||
<link rel="stylesheet" href="../styles.css">
|
||||
</head>
|
||||
<body>
|
||||
<table>
|
||||
<!-- Header -->
|
||||
<tr>
|
||||
<td colspan="2" class="header">
|
||||
<h1>Save the monotremes</h1>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<!-- Navigation -->
|
||||
<tr>
|
||||
<td colspan="2" class="nav">
|
||||
<a href="/">Home</a>
|
||||
<a href="/about/">About</a>
|
||||
<a href="/blog/">Blog</a>
|
||||
<a href="/contact/">Contact</a>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<!-- Main Content and Sidebar -->
|
||||
<tr>
|
||||
<!-- Sidebar -->
|
||||
<td class="sidebar">
|
||||
<p><strong>Quick Links</strong></p>
|
||||
<ul>
|
||||
<li><a href="/platypus/">The Noble Platypus</a></li>
|
||||
<li><a href="/echidna/">The Royal Echidna</a></li>
|
||||
<li><a href="/monotremes/">About Monotremes</a></li>
|
||||
</ul>
|
||||
</td>
|
||||
|
||||
<!-- Main Content Area -->
|
||||
<td class="content">
|
||||
<h2>Login to monotreme.org</h2>
|
||||
<!-- Login Form -->
|
||||
<div class="login">
|
||||
<form action="/login/" method="post">
|
||||
<label for="username">Username:</label>
|
||||
<input type="text" id="username" name="username" required>
|
||||
<br>
|
||||
<label for="password">Password:</label>
|
||||
<input type="password" id="password" name="password" required>
|
||||
<br>
|
||||
<input type="submit" value="Login">
|
||||
</form>
|
||||
</div>
|
||||
|
||||
<img src="../echidna.png" alt="echidna">
|
||||
<img src="../platypus.png" alt="platypus">
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<!-- Footer -->
|
||||
<tr>
|
||||
<td colspan="2" class="footer">
|
||||
<p>© 2024 monotreme.org</p>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</body>
|
||||
</html>
|
34
styles.css
34
styles.css
|
@ -66,7 +66,7 @@ body {
|
|||
|
||||
.sidebar a {
|
||||
text-decoration: none;
|
||||
color: #4682b4;
|
||||
color: #4682b4; /* Steel blue */
|
||||
}
|
||||
|
||||
.sidebar a:hover {
|
||||
|
@ -79,8 +79,37 @@ body {
|
|||
vertical-align: top;
|
||||
}
|
||||
|
||||
.login {
|
||||
width: 200px;
|
||||
margin: 0 auto;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
padding: 20px;
|
||||
background-color: #eeeeee;
|
||||
/* box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); */
|
||||
}
|
||||
|
||||
.login form {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
width: 100%;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.login label,
|
||||
.login input {
|
||||
margin: 5px 0;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
input[type="submit"] {
|
||||
width: auto;
|
||||
padding: 5px 10px;
|
||||
}
|
||||
h2 {
|
||||
color: #ff6347; /* Tomato */
|
||||
color: #ff6347; /* Tomato color */
|
||||
}
|
||||
|
||||
/* Footer styling */
|
||||
|
@ -94,6 +123,7 @@ body {
|
|||
.footer p {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
/* Contact Section Styling */
|
||||
.contact {
|
||||
text-align: left;
|
||||
|
|
Loading…
Reference in a new issue