47 lines
590 B
SCSS
47 lines
590 B
SCSS
|
@import url(~sanitize.css);
|
||
|
@import url(~@fortawesome/fontawesome-free/css/all.css);
|
||
|
|
||
|
* {
|
||
|
box-sizing: border-box;
|
||
|
}
|
||
|
|
||
|
body {
|
||
|
display: flex;
|
||
|
flex-direction: column;
|
||
|
align-items: center;
|
||
|
min-height: 100vh;
|
||
|
}
|
||
|
|
||
|
nav, footer {
|
||
|
background-color: blue;
|
||
|
height: 5vh;
|
||
|
width: 100%;
|
||
|
color: white;
|
||
|
}
|
||
|
|
||
|
nav {
|
||
|
display: flex;
|
||
|
align-items: center;
|
||
|
}
|
||
|
|
||
|
nav .fa {
|
||
|
font-size: 2em;
|
||
|
}
|
||
|
|
||
|
main {
|
||
|
display: flex;
|
||
|
width: min(max(90vw,1080px), 100%);
|
||
|
background-color: beige;
|
||
|
flex-grow: 1;
|
||
|
}
|
||
|
|
||
|
.product-image {
|
||
|
max-width: 100%;
|
||
|
}
|
||
|
|
||
|
footer {
|
||
|
display: flex;
|
||
|
justify-content: center;
|
||
|
align-items: center;
|
||
|
}
|