„index.html“ ändern

master
flambus 2020-02-17 08:54:13 +01:00
parent cff70dd7b8
commit 2c0a0b2862
1 changed files with 55 additions and 29 deletions

View File

@ -1,32 +1,58 @@
<!DOCTYPE html> <!DOCTYPE html>
<html> <html>
<head> <head>
<title>ThreadR - Welcome</title> <title>Home page</title>
<link rel="stylesheet" type="text/css" href="content/style.css"> <meta name="viewport" content="width=device-width, initial-scale=1.0">
<style>
body {margin: 0;}
ul.topnav {
list-style-type: none;
margin: 0;
padding: 0;
overflow: hidden;
background-color: #333;
}
ul.topnav li {float: left;}
ul.topnav li a {
display: block;
color: white;
text-align: center;
padding: 14px 16px;
text-decoration: none;
}
ul.topnav li a:hover:not(.active) {background-color: #111;}
ul.topnav li a.active {background-color: #4CAF50;}
ul.topnav li.right {float: right;}
@media screen and (max-width: 600px) {
ul.topnav li.right,
ul.topnav li {float: none;}
}
</style>
</head> </head>
<body> <body>
<div class="container">
<div class="item-1"> <ul class="topnav">
<h1><center>ThreadR</center></h1> <li><a class="active" href="#home">Home</a></li>
</div> <li><a href="#news">News</a></li>
<div class="item-2 round-border"> <li><a href="#contact">Contact</a></li>
<p>Login:</p> <li class="right"><a href=".common/index.html">Log In</a></li>
<form action="./content/login.php" method="post"> </ul>
<input type="text" name="name" maxlength="20" placeholder="Username" />
<input type="password" name="password" maxlength="256" placeholder="Password" /> <div style="padding:0 16px;">
<p></p> <h2>ThreadR Homepage</h2>
<a href="./content/homepage.html"> <button> Log in </button> </a> <p>This example use media queries to stack the topnav vertically when the screen size is 600px or less.</p>
</form> <p>You will learn more about media queries and responsive web design later in our CSS Tutorial.</p>
<p></p> <h4>Resize the browser window to see the effect.</h4>
</div>
<div class="item-3">
<p></p>
<a href="./content/signup.html"> <button> Sign up </button> </a>
<p></p>
</div>
<div class="item-4">
<center><a href="https://lostcave.ddnss.de/common/content/about/">About</a></center>
</div>
</div> </div>
</body> </body>
</html> </html>