From b5d601b9140b1274974ae20bd7e3852497ac420f Mon Sep 17 00:00:00 2001 From: akash Date: Tue, 17 Feb 2026 14:03:56 +0530 Subject: [PATCH] reposnive text are updated --- .../antalya-restaurant-menu/menu.module.css | 48 ++++++++++++++++--- src/app/globals.css | 2 +- src/components/Hero/Hero.module.css | 4 +- src/components/Menu/Menu.module.css | 2 +- 4 files changed, 45 insertions(+), 11 deletions(-) diff --git a/src/app/antalya-restaurant-menu/menu.module.css b/src/app/antalya-restaurant-menu/menu.module.css index 50b27eb..4b58355 100644 --- a/src/app/antalya-restaurant-menu/menu.module.css +++ b/src/app/antalya-restaurant-menu/menu.module.css @@ -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; + } } \ No newline at end of file diff --git a/src/app/globals.css b/src/app/globals.css index b5c7c0f..4e7f388 100644 --- a/src/app/globals.css +++ b/src/app/globals.css @@ -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; } diff --git a/src/components/Hero/Hero.module.css b/src/components/Hero/Hero.module.css index 682b31b..272a203 100644 --- a/src/components/Hero/Hero.module.css +++ b/src/components/Hero/Hero.module.css @@ -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; diff --git a/src/components/Menu/Menu.module.css b/src/components/Menu/Menu.module.css index 7cd9ed9..01707a7 100644 --- a/src/components/Menu/Menu.module.css +++ b/src/components/Menu/Menu.module.css @@ -302,7 +302,7 @@ .imageFrame { left: 50%; - top: -60px; + top: -77px; transform: translateX(-50%); width: 130px; height: 130px;