-
Notifications
You must be signed in to change notification settings - Fork 115
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #68 from SudhirHanumantu/main
solved an issue
- Loading branch information
Showing
18 changed files
with
347 additions
and
0 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
/*home section*/ | ||
#home{ | ||
height: 280px; | ||
padding: 5px 54px; | ||
} | ||
#home::before{ | ||
height: 552px; | ||
} | ||
#home p{ | ||
font-size: 15px; | ||
} | ||
.h-primary{ | ||
font-size: 22px; | ||
padding: 40px; | ||
} | ||
#btn{ | ||
font-size: 14px; | ||
padding: 4px 14px; | ||
} | ||
/*nav section*/ | ||
#navbar{ | ||
flex-direction: column; | ||
} | ||
|
||
#navbar ul li a{ | ||
font-size: 1rem; | ||
padding: 0px 7px; | ||
} | ||
/*service section*/ | ||
#services{ | ||
flex-direction: column; | ||
} | ||
|
||
/* client section*/ | ||
#clients{ | ||
flex-wrap: wrap; | ||
} | ||
#clients img{ | ||
width: 115px; | ||
padding: 6px; | ||
|
||
|
||
} | ||
.h{ | ||
font-size: 33px; | ||
padding: 32px; | ||
} | ||
|
||
/*contact section*/ | ||
.h-contact{ | ||
font-size: 33px; | ||
padding: 32px; | ||
} | ||
.contact-box label{ | ||
font-size: 18px; | ||
padding: 4px; | ||
} | ||
/*footer*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,198 @@ | ||
/*css reset*/ | ||
*{ | ||
padding: 0; | ||
margin: 0; | ||
} | ||
/* navbar styling*/ | ||
|
||
#navbar{ | ||
display: flex; | ||
align-items: center; | ||
top: 0px; | ||
position: sticky; | ||
} | ||
/*navbar styling ::Logo*/ | ||
#logo img{ | ||
clip-path: circle(); | ||
width: 124px; | ||
height: 85px; | ||
margin:-20px -37px; | ||
|
||
|
||
} | ||
#logo{ | ||
margin: 34px 56px; | ||
} | ||
/*navbar list styling*/ | ||
#navbar ul{ | ||
display: flex; | ||
list-style: none; | ||
font-size: 1.35rem; | ||
position: sticky; | ||
} | ||
#navbar::before{ | ||
content: ""; | ||
position: absolute; | ||
background-color: black; | ||
height: 100%; | ||
width: 100%; | ||
z-index: -1; | ||
opacity: 0.4; | ||
} | ||
#navbar ul a{ | ||
color: white; | ||
padding: 19px 22px; | ||
text-decoration: none; | ||
display: block; | ||
border-radius: 20px; | ||
|
||
} | ||
#navbar ul a:hover{ | ||
color:black; | ||
background-color: white; | ||
|
||
} | ||
/*home section*/ | ||
#home{ | ||
display: flex; | ||
flex-direction: column; | ||
align-items: center; | ||
justify-content: center; | ||
padding: 5px 200px; | ||
|
||
} | ||
#home::before{ | ||
content: ""; | ||
position: absolute; | ||
background:url(../home1.jpg) no-repeat center center/cover; | ||
height: 500px; | ||
width: 100%; | ||
z-index: -1; | ||
} | ||
/*service section*/ | ||
#services{ | ||
display: flex; | ||
padding: 2px; | ||
margin: 34px; | ||
} | ||
#services .box{ | ||
border: 2px solid rgb(99, 12, 12); | ||
margin: 5px; | ||
padding: 2px; | ||
border-radius: 22px; | ||
background-color: rgb(240, 237, 234); | ||
|
||
|
||
|
||
} | ||
#services .box img{ | ||
height: 100px; | ||
margin: auto; | ||
display: block; | ||
|
||
} | ||
html{ | ||
scroll-behavior: smooth; | ||
} | ||
/*heading style*/ | ||
.h-primary{ | ||
font-size: 3.5rem; | ||
font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif; | ||
color: white; | ||
padding: 17px; | ||
} | ||
.h-secondary{ | ||
font-size: 2.5rem; | ||
|
||
padding: 17px; | ||
} | ||
#home p{ | ||
font-size: 1.5rem; | ||
padding: 5px 20px; | ||
font-family: 'PT Sans', sans-serif; | ||
color: white; | ||
} | ||
/*button style*/ | ||
#btn{ | ||
border: 2px solid white; | ||
margin: 15px; | ||
padding: 6px 25px; | ||
border-radius: 9px; | ||
background-color: rgb(161, 159, 157); | ||
font-size: 1.5rem; | ||
cursor: pointer; | ||
font-weight: 2.2rem; | ||
|
||
} | ||
.centre{ | ||
text-align: center; | ||
} | ||
.h{ | ||
font-size: 3.5rem; | ||
font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif; | ||
color: black; | ||
padding: 17px; | ||
} | ||
#client-services{ | ||
height: auto; | ||
} | ||
#clients{ | ||
display: flex; | ||
justify-content: center; | ||
text-align: center; | ||
} | ||
#client-services::before{ | ||
content: ""; | ||
position: absolute; | ||
background: url(../white.jpg)no-repeat center center/cover; | ||
width: 100%; | ||
height: 356px; | ||
z-index: -1; | ||
|
||
|
||
} | ||
.client-item img{ | ||
height: 115px; | ||
padding: 34px; | ||
|
||
} | ||
/* contact section*/ | ||
.h-contact{ | ||
font-size: 3.5rem; | ||
font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif; | ||
padding: 17px; | ||
} | ||
#contact{ | ||
position: relative; | ||
} | ||
#contact::before{ | ||
content: ""; | ||
position: absolute; | ||
background: url(../contact.jpg)no-repeat center center/cover; | ||
width: 100%; | ||
height: 100%; | ||
z-index: -1; | ||
opacity: 0.6; | ||
} | ||
footer{ | ||
background-color: black; | ||
color: white; | ||
padding: 9px 20px; | ||
} | ||
.contact-box { | ||
display: flex; | ||
justify-content: center; | ||
text-align: center; | ||
padding-bottom: 20px; | ||
} | ||
.contact-box input{ | ||
width: 100%; | ||
padding: 0.5rem; | ||
} | ||
.contact-box label{ | ||
font-size: 1.5rem; | ||
padding: 4px; | ||
} | ||
.contact-box form{ | ||
width: 29%; | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,91 @@ | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<title>my food</title> | ||
<link rel="stylesheet" href="css/style.css"> | ||
<link rel="stylesheet" href="css/phone.css" media="screen and (max-width: 1170px)"> | ||
<link rel="preconnect" href="https://fonts.gstatic.com"> | ||
<link href="https://fonts.googleapis.com/css2?family=PT+Sans&display=swap" rel="stylesheet"> | ||
</head> | ||
<body> | ||
<nav id="navbar"> | ||
<div id="logo"> | ||
<img src="logo.png" alt="my_food.com"> | ||
</div> | ||
<ul> | ||
<li class="items"><a href="#home">Home</a></li> | ||
<li class="items"><a href="#service-container">Service</a></li> | ||
<li class="items"><a href="#contact">Contact us</a></li> | ||
<li class="items"><a href="#client-services">Our Cliients</a></li> | ||
</ul> | ||
|
||
</nav> | ||
<section id="home"> | ||
<h1 class="h-primary">WELCOME TO MY FOOD</h1> | ||
<p>Lorem ipsum dolor sit amet consectetur adipisicing elit. Consectetur sed eum suscipit cumque ab voluptatibus!</p> | ||
<p>Lorem ipsum dolor sit amet consectetur adipisicing elit. A, voluptate?</p> | ||
<button id="btn">order now</button> | ||
</section> | ||
<section id="service-container"> | ||
<h1 class="h-primary centre">Our Services</h1> | ||
<div id="services"> | ||
<div class="box"><img src="./p1.png" alt=" image"> | ||
<h2 class="h-secondary centre">Food Lists</h2> | ||
<p class="centre">Lorem ipsum dolor sit amet consectetur, adipisicing elit. Facere itaque inventore quis ex. Reiciendis facilis reprehenderit vel, voluptatibus nesciunt fugiat ea suscipit iusto deserunt odio iure illo accusantium tempore omnis, quod et! Distinctio, labore.</p> | ||
</div> | ||
<div class="box"><img src="./q.png" alt=" image"> | ||
<h2 class="h-secondary centre">Food Ordering</h2> | ||
<p class="centre">Lorem ipsum dolor sit amet consectetur, adipisicing elit. Facere itaque inventore quis ex. Reiciendis facilis reprehenderit vel, voluptatibus nesciunt fugiat ea suscipit iusto deserunt odio iure illo accusantium tempore omnis, quod et! Distinctio, labore.</p> | ||
</div> | ||
<div class="box"><img src="./r.jpg" alt=" image"> | ||
<h2 class="h-secondary centre">Food delivery</h2> | ||
<p class="centre">Lorem ipsum dolor sit amet consectetur, adipisicing elit. Facere itaque inventore quis ex. Reiciendis facilis reprehenderit vel, voluptatibus nesciunt fugiat ea suscipit iusto deserunt odio iure illo accusantium tempore omnis, quod et! Distinctio, labore.</p> | ||
</div> | ||
</div> | ||
|
||
</section> | ||
<section id="client-services"> | ||
<h1 class="h centre">Our Clients</h1> | ||
<div id="clients"> | ||
<div class="client-item"> | ||
<img src="./apple1.png" alt="our_client"> | ||
</div> | ||
<div class="client-item"> | ||
<img src="./micro.jpg" alt="our_client"> | ||
</div> | ||
<div class="client-item"> | ||
<img src="./skype.png" alt="our_client"> | ||
</div> | ||
</div> | ||
</section> | ||
<section id="contact"> | ||
<h1 class="h-contact centre">Contact Us</h1> | ||
<div class="contact-box"> | ||
<form action=""> | ||
<div class="form-group"> | ||
<label for="name" >Name</label> | ||
<input type="text" name="name" id="name" placeholder="enter your name"> | ||
|
||
</div> | ||
<div class="form-group"> | ||
<label for="phone" >number </label> | ||
<input type="phone" name="number" id="name" placeholder="enter your number"> | ||
|
||
</div> | ||
<div class="form-group"> | ||
<label for="Email"> Email</label> | ||
<input type="email" name="name" id="name" placeholder="enter your email"> | ||
|
||
</div> | ||
</form> | ||
</div> | ||
</section> | ||
<footer> | ||
<div class="centre"> | ||
copyright © www.myfood.com. All rights reserved | ||
</div> | ||
</footer> | ||
</body> | ||
</html> |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.