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
152 changes: 151 additions & 1 deletion index.css
Original file line number Diff line number Diff line change
@@ -1 +1,151 @@
/* Your CSS goes here */
/* Your CSS goes here */
/* Your CSS goes here */

* {
padding: 0;
margin: 0;
box-sizing: border-box;
}

header {
margin:0 auto;
width: 70%;
}

a,
li {
list-style: none;
text-decoration: none;
}
.nav__list a:hover{

border-bottom: 2px solid #e6834c;
}

.nav__bar li a {
color: white;
margin-left: 30px;
}

.nav__bar {
display: flex;
background: #454f6f;
width: 100%;
padding: 20px;
}
.max-width {
width: 70%;
margin: auto;
display: flex;
justify-content: space-between;
}
.nav__list {
display: flex;
}
.showCase {
background: #e6834c;
padding: 5%;
text-align: center;
letter-spacing: 5px;
color: white;
}
.showCase h1{ margin-bottom: 20px;}

.text-box__aboutFatumaRestaurant {
background-color: whitesmoke;
padding: 4%;
margin-top: 20px;
}
.text-box__aboutFatumaRestaurant h3 {
margin-bottom: 20px;
text-align: center;
}


.content{
display: flex;
padding: 10px;
flex-direction: column;

}
.row-aligner{
display: flex;
padding: 20px;
width: 100%;


}
.text-box__pastaWithBanana{
width: 50%;
text-align: justify;

}


.text-box__pastaWithBanana h3,
.text-box__riceWithBanana h3,
.text-box__Contact h3
{
text-align: center;
margin-bottom: 20px;
font-weight: 700;

}

.text-box__riceWithBanana{
width: 50%;
margin-left: 70px;
text-align: justify;
}
.text-box__Catering > h3{

margin-bottom: 20px;
margin-left: 25%;
}

.text-box__Catering > p{
width: 70%;
text-align: justify;

}

.text-box__Contact{
margin-left: 20px;
text-align: justify;
}
footer{
display: flex;
flex-direction: column;
}

.footer--text__list{
display: flex;
flex-direction: row;
background-color: #454f6f;
width: 100%;
justify-content: space-around;
padding: 20px;
color: white;

}

.footer-list a {
color: white;
text-decoration: none;
}
.footer-list{
display: flex;


}
.footer-list li {
margin-right: 30px;
list-style: none;

}

footer P {
background-color: #e6834c;
text-align: center;
padding: 5px;
}
120 changes: 91 additions & 29 deletions index.html
Original file line number Diff line number Diff line change
@@ -1,55 +1,117 @@




<!-- Markup the content below with tags and attributes such that it can be styled in CSS-->
<!DOCTYPE html>
<html lang="en">
<head>
<!-- Link your CSS stylesheet -->
<title>introduction-to-css-main</title>
<link rel="stylesheet" href="index.css">

</head>
<body>

<!-- company name -->
Fatuma Restaurant
<nav class="nav__bar">
<div class="max-width">

<!-- company name -->
<li><a href="#">Fatuma Restaurant</a></li>
<!-- Navigation -->
About
Menu
Catering
Contact
<ul class="nav__list">
<li><a href="#">About</a></li>
<li><a href="#">Menu</a></li>
<li><a href="#">Catering</a></li>
<li><a href="#">Contact</a></li>
</ul>
</div>
</nav>

<!-- header -->
About Fatuma Restaurant
<div class="showCase">
<h1> TASTE THE DIFFERENCE</h1>
<h3> LOCAL. FRESH & DELICIOUS</h3>
</div>

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.
<!-- header -->
<header>
<div class="text-box__aboutFatumaRestaurant">
<h3>About Fatuma Restaurant</h3>
<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>

<!-- content -->
Pasta with Banana

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.
<div class="content">
<div class="row-aligner">

Rice with Banana
<div class="text-box__pastaWithBanana">
<h3>Pasta with Banana</h3>

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.
<p> 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>

Catering

Nullam quis odio sit amet arcu sagittis ullamcorper vel vel ex. Duis consectetur sit amet metus quis congue. Nullam vitae viverra quam, vel volutpat nisi. Phasellus id mi sit amet nibh rutrum luctus.
<div class="text-box__riceWithBanana">
<h3>Rice with Banana</h3>
<p>
scrambled it to make a type specimen book. It has survived not only five centuries,
but also the leap into electronic typesetting,
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.
</p></div>
</div>

Contact

info@fatumarestaurant.com
619-555-0144
4209 Bobcat Drive
San Diego, CA, 48219
<div class="row-aligner">
<div class="text-box__Catering">
<h3 >Catering</h3>
<p>
Nullam quis odio sit amet arcu sagittis ullamcorper vel vel ex.
Duis consectetur sit amet metus quis congue. Nullam vitae viverra
quam, vel volutpat nisi.
Nullam quis odio sit amet arcu sagittis ullamcorper vel vel ex.
Duis consectetur sit amet metus quis congue. Nullam vitae viverra
quam, vel volutpat nisi.Phasellus id mi sit amet nibh rutrum luctus.
</p></div>

<div class="text-box__Contact">
<h3>Contact</h3>
<p>
info@fatumarestaurant.com
619-555-0144
4209 Bobcat Drive
San Diego, CA, 48219
</p>
</div>
</div>
</header>
<!-- footer -->
Fatuma Restaurant
<footer>

<div class="footer--text__list">
<h3 class="footer-text__header">Fatuma Restaurant</h3>

<u class="footer-list">
<li><a href="#">About</a></li>
<li><a href="#">Menu</a></li>
<li><a href="#">Catering</a></li>
<li><a href="#">Contact</a></li>
</u>
</div>

About
Menu
Catering
Contact
<p> Copyright Fatuma Restaurant 2020 </p>
</footer>

Copyright Fatuma Restaurant 2020

</body>
</html>