Skip to content

Commit 9b8d408

Browse files
author
Bryant
committed
#
1 parent 2d396f1 commit 9b8d408

File tree

3 files changed

+36
-6
lines changed

3 files changed

+36
-6
lines changed

src/assets/Star.svg

Lines changed: 1 addition & 1 deletion
Loading

src/components/App.css

Lines changed: 35 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,10 @@
2121
background-repeat: no-repeat;
2222
background-size: cover;
2323
background-position: center;
24-
transform: translate(645px, 20px);
25-
z-index: -1;
24+
margin-left: 51%;
25+
margin-top: 2%;
2626
position: absolute;
27+
z-index: -1;
2728

2829
}
2930

@@ -34,7 +35,7 @@
3435
background-color: #1B1D1F;
3536
top: 50%;
3637
left: 50%;
37-
transform: translate(-50%, 230px);
38+
transform: translate(-50%, 210px);
3839
border-radius: 10px;
3940
padding-bottom: 100px;
4041
}
@@ -68,4 +69,34 @@
6869
grid-template-rows: auto auto;
6970
justify-content: center;
7071
gap: 50px;
71-
}
72+
}
73+
74+
@media (min-width: 768px) and (max-width: 1023px) {
75+
76+
.bgImg {
77+
background-image: url("../assets/bg-cafe.jpg");
78+
}
79+
80+
.itemsContainer {
81+
grid-template-columns: auto auto;
82+
}
83+
84+
}
85+
86+
@media (max-width: 767px) {
87+
88+
.bgImg {
89+
width: 100%;
90+
background-image: url("../assets/bg-cafe-sm.jpg");
91+
92+
}
93+
94+
.container {
95+
width: 80%;
96+
}
97+
98+
.itemsContainer {
99+
grid-template-columns: auto;
100+
}
101+
102+
}

src/components/InfoCoffe.css

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,6 @@
5151

5252
.rateVotes {
5353
display: flex;
54-
align-items: center;
5554
justify-content: space-between;
5655

5756
}

0 commit comments

Comments
 (0)