From 52d7a46bed246d17d750dd9780317167c1023d48 Mon Sep 17 00:00:00 2001 From: srishti Date: Mon, 14 Oct 2024 19:34:56 +0530 Subject: [PATCH] Responsiveness to all pages --- Css-files/about.css | 2 +- Css-files/content.css | 5 +- Css-files/login1.css | 2 +- Css-files/signup1.css | 4 +- Html-files/booknow.html | 8 +- Html-files/contact.html | 25 +++--- Html-files/forgot-pass.html | 4 +- Html-files/login.html | 156 ++++++++++++++++++++++++------------ Html-files/menu.html | 46 +++++------ Html-files/services.html | 11 +-- index.html | 4 + style.css | 3 + 12 files changed, 161 insertions(+), 109 deletions(-) diff --git a/Css-files/about.css b/Css-files/about.css index 46e4c152..27ec4701 100644 --- a/Css-files/about.css +++ b/Css-files/about.css @@ -105,7 +105,7 @@ } .mainhead h1 { font-family: Georgia; - font-size: 3.8rem; + font-size: 3rem; color: white; padding-bottom: 20px; } diff --git a/Css-files/content.css b/Css-files/content.css index 7dbdf3be..312b0685 100644 --- a/Css-files/content.css +++ b/Css-files/content.css @@ -123,7 +123,7 @@ body { } .mainhead h1 { font-family: Georgia; - font-size: 3.8rem; + font-size: 3rem; color: white; padding-bottom: 20px; } @@ -240,6 +240,7 @@ input[type="submit"]:hover { .first_cont { display: flex; + flex-wrap: wrap; justify-content: center; } @@ -288,6 +289,7 @@ input[type="submit"]:hover { } .second_cont{ display: flex; + flex-wrap: wrap; padding: 40px; justify-content: center; } @@ -562,7 +564,6 @@ td{ flex-direction: column; justify-content: center; align-items: center; - width: 20rem; height: max-content; } diff --git a/Css-files/login1.css b/Css-files/login1.css index 3ba147a6..cbe234ea 100644 --- a/Css-files/login1.css +++ b/Css-files/login1.css @@ -129,7 +129,7 @@ body { } .textfield > input { - width: 100%; + width: 95%; height: 45px; border-radius: 15px; border: 1px solid #b38484; diff --git a/Css-files/signup1.css b/Css-files/signup1.css index 11321066..ce2ce7f5 100644 --- a/Css-files/signup1.css +++ b/Css-files/signup1.css @@ -24,7 +24,6 @@ body { align-items: center; height: 100vh; /* Full viewport height */ padding: 20px; /* Padding to avoid overflow */ - overflow: hidden; /* Prevents overflow */ position:relative; } @@ -154,14 +153,13 @@ body { } /* Responsive design for smaller screens */ -@media only screen and (max-width: 600px) { +@media only screen and (max-width: 980px) { .main-login { flex-direction: column; padding: 0 20px; /* Added padding to avoid edge overflow */ } .card-login { - width: 100%; /* Full width for mobile */ padding: 20px; /* Adjust padding */ } } diff --git a/Html-files/booknow.html b/Html-files/booknow.html index 20582276..50b03c84 100644 --- a/Html-files/booknow.html +++ b/Html-files/booknow.html @@ -66,16 +66,14 @@ padding: 0.5em 0; } .gallery { - display: flex; - flex-wrap: wrap; - justify-content: space-around; - gap: 1em; + display: grid; + grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* 3 columns with a minimum size of 300px */ + gap: 3rem; } .gallery .item { border: 1px solid #ddd; border-radius: 5px; overflow: hidden; - width: 23%; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); transition: transform 0.2s; text-align: center; diff --git a/Html-files/contact.html b/Html-files/contact.html index d01a6289..29a10071 100644 --- a/Html-files/contact.html +++ b/Html-files/contact.html @@ -204,7 +204,7 @@ .foot-panel2 { background-color: rgb(138, 37, 37); color: white; - height: 300px; + height: auto; /* height: fit-content; */ display: flex; /* padding: 10px; */ @@ -237,7 +237,7 @@ flex-direction: column; justify-content: center; align-items: center; - width: 20rem; + width: 100%; height: max-content; } @@ -251,6 +251,7 @@ } #contactForm h3 { + margin-top: 10px; height: 30px; color: #141414; } @@ -273,7 +274,7 @@ .foot_panel4 { background-color: rgb(66, 16, 16); color: white; - height: 160px; + height: 0px; font-size: 0.9rem; text-align: center; } @@ -793,16 +794,20 @@

Mobile Wallets Contactless Payments + + + +

Contact Us!

-
+
-
+
@@ -810,16 +815,6 @@

Conta - - - - - - -

- - -

Follow Us

diff --git a/Html-files/forgot-pass.html b/Html-files/forgot-pass.html index 07fe7eaf..63b7b183 100644 --- a/Html-files/forgot-pass.html +++ b/Html-files/forgot-pass.html @@ -32,7 +32,9 @@
-
+

Forgot Password

diff --git a/Html-files/login.html b/Html-files/login.html index ecdbcf41..9ebeb68b 100644 --- a/Html-files/login.html +++ b/Html-files/login.html @@ -16,39 +16,59 @@ - - + } + +
diff --git a/Html-files/menu.html b/Html-files/menu.html index 3a035e55..1fa4b29b 100644 --- a/Html-files/menu.html +++ b/Html-files/menu.html @@ -734,34 +734,32 @@

Palsnkin

Mobile Wallets Contactless Payments + +

+ Contact Us! +

+ + +
+ + +
+ + +
+ + +
+ + + + -
-

- Contact Us! -

- - -
- - -
- - -
- - -
- - - -
- -
diff --git a/Html-files/services.html b/Html-files/services.html index 519e7817..cbf876d6 100644 --- a/Html-files/services.html +++ b/Html-files/services.html @@ -76,10 +76,14 @@ transform: translate(-30%,-30%); border-radius: 50%; } +html{ + overflow-x: hidden; +} body{ background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100%25' height='100%25' viewBox='0 0 1600 800'%3E%3Cg %3E%3Cpath fill='%23ffb9b0' d='M486 705.8c-109.3-21.8-223.4-32.2-335.3-19.4C99.5 692.1 49 703 0 719.8V800h843.8c-115.9-33.2-230.8-68.1-347.6-92.2C492.8 707.1 489.4 706.5 486 705.8z'/%3E%3Cpath fill='%23ffc1b7' d='M1600 0H0v719.8c49-16.8 99.5-27.8 150.7-33.5c111.9-12.7 226-2.4 335.3 19.4c3.4 0.7 6.8 1.4 10.2 2c116.8 24 231.7 59 347.6 92.2H1600V0z'/%3E%3Cpath fill='%23ffc8bf' d='M478.4 581c3.2 0.8 6.4 1.7 9.5 2.5c196.2 52.5 388.7 133.5 593.5 176.6c174.2 36.6 349.5 29.2 518.6-10.2V0H0v574.9c52.3-17.6 106.5-27.7 161.1-30.9C268.4 537.4 375.7 554.2 478.4 581z'/%3E%3Cpath fill='%23ffcfc6' d='M0 0v429.4c55.6-18.4 113.5-27.3 171.4-27.7c102.8-0.8 203.2 22.7 299.3 54.5c3 1 5.9 2 8.9 3c183.6 62 365.7 146.1 562.4 192.1c186.7 43.7 376.3 34.4 557.9-12.6V0H0z'/%3E%3Cpath fill='%23FFD6CE' d='M181.8 259.4c98.2 6 191.9 35.2 281.3 72.1c2.8 1.1 5.5 2.3 8.3 3.4c171 71.6 342.7 158.5 531.3 207.7c198.8 51.8 403.4 40.8 597.3-14.8V0H0v283.2C59 263.6 120.6 255.7 181.8 259.4z'/%3E%3Cpath fill='%23ffdcd4' d='M1600 0H0v136.3c62.3-20.9 127.7-27.5 192.2-19.2c93.6 12.1 180.5 47.7 263.3 89.6c2.6 1.3 5.1 2.6 7.7 3.9c158.4 81.1 319.7 170.9 500.3 223.2c210.5 61 430.8 49 636.6-16.6V0z'/%3E%3Cpath fill='%23ffe1d9' d='M454.9 86.3C600.7 177 751.6 269.3 924.1 325c208.6 67.4 431.3 60.8 637.9-5.3c12.8-4.1 25.4-8.4 38.1-12.9V0H288.1c56 21.3 108.7 50.6 159.7 82C450.2 83.4 452.5 84.9 454.9 86.3z'/%3E%3Cpath fill='%23ffe6df' d='M1600 0H498c118.1 85.8 243.5 164.5 386.8 216.2c191.8 69.2 400 74.7 595 21.1c40.8-11.2 81.1-25.2 120.3-41.7V0z'/%3E%3Cpath fill='%23ffebe4' d='M1397.5 154.8c47.2-10.6 93.6-25.3 138.6-43.8c21.7-8.9 43-18.8 63.9-29.5V0H643.4c62.9 41.7 129.7 78.2 202.1 107.4C1020.4 178.1 1214.2 196.1 1397.5 154.8z'/%3E%3Cpath fill='%23FFF0EA' d='M1315.3 72.4c75.3-12.6 148.9-37.1 216.8-72.4h-723C966.8 71 1144.7 101 1315.3 72.4z'/%3E%3C/g%3E%3C/svg%3E"); background-size: cover; background-attachment: fixed; + overflow-x: hidden; } ::-webkit-scrollbar { width: 10px; @@ -609,7 +613,9 @@

Retro style="font-family: var(--ff-poppins);color: hsl(208, 7%,46%);">Contactless Payments +

+

Contact Us!

@@ -630,11 +636,6 @@

Conta - - -

- -

Follow diff --git a/index.html b/index.html index ca578726..15999309 100644 --- a/index.html +++ b/index.html @@ -333,6 +333,10 @@ .card-image { max-height: 150px; /* Adjust max height for smaller screens */ } + .foot-panel2{ + display: flex; + flex-direction: column; + } } diff --git a/style.css b/style.css index e7549cae..85f9e748 100644 --- a/style.css +++ b/style.css @@ -392,6 +392,9 @@ body { .menu_items { display: flex; + flex-wrap: wrap; + justify-content: center; + align-items: center; overflow: hidden; }