Skip to content

Commit

Permalink
Merge pull request #538 from Abhinavsuryakolla/zoro
Browse files Browse the repository at this point in the history
changed some styling
  • Loading branch information
Ayushparikh-code authored Oct 27, 2024
2 parents ec021c9 + d783a9d commit 94f3e0f
Show file tree
Hide file tree
Showing 6 changed files with 31 additions and 22 deletions.
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.
5 changes: 3 additions & 2 deletions Food-Website/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@
<i class="fa fa-bars" onclick="showMenu()" ></i>
</div>
<div class="banner-title">
<h1>Food<span> doesn't have<br> a religion.</span> It is a religion.</h1>
<h1>Yum Yum</h1>
<h2>"Where <br>Every Meal <br>Tells <br>a Story"</h2>
<button type="button" class="btn">EXPLORE</button>
</div>
<div class="vertical-bar">
Expand Down Expand Up @@ -70,4 +71,4 @@ <h1>Food<span> doesn't have<br> a religion.</span> It is a religion.</h1>
</script>
</body>

</html>
</html>
7 changes: 3 additions & 4 deletions Food-Website/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,10 @@
It is a simple and resonsive Food Website Website, you can navigate through them.

## Desktop View
![Default View](images/main.png)
![Default View](images/Screenshot 2024-09-20 231352.png)

## Mobile view
![Mobile View](images/mobiles1.png)
![Mobile View](images/mobiles2.png)
![Mobile View](images/Screenshot 2024-09-20 231322.png)


## 💻Tech Stack
Expand Down Expand Up @@ -34,4 +33,4 @@ git clone https://github.com/Ayushparikh-code/Web-dev-mini-projects.git

<br>

## Happy Coding!
## Happy Coding!
41 changes: 25 additions & 16 deletions Food-Website/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -5,28 +5,31 @@
}
.hero{
height:100vh;
background-image:linear-gradient(rgb(0,0,0,0.8),rgb(0,0,0,0.8)),
url("bg1.jpg");
background-image:linear-gradient(rgb(0,0,0,0.5),rgb(0,0,0,0.5)),
url("vegetables-set-left-black-slate_1220-685.avif");
width:100vw;
background-position:center;
background-size:cover;
overflow-x:hidden;
position:relative;
}
.nav-bar{
display:flex;
padding:40px 120px;
padding:20px;
justify-content:center;
align-items:center;
background-color: black;
}
.nav-logo img{
border-radius:30px;
margin-left:60px;

}
.nav-links{
flex:1;
}
.nav-links ul{
margin-left:50px;
margin-left:40px;
display:inline;
}
.nav-links ul li{
Expand All @@ -37,13 +40,13 @@
.nav-links ul a{
color:white;
text-decoration:none;
font-size:13px;
font-size:20px;
}
.nav-links ul li::after{
content:"";
width:0;
height:2px;
background:yellow;
background:orange;
display:block;
margin:auto;
transition:.5s;
Expand All @@ -54,7 +57,7 @@
.btn{
padding: 10px 20px;
border:0;
background:yellow;
background:orange;
font-weight:bold;
cursor:pointer;

Expand All @@ -63,16 +66,22 @@
float:right;
}
.banner-title{
margin:120px;
margin-top:100px;
display:flex;
flex-direction:column;
align-items:center;
color:#fff;
}
.banner-title h1{
font-size:64px;
margin-bottom:30px;
font-size:80px;
margin-bottom:10px;
}
.banner-title h2{
font-size:60px;
}
.banner-title button{
margin-top: 20px;
}
.banner-title h1 span{
color:yellow;
}
.vertical-bar{
height:100%;
background:#000;
Expand All @@ -95,7 +104,7 @@ color:#fff;
.social-icon {
height:35%;
width:70px;
background:yellow;
background:orange;

text-align:center;
padding-top:27%;
Expand All @@ -114,7 +123,7 @@ color:#fff;
right:0;
bottom:0;
position:absolute;
background:yellow;
background:orange;
align-items:center;
}
.contents{
Expand Down Expand Up @@ -194,4 +203,4 @@ display:block;
padding:0;
}

}
}
Binary file not shown.

0 comments on commit 94f3e0f

Please sign in to comment.