cleanup
This commit is contained in:
@@ -101,6 +101,12 @@ export default {
|
|||||||
@import "./src/styles/global";
|
@import "./src/styles/global";
|
||||||
@import "./src/styles/variables";
|
@import "./src/styles/variables";
|
||||||
|
|
||||||
|
|
||||||
|
h1{
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
.main-container{
|
.main-container{
|
||||||
margin: auto;
|
margin: auto;
|
||||||
max-width: 1200px;
|
max-width: 1200px;
|
||||||
@@ -115,57 +121,23 @@ input[type="text"] {
|
|||||||
max-width: 90%;
|
max-width: 90%;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
.search-container{
|
.search-container{
|
||||||
margin: 1rem;
|
margin: 1rem;
|
||||||
margin-left: 2rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
@media #{$mobileOnly}{
|
|
||||||
h2{
|
|
||||||
font-size: 1em;
|
|
||||||
max-width: 80%;
|
|
||||||
white-space: nowrap;
|
|
||||||
overflow: hidden;
|
|
||||||
text-overflow: ellipsis
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
@media #{$tabletOnly}{
|
|
||||||
h2{
|
|
||||||
font-size: 1.2em;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@media #{$desktopAndUp}{
|
|
||||||
h2{
|
|
||||||
font-size: 1.6em;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.search-section{
|
.search-section{
|
||||||
display: grid;
|
display: grid;
|
||||||
grid: 1fr / 1fr .2fr;
|
grid: 1fr / 1fr .2fr;
|
||||||
grid-template-areas: "search-area button";
|
|
||||||
|
|
||||||
@media #{$mobileOnly}{
|
@media #{$mobileOnly}{
|
||||||
.vin-button{
|
.vin-button{
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
.search-input-field{
|
.search-input-field{
|
||||||
// grid-row: 1 / -1;
|
grid-column: 1 / -1;
|
||||||
width: 100%;
|
|
||||||
max-width: 100%;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@media #{$tabletAndUp}{
|
|
||||||
.search-input-field{
|
|
||||||
grid-area: search-area;
|
|
||||||
}
|
|
||||||
.vin-button{
|
|
||||||
grid-area: button;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.single-result{
|
.single-result{
|
||||||
@@ -199,8 +171,17 @@ input[type="text"] {
|
|||||||
grid-area: button1;
|
grid-area: button1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
h2{
|
||||||
|
font-size: 1em;
|
||||||
|
max-width: 80%;
|
||||||
|
white-space: nowrap;
|
||||||
|
overflow: hidden;
|
||||||
|
text-overflow: ellipsis
|
||||||
}
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
.wine-image {
|
.wine-image {
|
||||||
height: 100px;
|
height: 100px;
|
||||||
grid-area: picture;
|
grid-area: picture;
|
||||||
@@ -239,11 +220,18 @@ input[type="text"] {
|
|||||||
.vin-button{
|
.vin-button{
|
||||||
grid-area: button2;
|
grid-area: button2;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
|
@media #{$tabletOnly}{
|
||||||
|
h2{
|
||||||
|
font-size: 1.2em;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
h1{
|
@media #{$desktopAndUp}{
|
||||||
text-align: center;
|
h2{
|
||||||
|
font-size: 1.6em;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user