Add some more stuff to the website

main
nightly 2022-09-14 09:17:41 +02:00
parent 3203311481
commit 4ed081d180
2 changed files with 127 additions and 0 deletions

84
src/css/style.css Normal file
View File

@ -0,0 +1,84 @@
body {
background-color: darkslategrey;
margin: 0;
}
#container {
margin-top: 100px;
margin-left: 25px;
margin-right: 25px;
}
#home {
background-color: azure;
border: 10px;
border-radius: 20px;
width: 100%;
margin-top: 30px;
margin-bottom: 30px;
}
#products {
background-color: azure;
border: 10px;
border-radius: 20px;
width: 100%;
margin-top: 30px;
margin-bottom: 30px;
}
#navigationbar {
position: fixed;
top:0px;
right: 0px;
width: 100%;
height: 100%;
}
#headerhome {
color:black;
text-align: center;
padding-top:20px;
padding-bottom:20px;
}
#headerproducts {
color:black;
text-align: center;
padding-top:20px;
padding-bottom:20px;
}
.centerh {
margin:auto;
width:30em;
padding:0px;
}
ul {
list-style-type: none;
margin: 0;
padding: 0;
overflow: hidden;
background-color: #333;
}
li {
float: left;
}
li a {
display: block;
color: white;
text-align: center;
padding: 14px 16px;
text-decoration: none;
}
li a:hover:not(.active) {
background-color: #111;
}
.active {
background-color: #04AA6D;
}

43
src/html/index.html Normal file
View File

@ -0,0 +1,43 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>MangoBerry</title>
<link rel="stylesheet" href="../css/style.css">
</head>
<body>
<div id="container">
<div id="home">
<div id="headerhome">
<h1>Welcome to MangoBerry's website!</h1>
<h3>Software no-one asked for</h3>
</div>
</div>
<div id="products">
<div id="headerproducts">
<h1>Our products</h1>
</div>
<div id="mangoshelf">
<div id="mangoshelfimg"></div>
<div id="mangoshelfheader">
<h2>MangoShelf</h2>
</div>
</div>
</div>
</div>
<div id="navigationbar">
<ul>
<li><a>MangoBerry </a></li>
<div class="centerh">
<li><a class="active" href="#home">Home</a></li>
<li><a href="#products">Products</a></li>
<li><a href="#documentation">Docs</a></li>
<li><a href="#contact">Contact</a></li>
<li><a href="#about">About</a></li>
</div>
</ul>
</div>
</body>
</html>