reposnive text are updated
This commit is contained in:
parent
8ffe6a72cd
commit
b5d601b914
@ -2,6 +2,8 @@
|
|||||||
background-color: #f5e6d3;
|
background-color: #f5e6d3;
|
||||||
color: var(--color-text-light);
|
color: var(--color-text-light);
|
||||||
min-height: 100vh;
|
min-height: 100vh;
|
||||||
|
overflow-x: hidden;
|
||||||
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.hero {
|
.hero {
|
||||||
@ -137,8 +139,8 @@
|
|||||||
position: relative;
|
position: relative;
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
margin-left: 60px;
|
margin-left: 50px;
|
||||||
margin-right: 20px;
|
margin-right: 25px;
|
||||||
opacity: 0;
|
opacity: 0;
|
||||||
animation: fadeInUp 0.6s ease forwards;
|
animation: fadeInUp 0.6s ease forwards;
|
||||||
}
|
}
|
||||||
@ -247,12 +249,12 @@
|
|||||||
|
|
||||||
.dishName {
|
.dishName {
|
||||||
font-family: var(--font-playfair);
|
font-family: var(--font-playfair);
|
||||||
font-size: 1.5rem;
|
font-size: 1.4rem;
|
||||||
color: #5d4037;
|
color: #5d4037;
|
||||||
font-weight: 700;
|
font-weight: 700;
|
||||||
text-transform: uppercase;
|
text-transform: uppercase;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
line-height: 1.2;
|
line-height: 1.3;
|
||||||
}
|
}
|
||||||
|
|
||||||
.descriptionMenu {
|
.descriptionMenu {
|
||||||
@ -274,7 +276,7 @@
|
|||||||
|
|
||||||
.priceBubble {
|
.priceBubble {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
right: -30px;
|
right: -25px;
|
||||||
top: 50%;
|
top: 50%;
|
||||||
transform: translateY(-50%);
|
transform: translateY(-50%);
|
||||||
width: 80px;
|
width: 80px;
|
||||||
@ -346,17 +348,18 @@
|
|||||||
|
|
||||||
.menuCard {
|
.menuCard {
|
||||||
margin-left: 50px;
|
margin-left: 50px;
|
||||||
margin-right: 20px;
|
margin-right: 30px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@media (max-width: 480px) {
|
@media (max-width: 600px) {
|
||||||
.menuCard {
|
.menuCard {
|
||||||
margin-left: 0;
|
margin-left: 0;
|
||||||
margin-right: 0;
|
margin-right: 0;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
margin-top: 60px;
|
margin-top: 60px;
|
||||||
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.imageFrame {
|
.imageFrame {
|
||||||
@ -386,3 +389,34 @@
|
|||||||
transform: translateX(50%) scale(1.1);
|
transform: translateX(50%) scale(1.1);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@media (max-width: 360px) {
|
||||||
|
.cardContent {
|
||||||
|
padding: 60px 1rem 1.5rem 1rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.dishName {
|
||||||
|
font-size: 1.2rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.imageFrame {
|
||||||
|
left: 50%;
|
||||||
|
top: -77px;
|
||||||
|
transform: translateX(-50%);
|
||||||
|
width: 130px;
|
||||||
|
height: 130px;
|
||||||
|
}
|
||||||
|
.priceBubble {
|
||||||
|
width: 55px;
|
||||||
|
height: 55px;
|
||||||
|
bottom: -28px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.currency {
|
||||||
|
font-size: 14px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.amount {
|
||||||
|
font-size: 13px;
|
||||||
|
}
|
||||||
|
}
|
||||||
@ -85,7 +85,7 @@ h2 {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* Tablet: 768px to 991px - 40px */
|
/* Tablet: 768px to 991px - 40px */
|
||||||
@media (max-width: 991px) and (min-width: 768px) {
|
@media (max-width: 992px) and (min-width: 768px) {
|
||||||
h2 {
|
h2 {
|
||||||
font-size: 40px !important;
|
font-size: 40px !important;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -153,9 +153,9 @@
|
|||||||
gap: 1rem;
|
gap: 1rem;
|
||||||
}
|
}
|
||||||
.btn {
|
.btn {
|
||||||
padding: 12px 25px;
|
padding: 12px 8px;
|
||||||
font-family: var(--font-lato);
|
font-family: var(--font-lato);
|
||||||
font-size: 12px;
|
font-size: 10px;
|
||||||
text-transform: uppercase;
|
text-transform: uppercase;
|
||||||
letter-spacing: 1px;
|
letter-spacing: 1px;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
|
|||||||
@ -302,7 +302,7 @@
|
|||||||
|
|
||||||
.imageFrame {
|
.imageFrame {
|
||||||
left: 50%;
|
left: 50%;
|
||||||
top: -60px;
|
top: -77px;
|
||||||
transform: translateX(-50%);
|
transform: translateX(-50%);
|
||||||
width: 130px;
|
width: 130px;
|
||||||
height: 130px;
|
height: 130px;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user