Upload Aufgabe 04.1

This commit is contained in:
Justin Dretvic 2020-05-20 14:13:21 +02:00
parent 631e44efbd
commit 0bb237c048
4 changed files with 178 additions and 0 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

View File

@ -0,0 +1,133 @@
body {
margin: 0;
}
header {
padding: 10px 0px;
position: relative;
top: 0;
width: 100%;
background-color: #006a4e;
color: #b8d5cd;
}
header ul {
list-style: none;
padding: 0px;
}
header li {
display: block;
margin: 10px auto 0px;
}
header li a {
text-decoration: none;
color: #b8d5cd;
}
header .dropdown {
text-align: center;
font-size: 20px;
position: relative;
display: block;
background-color: #2e856e;
border-radius: 40px;
margin: 10px 5px 0px 5px;
padding: 10px 0px;
width: 80%;
}
header .dropdown-content {
display: none;
}
header .dropdown:hover .dropdown-content {
display: block;
margin-bottom: 0px;
}
header #shopping_cart {
text-align: center;
position: relative;
display: block;
background-color: #2e856e;
border-radius: 40px;
margin: 10px 5px 0px 5px;
padding: 10px 0px;
width: 60px;
}
header #shopping_cart a {
text-decoration: none;
color: #b8d5cd;
font-size:24px
}
header #shopping_cart a:hover {
color: white;
}
header .title_bar img {
width: 40px;
height: 40px;
margin: 5px 15px;
}
header .title_bar span {
font-size: 27px;
line-height: 50px;
margin: auto 0px;
}
header .title_bar {
display: flex;
flex-direction: row;
justify-content: center;
background-color: #2e856e;
border-radius: 40px;
padding: 5px;
margin: 5px
}
header #bottom {
display: flex;
flex-direction: row;
justify-content: center;
}
header #shopping_cart {
margin: 10px auto;
text-align: center;
color: #b8d5cd;
display: block;
background-color: #2e856e;
border-radius: 40px;
margin: 10px 5px 0px 5px;
padding: 10px 0px;
}
footer {
text-align: center;
padding: 10px 5px;
position: relative;
bottom: 0;
width: calc(100%-10px);
background-color: #272727;
color: white;
}
footer p {
margin: 0px 0px 10px;
}
/* Tablet */
@media screen and (min-width: 600px) {
}
/* Desktop */
@media screen and (min-width: 1025px) {
}

View File

@ -0,0 +1,45 @@
<!DOCTYPE html>
<html lang="en">
<head>
<script src='https://kit.fontawesome.com/a076d05399.js'></script>
<link rel="stylesheet" href="shop.css">
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>green grass</title>
</head>
<body>
<header>
<div class="title_bar">
<img src="files/grass_icon_left.png" alt="grass"/>
<span>GREEEN GRASS</span>
<img src="files/grass_icon_right.png" alt="grass"/>
</div>
<div id="bottom">
<div class="dropdown">
<span>Categories</span>
<ul class="dropdown-content">
<li><a href="#">~ Eins ~</a></li>
<li><a href="#">~ Zwei ~</a></li>
<li><a href="#">~ Drei ~</a></li>
</ul>
</div>
<div id="shopping_cart">
<a href=""><i class="fas fa-shopping-cart" style='font-size:24px'></i></a>
</div>
</div>
</header>
<div>
<br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br>
<br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br>
<br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br>
Hallo
</div>
<footer>
<h1>Disclaimer</h1>
<p>Diese Website wird nicht monetär verwendet </p>
<p>Auch nicht, wenn hier vermeintlich Sachen verkauft werden!</p>
</footer>
</body>
</html>