reposnive text are updated

This commit is contained in:
akash 2026-02-17 14:03:56 +05:30
parent 8ffe6a72cd
commit b5d601b914
4 changed files with 45 additions and 11 deletions

View File

@ -2,6 +2,8 @@
background-color: #f5e6d3;
color: var(--color-text-light);
min-height: 100vh;
overflow-x: hidden;
width: 100%;
}
.hero {
@ -137,8 +139,8 @@
position: relative;
display: flex;
align-items: center;
margin-left: 60px;
margin-right: 20px;
margin-left: 50px;
margin-right: 25px;
opacity: 0;
animation: fadeInUp 0.6s ease forwards;
}
@ -247,12 +249,12 @@
.dishName {
font-family: var(--font-playfair);
font-size: 1.5rem;
font-size: 1.4rem;
color: #5d4037;
font-weight: 700;
text-transform: uppercase;
margin: 0;
line-height: 1.2;
line-height: 1.3;
}
.descriptionMenu {
@ -274,7 +276,7 @@
.priceBubble {
position: absolute;
right: -30px;
right: -25px;
top: 50%;
transform: translateY(-50%);
width: 80px;
@ -346,17 +348,18 @@
.menuCard {
margin-left: 50px;
margin-right: 20px;
margin-right: 30px;
}
}
@media (max-width: 480px) {
@media (max-width: 600px) {
.menuCard {
margin-left: 0;
margin-right: 0;
flex-direction: column;
align-items: center;
margin-top: 60px;
width: 100%;
}
.imageFrame {
@ -385,4 +388,35 @@
.menuCard:hover .priceBubble {
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;
}
}

View File

@ -85,7 +85,7 @@ h2 {
}
/* Tablet: 768px to 991px - 40px */
@media (max-width: 991px) and (min-width: 768px) {
@media (max-width: 992px) and (min-width: 768px) {
h2 {
font-size: 40px !important;
}

View File

@ -153,9 +153,9 @@
gap: 1rem;
}
.btn {
padding: 12px 25px;
padding: 12px 8px;
font-family: var(--font-lato);
font-size: 12px;
font-size: 10px;
text-transform: uppercase;
letter-spacing: 1px;
cursor: pointer;

View File

@ -302,7 +302,7 @@
.imageFrame {
left: 50%;
top: -60px;
top: -77px;
transform: translateX(-50%);
width: 130px;
height: 130px;