From b2347af08178610d1c473d436583068ca3ae8373 Mon Sep 17 00:00:00 2001 From: Shivam Verma <123314145+shivamv003@users.noreply.github.com> Date: Fri, 4 Oct 2024 14:24:21 +0530 Subject: [PATCH 1/5] Updated contact.html --- Html-files/contact.html | 845 +++++++++++++++++++++++++--------------- 1 file changed, 525 insertions(+), 320 deletions(-) diff --git a/Html-files/contact.html b/Html-files/contact.html index f4c9a7a6..47cf83ab 100644 --- a/Html-files/contact.html +++ b/Html-files/contact.html @@ -4,90 +4,44 @@ + Retro + + + + + + - + - - - - - + - - + +@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap'); +#sr { +display: none; +position: fixed; +bottom: 20px; +right: 30px; +z-index: 99; +font-size: 18px; +border: none; +outline: none; +background-color: transparent; +color: white; +cursor: pointer; +padding: 15px; +border-radius: 4px; +} + +#sr:hover { +background-color: transparent; +color: black; +border-radius: 100px; +} +.circle{ + z-index: 10000; + width: 20px; + height: 20px; + border-radius: 50%; + pointer-events: none; + animation: colors 5s infinite; + position: fixed; + transform: translate(-50%,-50%); +} +.circle::before { + content: ""; + position: fixed; + width: 50px; + height: 50px; + opacity: 0.2; + transform: translate(-30%,-30%); + border-radius: 50%; +} +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; +} +::-webkit-scrollbar { + width: 10px; +} +::-webkit-scrollbar-track { + background-color: #feaea5; + border-radius: 10px; +} + +::-webkit-scrollbar-thumb { + border-radius: 10px; + background: linear-gradient( + to bottom, + hsl(357, 37%, 62%), + hsl(304, 14%, 46%) + ); + border-radius: 6px; +} + +::-webkit-scrollbar-thumb:hover { + background-color: rgb(172, 38, 94); +} + +* { + scrollbar-width: thick; +} +::-webkit-scrollbar-button { + display: none; +} + + + +
@@ -203,276 +260,408 @@
-
-
+
+ + + + + +
+

Welcome to Retro!

+

Step back in time and experience the nostalgic charm of days gone by. + Immerse yourself in the world of vintage tech, classic designs, and timeless memories. + Get ready to embark on a journey through the ages, where innovation meets tradition, and the past inspires the future.

+ + + + + + + +
+ +
+
+
+

Get 30% OFF on your first order!

+

Get 30% OFF on your first order!

+

Get 30% OFF on your first order!

+
+
-
- + +
+
+
+

Online Delivery


+ Order Online +
+
+

Click & Collect


+ Take out Order +
+
+
+ + - + +
+ + -
-
-

Follow Us

+
-
-        -        - -
-

Stay connected with us on social media for the latest updates, recipes, and foodie adventures. -

- + - - - - + - + - - \ No newline at end of file + + + From e8b619a58d05f061719fc3f06c4f9c6f1f2f7abb Mon Sep 17 00:00:00 2001 From: Shivam Verma <123314145+shivamv003@users.noreply.github.com> Date: Fri, 4 Oct 2024 14:25:14 +0530 Subject: [PATCH 2/5] Updated style.css --- Css-files/style.css | 1215 ++++++++++++++++++++++--------------------- 1 file changed, 635 insertions(+), 580 deletions(-) diff --git a/Css-files/style.css b/Css-files/style.css index 8fa4358f..ac7d9f89 100644 --- a/Css-files/style.css +++ b/Css-files/style.css @@ -1,635 +1,583 @@ * { - margin: 0px; - padding: 0px; + margin: 0px; + padding: 0px; } -body { - background-color: black; - background-attachment: fixed; +.poppins-light { + font-family: "Poppins", sans-serif; + font-weight: 300; + font-style: normal; } -.navbar { - padding: 8px 0px; - } -.navbar ul { - overflow: auto; - /* background-color: black; */ -} - -.navbar li { - float: left; - list-style: none; - margin: 2px 20px; - -} -.navbar li a { - padding: 1px 3px; - text-decoration: none; - color: white; - font-size: 1.3rem; +body { + background-color: black; } -.navbar li:hover { - opacity: 0.7; +.navbar { + padding: 8px 0px; + height: 60px; + transition: background-color 0.3s, backdrop-filter 0.3s, color 0.3s; /* Added transitions for smooth color change */ + backdrop-filter: blur(0); /* Initially no blur */ +} + +.navbar a { + text-decoration: none; + color: white; + font-size: 1.3rem; +} +/* Navbar link hover effect */ +.navbar a:hover, +.navbar.scrolled a:hover { + color :#fff; + border-bottom: 1px solid #fff; /* Add bottom border on hover */ + border-top: 1px solid #fff; /* Add top border on hover */ +} +s +.navbar.fixed-top { + position: fixed; + top: 0; + width: 100%; + z-index: 1030; +} +.navbar.scrolled { + background-color: rgb(176, 63, 63); + backdrop-filter: blur(10px); + color: #fff; } - - .intro_container { - display: flex; - flex-direction: column; - padding: 3px 150px; - height: 630px; - justify-content: center; - align-items: center; - color: white; - text-align: center; + display: flex; + flex-direction: column; + padding: 3px 150px; + height: 630px; + justify-content: center; + align-items: center; + color: white; + text-align: center; } .intro_container:before { - background: url(../Images/home.jpg) no-repeat center center/cover; - content: ""; - position: absolute; - height: 800px; - width: 100%; - top: 0px; - left: 0px; - z-index: -1; - opacity: 0.5; - + background-color: burlywood; + background-blend-mode: multiply; + content: ""; + position: absolute; + height: 800px; + width: 100%; + top: 0px; + left: 0px; + z-index: -1; + opacity: 0.5; } .intro_container h1 { - font-size: 4.5em; - font-family: 'Oswald', sans-serif; + font-size: 4.5em; + font-family: "Oswald", sans-serif; } .intro_container p { - font-size: 1.15rem; - font-family: 'Oswald', sans-serif; + font-size: 1.15rem; + font-family: "Oswald", sans-serif; } .intro_container button { - margin-top: 20px; - background-color: brown; - color: white; - border: 2px solid rgb(139, 36, 36); - width: 170px; - height: 35px; - border-radius: 4px; - font-size: 1.3rem; - font-family: 'Bree Serif', serif; - padding-bottom: 4px; + margin-top: 20px; + background-color: brown; + color: white; + border: 2px solid rgb(139, 36, 36); + width: 170px; + height: 35px; + border-radius: 4px; + font-size: 1.3rem; + font-family: "Philosopher", sans-serif; + padding-bottom: 4px; } .intro_container button:hover { - - background-color: white; - color: brown; - cursor: pointer; + background-color: white; + color: brown; + cursor: pointer; } .about_us { - background-color: rgb(224, 224, 252); - padding: 100px 0px 100px 0px; + background-color: transparent; + padding: 100px 0px 100px 0px; } #about { - /* margin: 34px; */ - display: flex; - justify-content: center; - align-items: center; + /* margin: 34px; */ + display: flex; + justify-content: center; + align-items: center; } - #about .box { - border: 2px solid brown; - padding: 34px; - margin: 2px 55px; - border-radius: 28px; - background: #f2f2f2; - margin-bottom: 20px; - /* float: left; */ - transition: .3s all ease-in-out ; + border: 2px solid #000000; + padding: 34px; + margin: 2px 55px; + border-radius: 28px; + margin-bottom: 20px; + /* float: left; */ + transition: 0.3s all ease-in-out; } -#about .box:hover{ - box-shadow: #212123 1px 1px 8px; - scale: 1.015; - cursor: pointer; +#about .box:hover { + box-shadow: #212123 1px 1px 8px; + scale: 1.015; + cursor: pointer; } #about .box img { - height: 160px; - width: 270px; - margin: auto; - display: flex; + height: 160px; + width: 270px; + margin: auto; + display: flex; } #about .box p { - font-family: 'Bree Serif', serif; - text-align: center; + font-family: "Bree Serif", serif; + text-align: center; } .h-primary { - font-family: 'Bree Serif', serif; - font-size: 2.5rem; - padding: 40px 80px 80px 80px; - text-align: center; - color: brown; + font-family: "Bree Serif", serif; + font-size: 2.5rem; + padding: 40px 80px 80px 80px; + text-align: center; + color: brown; } .h-secondary { - font-family: 'Bree Serif', serif; - font-size: 1.5rem; - padding: 12px; - text-align: center; + font-family: "Bree Serif", serif; + font-size: 1.5rem; + padding: 12px; + text-align: center; } - .service_container { - display: flex; - flex-direction: column; - /* padding: 3px 200px; */ - height: 550px; - width: auto; - justify-content: center; - align-items: center; - color: white; -} + background-color: hsl(20, 43%, 93%); + padding: 50px; + display: flex; + justify-content: center; + align-items: center; + border: 0.5px solid black; + } -.service_container:before { - background-image: url(https://cdn.tasteatlas.com//images/toplistarticles/d0e6a0a79d5f4197a51f4ca065393ffe.jpg?mw=1300) ; - content: ""; - position: absolute; + .service { + display: flex; + flex-wrap: wrap; + gap: 30px; + max-width: 1200px; + width: 100%; + } - /* - height: 560px; - */ - height: 800px; - width: 100%; - /* justify-items: center; */ - opacity: 0.4; - z-index: -1; - /* background-repeat: no-repeat; */ -} + .column { + display: flex; + flex-direction: column; + justify-content: center; + } + /* Text Column - 60% */ + .service_text { + flex: 0 0 49%; + font-family: var(--ff-poppins); + color: hsl(203, 30%, 26%); + } -.service { - display: flex; - padding: 20px; - box-sizing: fixed; + .service_text h1 { + font-family: var(--ff-philosopher); + font-size: 3rem; + line-height: 1.2; + margin-bottom: 15px; + } + .service_text p { + font-family: var(--ff-poppins); + font-size: 1.2rem; + color: hsl(208, 7%, 46%); + margin-bottom: 20px; + } -} + /* Buttons Column - 40% */ + .service_buttons { + flex: 0 0 40%; + } -.service .box_main { - padding-left: 20px; - padding-right: 40px; -} + .button_row { + display: flex; + justify-content: space-between; + /*border: 1px solid black;*/ + gap: 20px; + } -.service .box_main h1 { - font-size: 4.5rem; - font-family: 'Oswald', sans-serif; + .box { + text-align: center; + flex: 1; + } -} + .box h2 { + font-family: var(--ff-philosopher); + color: hsl(357, 82%, 35%); + font-size: 1.5rem; + margin-bottom: 10px; + } -.service .box_main p { - font-family: 'Oswald', sans-serif; + .order_btn { + font-family: var(--ff-poppins); + background-color: hsl(357, 82%, 35%); + color: white; + padding: 12px 30px; + font-size: 1rem; + text-decoration: none; + border-radius: 10px; + transition: background-color 0.3s ease; + } -} + .order_btn:hover { + background-color: hsl(357, 82%, 45%); + } + -.service .box { - padding: 140px 20px; - /* border:2px solid rgb(224, 224, 252); */ - text-align: center; - font-size: 1.3rem; -} -.service .box a { - text-decoration: none; - color: rgb(224, 224, 252); - border: 2px solid rgb(224, 224, 252); - padding: 5px; -} +.service_container:before { + background-color: transparent; + content: ""; + position: absolute; -.service .box a:hover { - background-color: brown; + + opacity: 0.4; + z-index: -1; + /* background-repeat: no-repeat; */ } + .menu_container { - background-color: rgb(224, 224, 252); - padding: 100px 0px 100px 0px; + background-color: hsl(20, 43%,93%); + padding: 100px 0px 100px 0px; } .menu_container .mainhead { - text-align: center; + text-align: center; } .mainhead h1 { - font-family: 'Bree Serif', serif; - font-size: 2.8rem; + font-family: "Bree Serif", serif; + font-size: 2.8rem; } .mainhead p { - font-size: 1.2rem; - color: brown; - font-family: 'Bree Serif', serif; - margin: 15px 10px; + font-size: 1.2rem; + color: brown; + font-family: "Bree Serif", serif; + margin: 15px 10px; } .mainhead button { - border: 2px solid brown; - font-size: 1.4rem; - padding: 7px; - border-radius: 10px; - font-family: 'Bree Serif', serif; - margin-bottom: 50px; - background-color: brown; - color: white; + border: 2px solid brown; + font-size: 1.4rem; + padding: 7px; + border-radius: 10px; + font-family: "Bree Serif", serif; + margin-bottom: 50px; + background-color: brown; + color: white; } .mainhead button:hover { - border: 2px solid brown; - color: brown; - background-color: #f2f2f2; - cursor: pointer; + border: 2px solid brown; + color: hsl(304, 14%, 46%); + background-color: #f2f2f2; + cursor: pointer; } .menu_items { - display: flex; - + display: flex; + overflow: hidden; } .menu_items .items { - background-color:#f2f2f2; - border: 3px solid brown; - padding: 0; - margin: 15px; - height: 400px; - width: 400px; - border-radius: 10px; - text-align: center; - font-family: 'Bree Serif', serif; - transition: 0.3s all ease-in; + background-color: #f2f2f2; + border: 3px solid brown; + padding: 25px; + margin: 15px; + height: 400px; + width: 400px; + border-radius: 10px; + text-align: center; + font-family: "Bree Serif", serif; + transition: 0.3s all ease-in; } -.menu_items .items:hover{ - box-shadow: #212123 1px 1px 8px; - cursor: pointer; - scale: 1.02; - +.menu_items .items:hover { + box-shadow: #212123 1px 1px 8px; + cursor: pointer; + scale: 1.02; } .menu_items .items img { - justify-content: center; - height: 270px; - width: 250px; + justify-content: center; + height: 270px; + width: 250px; } .menu_items .items h3 { - font-size: 1.4rem; - margin-top: 10px; + font-size: 1.4rem; + margin-top: 10px; } +.meals-showcase { + list-style: none; + width: 100%; + padding:0%; + margin: 0%; +} +.meals-showcase li { + display: block; + float: left; + width: 25%; +} -.app_download { - background-color: brown; - height: 320px; - color: white; - padding-left: 50px; - padding-top: 80px; +.meal-photo { + width: 100%; + margin: 0; + overflow: hidden; + background-color: #000; + transition: transform 0.5s, opacity 0.5s; } -.app_download h4 { - font-size: 2rem; +.meal-photo img { + width: 100%; + height: auto; + transform: scale(1.15); + opacity: 0.7; +} +.meal-photo img:hover { + transform: scale(1.03); + opacity: 1; } -.app_download h2 { - font-size: 3.5rem; +.clearfix { + zoom: 1; } -.app_download p { - font-size: 1.3rem; +.clearfix::after { + content: "."; + clear: both; + display: block; + height: 0; + visibility: hidden; } -.app_download button { - border: 2px solid white; - padding: 10px; - font-size: 1.5rem; - margin: 40px 30px; - border-radius: 10px; - color: rgb(143, 36, 36); - font-family: 'Bree Serif', serif; +.section-meals { + padding: 0; } -.app_download button:hover { - background-color: rgb(196, 89, 89); - color: white; - border: 2px solid white; - cursor: pointer; +.app_download { + background-color: brown; + height: 350px; + color: white; + padding-left: 50px; + padding-top: 80px; } -.btn a{ - text-decoration: none; - color: brown; + +.app_download h4 { + font-size: 2rem; } -.btn a:hover{ - color: white; + +.app_download h2 { + font-size: 3.5rem; } -.move { - background-color: rgb(224, 224, 252);; - height: 60px; +.app_download p { + font-size: 1.3rem; } -.move .text { - color: brown; - font-size: 1.6rem; - padding-top: 10px; - -} - -/* .footer { - background-color: rgb(224, 224, 252);; - height: 700px; -} */ - -/* .footer .container { - border: 2px solid rgb(22, 6, 6); - color: white; - padding: 50px; - margin-left: 50px; - margin-right: 700px; - font-size: 1.6rem; - padding-right: 50px; -} - -.footer input { - font-size: 1.3rem; -} - -.footer h1 { - color: white; - font-family: 'Bree Serif', serif; - margin-left: 20px; - padding: 50px; - font-size: 2.5rem; -} - -.footer button { - font-size: 1.4rem; - padding: 10px; - margin-top: 30px; - width: 180px; - font-family: 'Bree Serif', serif; - color: rgb(22, 6, 6); - border-radius: 10px; -} */ - -/* .footer p { - text-align: center; - font-family: 'Bree Serif', serif; - font-size: 1.2rem; - margin-bottom: 10px; - color:brown; - /* margin-top: 30px; */ - - -/* .footer h1{ - font-size: 1.2em; -} */ - -/* .footer{ - margin-top: 15px; -} */ -/* .foot-panel1{ - - background-color: rgb(122, 37, 37); - color:white; - height: 50px; - display:flex; - justify-content: center; - align-items: center; - font-size: 0.85rem; -} */ - -.foot-panel2{ - background-color: rgb(138, 37, 37); - color:white; - height: 300px; - /* height: fit-content; */ - display: flex; - /* padding: 10px; */ - justify-content: space-evenly; -} - -.foot-panel2 ul{ - margin-top: 20px; +.btn a { + text-decoration: none; + color: brown; +} + +.btn a:hover { + color: hsl(304, 14%, 46%); +} + +.app-download-img { + max-height: 70px; + + padding: 10px; } -ul p{ - font-weight: 700; +.move { + background-color: hsl(20, 43%, 93%); + height: 60px; } -ul a{ - display: block; - font-size: 0.85rem; - margin-top: 10px; - color: #dddddd; - text-decoration: none; +.move .text { + color: rgb(244, 240, 240); + font-size: 2.5rem; + padding-top: 10px; } -/* .foot-pannel3{ - background-color:rgb(66, 16, 16); - color: white; - border-top: 0.5px solid white; - height: 70px; - display: flex; - justify-content: center; -} */ +.foot-panel2 { + background-color: rgb(138, 37, 37); + color: white; + height: 300px; + /* height: fit-content; */ + display: flex; + /* padding: 10px; */ + justify-content: space-evenly; +} -.foot_panel4{ - background-color: rgb(66, 16, 16); - color: white; - height: 160px; - font-size: 0.9rem; - text-align: center; +.foot-panel2 ul { + margin-top: 20px; +} +ul p { + font-weight: 700; } -.item{ - padding-bottom: 0px; +ul a { + display: block; + font-size: 0.85rem; + margin-top: 10px; + color: #dddddd; + text-decoration: none; } -.pages{ - padding-top: 25px; +.foot_panel4 { + background-color: rgb(66, 16, 16); + color: white; + height: 160px; + font-size: 0.9rem; + text-align: center; } -.copyright{ - padding-top: 10px; +.pages { + padding-top: 25px; +} + +.copyright { + padding-top: 10px; } form { - padding-top: 20px; - display: grid; - /* gap: 10px; */ - padding-bottom: 100px; + padding-top: 20px; + display: grid; + /* gap: 10px; */ + padding-bottom: 100px; } label { - font-weight: bold; + font-weight: bold; } input, textarea { - height:30px; - width:max-content; - padding: 3px; - box-sizing: border-box; - border-radius: 4px; - outline: none; - border: #212123 1px; + height: 30px; + width: max-content; + padding: 3px; + box-sizing: border-box; + border-radius: 4px; + outline: none; + border: #212123 1px; } -#butt{ - background-color:rgb(66, 16, 16); - color: white; - padding: 3px; - border: 1px solid white ; - border-radius: 4px; - cursor: pointer; +#butt { + background-color: rgb(66, 16, 16); + color: white; + padding: 3px; + border: 1px solid white; + border-radius: 4px; + cursor: pointer; } #butt:hover { - background-color:rgb(196, 89, 89); + background-color: rgb(196, 89, 89); } -.social-icons a{ - font-size: 1.2rem; - padding: 15px; - text-decoration: none; - color: white; -} -.fb{ - color: #1877F2; - cursor: pointer; +.social-icons a { + font-size: 1.2rem; + padding: 8px; + margin: 15px; + text-decoration: none; + color: white; } -.instagram{ - color: #dd4c8d; - cursor: pointer; +.social-icons a:hover { + color: brown; + background-color: hsl(20, 43%, 93%); + border-radius: 50px; } -.twitter{ - color: #1DA1F2; - cursor: pointer; +.fa-facebook:hover { + color:#3B5998; } -#author{ - background-color:#871a7e ; - padding: 3px; - border-radius: 3px; +.fa-instagram:hover { + color:#D62976; } -@media screen and (max-width:500px) { - .menu_items .items { - max-width: fit-content; - max-height: fit-content; - } - /* .menu_items .items { - max-width: fit-content; - max-height: fit-content; - - - } */ - - #about .box { - padding: 30px; - margin: 2px 10px; - margin-bottom: 25px; - /* float: left; */ - } - - /* border-radius: 28px; */ - /* background: #f2f2f2; */ - /* margin-bottom: 20px; */ - /* float: left; */ - - .pages { - height: fit-content; - padding: 8px; - } - - .foot-panel2 { - padding: 20px; - } +.fa-twitter:hover { + color:#00B6F1; +} +#author { + padding: 3px; + border-radius: 3px; + color: #dddddd; } -/* responsiveness */ -@media screen and (max-width:1120px) { - #about { - /* margin: 34px; */ - flex-direction: column-reverse; - - } +@media screen and (max-width: 500px) { + .menu_items .items { + max-width: fit-content; + max-height: fit-content; + } - .service { - flex-direction: column; - padding: 5px; - /* box-sizing: fixed; */ - } - .service .box { - padding: 20px 20px; - /* border: 2px solid rgb(224, 224, 252); */ - text-align: center; - font-size: 1.3rem; - } - .service_container{ - height: fit-content; - /* height: 1000px; */ - } - .service .box_main h1 { - font-size: 3.5rem; - } + #about .box { + padding: 30px; + margin: 2px 10px; + margin-bottom: 25px; + /* float: left; */ + } + .pages { + height: fit-content; + padding: 8px; + } - .service_container:before { + .foot-panel2 { + padding: 20px; + } +} - /* - height: 560px; - */ - /* height: 800px; */ - /* height: fit-content; */ - background-size: cover; - width: 100%; - /* background-repeat: no-repeat; */ - /* justify-items: center; */ - opacity: 0.4; - z-index: -1; - /* background-repeat: no-repeat; */ +/* responsiveness */ +@media (max-width: 768px) { + .service { + flex-direction: column; + text-align: center; + } + + .service_text, .service_buttons { + flex: 1 1 100%; + } + + .button_row { + flex-direction: column; + gap: 20px; + } } - - .menu_items { - flex-direction: column; - align-items: center; - } -} -@media screen and (max-width:780px) { - .app_download{ - padding: 40px 20px; - height:fit-content; - } +@media screen and (max-width: 780px) { + .app_download { + padding: 40px 20px; + height: fit-content; + } - -.foot-panel2{ - + .foot-panel2 { height: fit-content; display: grid; grid-template-columns: repeat(2, minmax(20px, 1fr)); @@ -637,143 +585,250 @@ textarea { /* flex-direction: column; */ grid-template-columns: 2; padding: 30px; - -} + } -.foot-panel2 ul{ + .foot-panel2 ul { margin-top: 20px; -} + } -input, textarea { + input, + textarea { height: 30px; width: 90%; padding: 3px; margin: 4px; box-sizing: border-box; border-radius: 2px; -} -#butt{ + } + + #butt { padding: 3px; margin: 4px; width: 90%; + } } - -} -.btn{ - cursor: pointer; + +.btn { + cursor: pointer; + padding-top: 0%; } -.contact_page{ - background-color:rgb(213, 213, 238); + +.contact_page { + background-color: rgb(213, 213, 238); /*background:linear-gradient(135deg,rgba(155, 155, 241,0.3),rgba(155, 155, 241,0.4),rgba(0,0,255,0.4),rgba(0,0,255,0.4)); -*/} -.main_content{ - display:flex; - justify-content:flex-end; - align-items:center; -} -.contact_info{ - align-items:start; - gap:20px; - flex-direction:columns; - margin:auto; - /*padding-left:2px;*/ - max-width:40%; -} -.contact_form > *{ - width:80%; - height:50px; - margin-top:20px ; - border:none; - border-radius:30px; - padding:20px; - background-color:rgb(224, 224, 239); - color:blueviolet; - transition:transform 250ms ease; -} -.contact_form>*:hover{ - border: blueviolet solid 2px; - transform:scale(1.08); -} -.contact_form>*::placeholder{ - color:blueviolet; - font-size:1vw; -} - -.get_in_touch{ - font-family:"Mooli",serif; - font-weight:bold; - font-size:2em; - color:blueviolet; - display:inline-block; - position:relative; -} -.contact_message{ - font-family:"Mooli",serif; - font-size:1em; - color:blueviolet; - margin-top:15px; -} -.contact_header{ - background:linear-gradient(90deg,rgb(128,0,0),rgb(64,0,0),rgb(32,0,0)); -} -.get_in_touch::after{ - content:''; - position:absolute; - left:0; - bottom:0; - height:2.5px; - background-color:blueviolet; - width:calc(100% + 1em); - transform:scaleX(0.1); - transform-origin:left; - border-radius:90px; - transition:transform 250ms ease; -} -.get_in_touch:hover::after{ - transform:scaleX(1); -} -.contact_submit{ - width:30%; - color:white; - background:linear-gradient(135deg,blue,rgb(155, 155, 241),rgb(155, 155, 241)); -} -.contact_submit:hover{ - background:linear-gradient(135deg,rgb(155, 155, 241),blue); -} -.contact_us{ - width:50%; - height:100vh; - background-image:url("../Images/contact_page_background_image.png" ); - background-size:cover; - background-repeat:no-repeat; - background-color:rgba(0,0,0,0.65); +*/ +} + +.main_content { + display: flex; + justify-content: flex-end; + align-items: center; +} + +.contact_info { + align-items: start; + gap: 20px; + flex-direction: columns; + margin: auto; +padding-left:2px; + max-width: 40%; +} + +.contact_form>* { + width: 80%; + height: 50px; + margin-top: 20px; + border: none; + border-radius: 30px; + padding: 20px; + background-color: rgb(224, 224, 239); + color: blueviolet; + transition: transform 250ms ease; +} + +.contact_form>*:hover { + border: rgb(242, 229, 229) solid 2px; + transform: scale(1.08); +} + +.contact_form>*::placeholder { + color: rgb(242, 229, 229); + font-size: 1vw; +} + +.get_in_touch { + font-family: "Mooli", serif; + font-weight: bold; + font-size: 2em; + color: rgb(242, 229, 229); + display: inline-block; + position: relative; +} + +.contact_message { + font-family: "Mooli", serif; + font-size: 1em; + color: rgb(242, 229, 229); + margin-top: 15px; +} + +.contact_header { + background: linear-gradient(90deg, + rgb(128, 0, 0), + rgb(64, 0, 0), + rgb(32, 0, 0)); +} + +.get_in_touch::after { + content: ""; + position: absolute; + left: 0; + bottom: 0; + height: 2.5px; + background-color: blueviolet; + width: calc(100% + 1em); + transform: scaleX(0.1); + transform-origin: left; + border-radius: 90px; + transition: transform 250ms ease; +} + +.get_in_touch:hover::after { + transform: scaleX(1); +} + +.contact_submit { + width: 30%; + color: white; + background: linear-gradient(135deg, + blue, + rgb(155, 155, 241), + rgb(155, 155, 241)); +} + +.contact_submit:hover { + background: linear-gradient(135deg, rgb(155, 155, 241), blue); +} + +.contact_us { + width: 50%; + height: 100vh; + background-image: url("contact_page_background_image.png"); + background-size: cover; + background-repeat: no-repeat; + background-color: rgba(0, 0, 0, 0.65); background-blend-mode: multiply; - display:flex; - align-items:center; - justify-content:space-evenly; - flex-wrap:wrap; - color:rgb(242, 225, 225); - font-family:"Dancing Script", cursive; - font-weight:bolder; - font-size:5vw; -} -.contact_us > h1{ - max-width:60%; - text-align:center; -} -@media(max-width:800px) -{ - .contact_info{ - width:80vw; + display: flex; + align-items: center; + justify-content: space-evenly; + flex-wrap: wrap; + color: rgb(242, 225, 225); + font-family: "Dancing Script", cursive; + font-weight: bolder; + font-size: 5vw; +} + +.contact_us>h1 { + max-width: 60%; + text-align: center; +} + +@media (max-width: 800px) { + .contact_info { + width: 80vw; + } + + .contact_us { + display: none; + } +} + +@media screen and (max-width: 440px) { + .intro_container { + height: fit-content; + padding: 100px; + } +} + +.navbar li:hover a { + color: brown; +} + +.btn:hover { + background-color: white; + color: brown; +} + +.menu_items .items:hover { + box-shadow: 0 0 20px rgba(138, 37, 37, 0.5); +} + +.social-icons i:hover { + color: brown; +} + + +#marque { + width: 100%; + overflow: hidden; + position: relative; + white-space: nowrap; + background-color: rgb(255, 255, 255); +} + +#marque h1 { + display: inline-block; + font-size: 3vw; + text-transform: uppercase; + padding-right: 100px; + animation: marquee 10s linear infinite; + background: #de6262; + background: -webkit-linear-gradient(to right, #de6262, #ffb88c); + background: linear-gradient(to right, #de6262, #ffb88c); + -webkit-background-clip: text; + background-clip: text; + -webkit-text-fill-color: transparent; +} + +@keyframes marquee { + 0% { + transform: translateX(0); } - .contact_us{ - display:none; + + 100% { + transform: translateX(-100%); } } -@media screen and (max-width:440px) { - .intro_container{ - height: fit-content; - padding: 100px; + +#marque-container { + display: inline-block; + padding-left: 100%; +} + +#marque-container:after { + content: "Get 30% OFF on your first order! Get 30% OFF on your first order! Get 30% OFF on your first order! Get 30% OFF on your first order! Get 30% OFF on your first order! Get 30% OFF on your first order! Get 30% OFF on your first order! Get 30% OFF on your first order!"; + padding-left: 100px; +} + +@media (max-width: 768px) { + #marque { + padding: 1vw; + border-top: 1px solid black; + border-bottom: 1px solid black; + } + + #marque h1 { + letter-spacing: 2px; + font-size: 3vw; + -webkit-text-stroke: 0.3px black; + padding-right: 2px; + } + + #marque-container:after { + content: "Get 30% OFF on your first order! Get 30% OFF on your first order! Get 30% OFF on your first order! Get 30% OFF on your first order!"; + padding-left:2px; + } } + From 3386643bde370cc1a08daddd573569548e4755b9 Mon Sep 17 00:00:00 2001 From: Shivam Verma <123314145+shivamv003@users.noreply.github.com> Date: Fri, 4 Oct 2024 18:19:07 +0530 Subject: [PATCH 3/5] Update style.css --- Css-files/style.css | 64 ++++++++++++++++++++++++++++++++++----------- 1 file changed, 49 insertions(+), 15 deletions(-) diff --git a/Css-files/style.css b/Css-files/style.css index b60ea314..74d5e693 100644 --- a/Css-files/style.css +++ b/Css-files/style.css @@ -292,39 +292,74 @@ s .menu_items { display: flex; + justify-content: center; /* Centers the cards horizontally */ + align-items: center; /* Centers the items vertically if needed */ + flex-wrap: wrap; /* Allows wrapping if there are too many items */ + width: 100%; /* Ensure the container takes full width */ + margin: 0 auto; /* Horizontally center the container itself */ overflow: hidden; } .menu_items .items { background-color: #f2f2f2; - border: 3px solid brown; - padding: 25px; + border: 3px solid black; + padding: 5px; margin: 15px; height: 400px; - width: 400px; + width: 300px; border-radius: 10px; text-align: center; font-family: "Bree Serif", serif; transition: 0.3s all ease-in; } -.menu_items .items:hover { - box-shadow: #212123 1px 1px 8px; - cursor: pointer; - scale: 1.02; -} - .menu_items .items img { - justify-content: center; - height: 270px; - width: 250px; + width: 100%; + height: 250px; /* Set a fixed height for all images */ + border-radius: 10px; + object-fit: cover; /* Ensures the image covers the area without distortion */ } +/* Style for the dish name */ .menu_items .items h3 { - font-size: 1.4rem; - margin-top: 10px; + font-family: var(--ff-philosopher); + color: hsl(0, 0%, 0%); + font-size: 1.6rem; + font-weight: bold; + margin-top: 15px; + padding: 5px; + text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2); /* Subtle shadow for depth */ + letter-spacing: 1px; /* Slight letter spacing for uniqueness */ + transition: transform 0.3s ease; +} + +/* Hover effect to scale the title */ +.menu_items .items h3:hover { + transform: scale(1.05); /* Slightly increase the size on hover */ + color: hsl(357, 82%, 45%); /* Change color on hover */ +} + +/* Style for the description */ +.menu_items .items p { + font-family: var(--ff-poppins); + color: hsl(208, 7%, 36%); /* Darker shade for better contrast */ + font-size: 1rem; + line-height: 1.5; + padding: 10px; + background-color: hsl(203, 30%, 96%); /* Light background behind text */ + border-radius: 5px; + box-shadow: inset 0px 2px 6px rgba(0, 0, 0, 0.1); /* Subtle inner shadow */ + transition: background-color 0.3s ease; } +/* Hover effect for the description */ +.menu_items .items p:hover { + background-color: hsl(203, 30%, 90%); + color: hsl(357, 82%, 45%); /* Color change on hover */ +} + + + .meals-showcase { list-style: none; width: 100%; @@ -357,7 +392,6 @@ s transform: scale(1.03); opacity: 1; } - .clearfix { zoom: 1; } From 1e8a17bcfc3f6ee81ac508bfbdcaf45ccbd3ba9a Mon Sep 17 00:00:00 2001 From: shivamv_03 Date: Fri, 4 Oct 2024 20:29:35 +0530 Subject: [PATCH 4/5] changes in index --- index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.html b/index.html index 1f13477c..58c54a92 100644 --- a/index.html +++ b/index.html @@ -466,7 +466,7 @@

"Get r - +