Styling on todays wines more mobile friendly.

This commit is contained in:
2020-02-07 14:28:10 +01:00
parent 3067a84e2a
commit e90ff8e5f5

View File

@@ -41,6 +41,8 @@ export default {
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
@import './src/styles/media-queries';
.wine-image { .wine-image {
height: 250px; height: 250px;
} }
@@ -50,22 +52,52 @@ h1 {
margin-bottom: 25px; margin-bottom: 25px;
} }
.wines-container {
display: flex;
flex-wrap: wrap;
justify-content: space-evenly;
margin: 0 2rem;
@media (min-width: 1500px) {
max-width: 1500px;
margin: 0 auto;
}
@include mobile {
flex-direction: column;
}
}
h3 {
max-width: 30vw;
@include mobile {
max-width: 50vw;
}
}
.inner-wine-container { .inner-wine-container {
display: flex; display: flex;
flex-direction: row; flex-direction: row;
justify-content: center;
margin: auto; margin: auto;
width: 500px; width: 500px;
font-family: Arial; font-family: Arial;
margin-bottom: 30px; margin-bottom: 30px;
@include desktop {
justify-content: center;
}
} }
.right { .right {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
justify-content: center;
margin-bottom: 150px; margin-bottom: 150px;
margin-left: 50px; margin-left: 50px;
@include mobile {
margin-left: 2rem;
}
} }
a, a,