Skip to content

Commit 510df6e

Browse files
Update style.css
changed some styling for the food website
1 parent a9c9762 commit 510df6e

File tree

1 file changed

+23
-15
lines changed

1 file changed

+23
-15
lines changed

Food-Website/style.css

Lines changed: 23 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -5,28 +5,31 @@
55
}
66
.hero{
77
height:100vh;
8-
background-image:linear-gradient(rgb(0,0,0,0.8),rgb(0,0,0,0.8)),
8+
background-image:linear-gradient(rgb(0,0,0,0.5),rgb(0,0,0,0.5)),
99
url("bg1.jpg");
10+
width:100vw;
1011
background-position:center;
1112
background-size:cover;
1213
overflow-x:hidden;
1314
position:relative;
1415
}
1516
.nav-bar{
1617
display:flex;
17-
padding:40px 120px;
18+
padding:20px;
1819
justify-content:center;
1920
align-items:center;
21+
background-color: black;
2022
}
2123
.nav-logo img{
2224
border-radius:30px;
25+
margin-left:60px;
2326

2427
}
2528
.nav-links{
2629
flex:1;
2730
}
2831
.nav-links ul{
29-
margin-left:50px;
32+
margin-left:40px;
3033
display:inline;
3134
}
3235
.nav-links ul li{
@@ -37,13 +40,13 @@
3740
.nav-links ul a{
3841
color:white;
3942
text-decoration:none;
40-
font-size:13px;
43+
font-size:20px;
4144
}
4245
.nav-links ul li::after{
4346
content:"";
4447
width:0;
4548
height:2px;
46-
background:yellow;
49+
background:orange;
4750
display:block;
4851
margin:auto;
4952
transition:.5s;
@@ -54,7 +57,7 @@
5457
.btn{
5558
padding: 10px 20px;
5659
border:0;
57-
background:yellow;
60+
background:orange;
5861
font-weight:bold;
5962
cursor:pointer;
6063

@@ -63,16 +66,21 @@
6366
float:right;
6467
}
6568
.banner-title{
66-
margin:120px;
69+
margin-top:100px;
70+
margin-left:500px;
6771
color:#fff;
6872
}
6973
.banner-title h1{
70-
font-size:64px;
71-
margin-bottom:30px;
74+
font-size:80px;
75+
margin-bottom:10px;
76+
}
77+
.banner-title h2{
78+
font-size:60px;
79+
}
80+
.banner-title button{
81+
margin-left: 65px;
82+
margin-top: 20px;
7283
}
73-
.banner-title h1 span{
74-
color:yellow;
75-
}
7684
.vertical-bar{
7785
height:100%;
7886
background:#000;
@@ -95,7 +103,7 @@ color:#fff;
95103
.social-icon {
96104
height:35%;
97105
width:70px;
98-
background:yellow;
106+
background:orange;
99107

100108
text-align:center;
101109
padding-top:27%;
@@ -114,7 +122,7 @@ color:#fff;
114122
right:0;
115123
bottom:0;
116124
position:absolute;
117-
background:yellow;
125+
background:orange;
118126
align-items:center;
119127
}
120128
.contents{
@@ -194,4 +202,4 @@ display:block;
194202
padding:0;
195203
}
196204

197-
}
205+
}

0 commit comments

Comments
 (0)