pai-sklep/resources/scss/app.scss

75 lines
973 B
SCSS
Raw Permalink Normal View History

@import url(~sanitize.css);
@import url(~@fortawesome/fontawesome-free/css/all.css);
* {
box-sizing: border-box;
}
2021-11-24 11:34:46 +01:00
a {
color: inherit;
text-decoration: inherit;
}
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;
2021-11-24 11:34:46 +01:00
justify-content: space-between;
padding: 1em;
}
2021-12-05 19:22:00 +01:00
.form-search {
display:flex;
justify-content: center;
}
2021-12-08 16:39:56 +01:00
.cart-amount {
padding: 0;
margin: 0;
}
2021-12-05 19:22:00 +01:00
main {
display: flex;
2021-11-26 10:45:44 +01:00
flex-direction: column;
width: min(max(90vw,1080px), 100%);
background-color: beige;
flex-grow: 1;
}
.product-image {
max-width: 100%;
}
2021-12-07 12:22:46 +01:00
.name-price-container {
display: flex;
justify-content: space-between;
align-items: flex-end;
}
.price-currency {
font-size: 0.85em;
opacity: 0.55;
font-weight: normal;
}
footer {
display: flex;
justify-content: center;
align-items: center;
}