basis van website gebouwd

This commit is contained in:
sam
2023-09-08 11:27:26 +02:00
parent f8fc869665
commit bb11d59205
4 changed files with 76 additions and 2 deletions

38
web/css.css Normal file
View File

@@ -0,0 +1,38 @@
body {
display: flex;
flex-direction: column;
min-height: 100vh;
}
html {
background-color: rgb(71, 68, 68);
}
div {
color: white;
}
.menubalk a {
float: left;
color: #f2f2f2;
text-align: center;
padding: 14px 16px;
text-decoration: none;
font-size: 17px;
}
.menubalk a:hover {
background-color: rgb(199, 71, 71);
color: black;
}
.menubalk a.active {
background-color: #aa0404;
color: white;
}
.menubalk {
background-color: #333;
overflow: hidden;
}

View File

@@ -3,9 +3,22 @@
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<link rel="stylesheet" href="css.css">
<title>Weerstation</title>
</head>
<nav>
<div class="menubalk">
<a class="active" href="index.html">Home</a>
<a href="statestiek.html">Station statestieken</a>
</div>
</nav>
<body>
<p>test</p>
<div>
<h1>Dit is een weerstation website.</h1>
<p>Deze website weergeeft statestieke informatie van een weerstation</p>
</div>
</body>
</html>

0
web/serialviewer.ts Normal file
View File

23
web/statestiek.html Normal file
View File

@@ -0,0 +1,23 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="css.css">
<title>Weerstation</title>
</head>
<nav>
<div class="menubalk">
<a href="index.html">Home</a>
<a class="active" href="statestiek.html">Station statestieken</a>
</div>
</nav>
<body>
<div>
</div>
</body>
</html>