Skip to content
Open
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
114 changes: 114 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -1 +1,115 @@
<!--Paste your html code here-->
<!DOCTYPE html>
<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>Document</title>
<link rel="stylesheet" href="styles.css">
</head>





<!-- Link your CSS stylesheet -->

</head>
<body>
<div class="container">
<header>
<!-- company name -->
<h1> Fatuma Restaurant </h1>

<!-- Navigation -->
<nav>
<a href="#">About <a/>
<a href="#">Menu <a/>
<a href="#">Catering <a/>
<a href="#">Contact <a/>




</nav>
</header>

<!-- Hero Area -->
<div class="hero">
<div class="subhero">
<h2 class="same">TASTE THE <br>
DIFFERENCE <br> <span> Local. Fresh & Delicious</span> </h2>


<img src="./assets/images/hero_image.jpg" alt="">
</div>





</div>

<!-- header -->
<div class="about">
<h4>About Fatuma Restaurant </h4>

<p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum. </p>
</div>
</div>

<!-- content -->
<div class="content">
<div class="content-images">
<img src="./assets/images/pasta_banana.jpg" alt="">
<p> it was popularised in the 1960s with the release</p>

</div>
<div class="content-images">
<img src="./assets/images/rice_banana.jpg" alt="">
<p> scrambled it to make a type specimen book </p>

</div>
<div class="content-images">
<img src="./assets/images/catering.jpg" alt="">
<p> duis consectetur sit amet metus quis congue </p>

</div>
</div>
<form action="">
<h2>contact</h2>
<input type="text" placeholder="name"class="similar" >
<input type="email " placeholder="email" class="similar">
<textarea name="" id="" cols="5" rows="5" placeholder="message" class="similar"></textarea>
<button class="similar"> submit</button>
</form>




<!-- footer -->
<footer>
<h1> Fatuma Restaurant </h1>
<nav>
<a href="#">About <a/>
<a href="#">Menu <a/>
<a href="#">Catering <a/>
<a href="#">Contact <a/>




</nav>
</footer>
<div class="subfooter">
<p> Copyright Fatuma Restaurant 2020</p>
</div>






</body>
</html>
247 changes: 247 additions & 0 deletions styles.css
Original file line number Diff line number Diff line change
@@ -1 +1,248 @@
/* Paste your css code here */
*{
margin: 0;
padding:0;
box-sizing:border-box;

}

.container{
width:100vw;
height:auto;

}
header{
width:100vw;
height:110px;
background:#454f6f;
display:flex;
justify-content:space-between;
align-items:center;
font-family:arial;

}

h1{
color: white;
padding-left:20px;

}
nav a {
text-decoration:none;
color:white;
padding:10px;
font-size:22px;

}
.hero{
width:100vw;
height:auto;
background:#e6834c;

}
.subhero{
display: flex;
justify-content: space-evenly;
align-items: center;
flex-wrap: wrap;




}
.subhero img{
width: 300px;
border-radius: 50%;
margin-top: 30px;
margin-right: 80px;
}
/* .hero h3{
color:white;
padding-bottom: 100px;

} */

.hero h2{
color:white;
text-align:center;
padding-top:20px;
font-size:35px;

font-family:arial;

}
h2{

}
h3{

}
span{
color: white;
font-size:20px;
}
.about{
width:97vw;
height:auto;
Background-color: #deffe5;
margin: 10px;
}
.about h4{
text-align:center;
padding-top:28px;
font-family:arial;
text-transform:uppercase;
font-size: 1.2rem;
}
.about p{
/* text-align:center; */
padding:25px;
/* padding-top:20px; */
line-height: 1.5;
text-align: justify;
font-size: 1.2rem;
}
.content{
width: 100vw;
height: auto;
/* background-color: red; */
display: flex;
justify-content: space-evenly;
flex-wrap: wrap;
margin-bottom: 40px;


}




.content img{
width: 350px;
border-radius: 10px;
}
form{
width: 100vw;
height: 300px;
Background-color: #deffe5

}
form h2{
text-align: center;
}
.similar{
display: block;
margin: 10px ;
width: 90%;

border-radius: 5px;
padding: 10px;
}
input{
height:40px;
}
button{
background:#e6834c;
color: white;
}


footer{
width:100vw;
height:110px;
background:#454f6f;
display:flex;
justify-content:space-between;
align-items:center;
font-family:arial;
}
.subfooter{
width:100vw;
height:30px;
background:#e6834c;
}
.subfooter p{
font-family:arial;
text-align:center;
padding:5px;

}
@media(max-width:650px){
header{
height: 130px;
/* width: 100vw; */
/* display: flex; */
flex-wrap: wrap;

}
footer{
height: 130px;
flex-wrap: wrap;


}
nav a{
padding: 5px;
margin-left: 10px;

}
h1 {
margin-left: 50px;

}
footer h1{

margin-left: 50px;
}
.subhero img{
width: 360px;
}
.subhero span{
width: 300px;
height: 50px;




}
.hero{
margin-bottom: 40px;
}
.about h4{
width: 200px;
height: 50px;
/* background: red; */
margin-left: 100px;


}
.about p{
margin-top: 20px;
}
.about{

margin-bottom: 40px;


}
.content-images img{
width: 90%;
margin: 10px;

}
.content-images p{
/* text-align: center; */
font-size: 1.2rem;
margin: 5px;
}
.content{
margin-bottom: 40px;
}
}