Show sourcecode
The following files exists in this folder. Click to view.
public_html/exercises/Projekt/Företag/
Bilder/
Huvudmeny.html
faq.html
itemDetailRenderer.js
kontakt.html
omOss.html
shop.html
shopRenderer.js
style.css
style.css
133 lines ASCII Windows (CRLF)
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133
* {
box-sizing: border-box;
margin: 0;
padding: 0;
}
.top-menu-link {
margin: 10px
}
#menu-background {
padding: 5px;
width: 100%;
position: absolute;
background-color: rgb(29, 29, 29);
}
#top-menu {
display: flex;
padding: 5px;
width: 80%;
position: fixed;
align-items: center;
justify-content: center;
position: absolute;
transform: translate(-50%);
left: 50%;
}
#menu-logo-cart {
padding: 5px;
width: 100%;
display: flex;
position: absolute;
justify-content: space-between;
}
#logo img {
width: 70px;
}
#cart img {
width: 70px;
}
body {
margin: 0px;
background-color: rgb(29, 29, 29);
}
.top-menu-link a {
color: rgb(196, 190, 124);
font-weight: 1000;
}
.heightcontrol img {
width: 70px;
visibility: hidden;
}
.main-image {
height: 80%;
overflow: hidden;
position: fixed;
z-index: -2;
}
.main-image-ghost {
height: 80%;
transform: translate(-50%);
left: 50%;
overflow: hidden;
visibility: hidden;
}
.main-image-container {
height: fit-content;
overflow: hidden;
z-index: -1;
}
.main-text {
color: rgb(196, 190, 124);
background-color: rgb(29, 29, 29);
transform: translate(-50%, -50%);
position: absolute;
top: 40%;
left: 50%;
font-size: 500%;
text-align: center;
}
.info-container {
background-color: rgb(29, 29, 29);
padding: 5%;
display: flex;
width: 100%;
flex-direction: column;
}
.info-container h1 {
color: rgb(196, 190, 124);
}
.info-container h3 {
color: rgb(196, 190, 124);
}
#left-text {
align-self: flex-start;
width: 30%;
}
#right-text {
align-self: flex-end;
width: 30%;
}
.shop-button {
align-self: center;
padding: 10px;
border-radius: 5px;
background-color: rgb(196, 190, 124);
color: rgb(29, 29, 29);
text-decoration: none;
font-size: x-large;
font-weight: bolder;
transition: 0.3s;
margin: 5px;
}
.shop-button:hover {
margin: 0;
padding: 15px;
}