2024-08-13 14:51:41 +02:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html lang="en">
|
|
|
|
|
|
|
|
<head>
|
|
|
|
<meta charset="UTF-8">
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
|
|
<title>Super cool project for homelabers</title>
|
2024-08-14 14:52:08 +02:00
|
|
|
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/water.css@2/out/water.css">
|
2024-08-13 14:51:41 +02:00
|
|
|
<style>
|
2024-08-15 14:38:20 +02:00
|
|
|
div.page{
|
|
|
|
height: 100vh;
|
2024-08-13 14:51:41 +02:00
|
|
|
display: grid;
|
2024-08-15 14:38:20 +02:00
|
|
|
grid-template-columns: 1fr 4fr;
|
|
|
|
grid-template-rows: 20px 10fr 20px;
|
|
|
|
grid-template-areas:
|
|
|
|
'menu header'
|
|
|
|
'menu mainView'
|
|
|
|
'menu footer'; ;
|
2024-08-13 14:51:41 +02:00
|
|
|
}
|
2024-08-15 14:38:20 +02:00
|
|
|
div.header{
|
|
|
|
background-color: aquamarine;
|
|
|
|
grid-area: header;
|
2024-08-13 14:51:41 +02:00
|
|
|
}
|
2024-08-15 14:38:20 +02:00
|
|
|
div.menu{
|
|
|
|
background-color: grey;
|
|
|
|
grid-area: menu;
|
2024-08-13 14:51:41 +02:00
|
|
|
}
|
2024-08-15 14:38:20 +02:00
|
|
|
div.mainView{
|
|
|
|
background-color: whitesmoke;
|
|
|
|
grid-area: mainView;
|
2024-08-13 14:51:41 +02:00
|
|
|
}
|
2024-08-15 14:38:20 +02:00
|
|
|
div.footer{
|
|
|
|
background-color: black;
|
2024-08-13 14:51:41 +02:00
|
|
|
grid-area: footer;
|
|
|
|
}
|
|
|
|
</style>
|
|
|
|
</head>
|
|
|
|
|
|
|
|
<body>
|
2024-08-15 14:38:20 +02:00
|
|
|
<div class="page">
|
|
|
|
<div class="header">Header</div>
|
|
|
|
<div class="menu">Menu</div>
|
|
|
|
<div class="mainContent">MainContent</div>
|
|
|
|
<div class="footer">Footer</div>
|
2024-08-13 14:51:41 +02:00
|
|
|
</div>
|
|
|
|
</body>
|
|
|
|
|
|
|
|
</html>
|