Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] About-us section #450

Merged
merged 8 commits into from
May 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
61 changes: 32 additions & 29 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -85,46 +85,49 @@ <h1>Welcome to foodie!</h1>

</section>

<section class="about_us">
<div class="about_us">
<div class="move">
<div id="marque">
<h1 class="poppins-light">Get <span> 30% OFF </span> on your first order!</h1>
<h1 class="poppins-light">Get <span> 30% OFF </span> on your first order!</h1>
<h1 class="poppins-light">Get <span> 30% OFF </span> on your first order!</h1>
</div>
</div>

<h1 class="h-primary center">"Savor the Flavors: Discover What Sets Our Restaurant's Cuisine Apart!"</h1>


<!-- changes -->
<div id="about">
<div class="box">
<img src="https://shahidining.com.au/wp-content/uploads/2020/05/secret-to-indian-flavour-1536x864.jpg"
alt="">
<h2 class="h-secondary center">Authentic Indian Flavors</h2>
<p class="center">From aromatic curries to flavorful biryanis, our menu showcases the diversity and
deliciousness of Indian cuisine.
</p>
<div>
<h1 id="heading" class="h-primary center">"Savor the Flavors: Discover What Sets Our Restaurant's Cuisine Apart!"</h1>
</div>
<div id="container">
<div class="little-container">
<div class="img-container">
<img src="https://shahidining.com.au/wp-content/uploads/2020/05/secret-to-indian-flavour-1536x864.jpg" alt="">
</div>
<div>
<h2 class="h-secondary">Authentic Indian Flavors</h2>
<p >From aromatic curries to flavorful biryanis, our menu showcases the diversity and deliciousness of Indian cuisine.</p>
</div>
</div>
<div class="box">
<img src="https://saavi.com.au/wp-content/uploads/2016/02/image0023-1.jpg" alt="">
<h2 class="h-secondary center">Tech-Infused Dining Experience</h2>
<p class="center">
Customers can use apps to place orders, customize their dishes, and even provide feedback, making
their visit more convenient and interactive.
</p>
<div class="little-container">
<div class="img-container">
<img src="https://saavi.com.au/wp-content/uploads/2016/02/image0023-1.jpg" alt="">
</div>
<div>
<h2 class="h-secondary">Tech-Infused Dining Experience</h2>
<p >Customers can use apps to place orders, customize their dishes, and even provide feedback, making their visit more convenient and interactive.</p>
</div>
</div>
<div class="box">
<img src="https://i.ndtvimg.com/i/2015-06/fusion-food_625x350_81434107799.jpg" alt="">
<h2 class="h-secondary center">Innovative Fusion Dishes</h2>
<p class="center">The combinations of Indian and international cuisines not only tantalize taste buds
but also provide unique experience.

</p>
<div class="little-container">
<div class="img-container">
<img src="https://i.ndtvimg.com/i/2015-06/fusion-food_625x350_81434107799.jpg" alt="">
</div>
<div>
<h2 class="h-secondary">Innovative Fusion Dishes</h2>
<p>The combinations of Indian and international cuisines not only tantalize taste buds but also provide unique experience.</p>
</div>
</div>
</div>
</section>
</div>



<section class="service_container">
<div class="service">
Expand Down
128 changes: 115 additions & 13 deletions style.css
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,10 @@ body {
background-color: rgb(224, 224, 252);
padding: 100px 0px 100px 0px;
}

#heading{
margin-top: 5%;
}

#about {
/* margin: 34px; */
Expand All @@ -140,6 +144,63 @@ body {
align-items: center;
}

#heading{
margin-top: 5%;
}

.little-container:hover{
box-shadow: #212123 1px 1px 8px;
scale: 1.015;
cursor: pointer;
}


#container{
display: flex;
justify-content: space-around;
}

.little-container img{
width : 100%;
height: auto;
border-radius: 5%;
}

.little-container{
width: 27%;
border: 2px solid brown;
padding: 2%;
margin: 5% 2%;
background: #f2f2f2;
border-radius: 5%;
margin-bottom: 4%;
transition: 0.3s all ease-in-out;
box-sizing: border-box;
}

.little-container p{
font-size: 150%;
text-align: center;
padding: 1%;
}

.little-container h2{
font-size: 150%;
padding: 3% 1%;
}

@media (max-width : 767px){
#container{
flex-direction: column;
}
.little-container{
width: 80%;
box-sizing: border-box;
align-self: center;
margin: 1% 0%;
}
}

#about .box {
border: 2px solid brown;
padding: 34px;
Expand All @@ -150,37 +211,70 @@ body {
/* float: left; */
transition: 0.3s all ease-in-out;
}

.little-container: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;
}

#about .box p {
font-family: "Bree Serif", serif;
text-align: center;
}

#container{
display: flex;
justify-content: space-around;
}

.little-container img{
width : 100%;
height: auto;
border-radius: 5%;
}

.little-container{
width: 27%;
border: 2px solid brown;
padding: 2%;
margin: 5% 2%;
background: #f2f2f2;
border-radius: 5%;
margin-bottom: 4%;
transition: 0.3s all ease-in-out;
box-sizing: border-box;
}

.h-primary {
font-family: "Bree Serif", serif;
font-size: 2.5rem;
padding: 40px 80px 80px 80px;
padding: 0.5% 1% 1% 1%;
text-align: center;
color: brown;
}

.little-container p{
font-size: 150%;
text-align: center;
padding: 1%;
}

.little-container h2{
font-size: 150%;
padding: 3% 1%;
}

.h-secondary {
font-family: "Bree Serif", serif;
font-size: 1.5rem;
padding: 12px;
padding: 0.5%;
text-align: center;
}

Expand Down Expand Up @@ -678,12 +772,20 @@ ul{
}

/* responsiveness */

@media (max-width : 767px){
#container{
flex-direction: column;
}
.little-container{
width: 80%;
box-sizing: border-box;
align-self: center;
margin: 1% 0%;
}
}

@media screen and (max-width: 1120px) {
#about {
/* margin: 34px; */
flex-direction: column-reverse;
}

.service {
flex-direction: column;
Expand Down
Loading