Skip to content
This repository was archived by the owner on Sep 18, 2020. It is now read-only.
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
33 changes: 33 additions & 0 deletions css/styles.css
Original file line number Diff line number Diff line change
@@ -1 +1,34 @@
#header {
background: url(../img/milkbg.jpg) no-repeat center #00f;
height: 400px;
background-size: cover;
position: relative;
padding: 50px;
}

.row {
padding-bottom: 30px;
}

.jumbotron {
position: absolute;
top: 50%;
left: 50%;
transform: translateY(-50%) translateX(-50%);
color: #eee;
background-color: rgba(0,0,0,.6);
width: 50%;
}

#about-us {
background-color: lightgrey;
}

p {
font-size: 140%;
}

#contact-us {
background-color: #26A0CF;
color: white;
}
109 changes: 81 additions & 28 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,45 +2,98 @@
<html>
<head>
<title>Cookie Store</title>
<!-- Latest compiled and minified CSS -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">

<!-- Optional theme -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap-theme.min.css" integrity="sha384-rHyoN1iRsVXV4nD0JutlnGaslCJuC7uwjduW9SVrLvRYooPp2bWYgmgJQIXwl/Sp" crossorigin="anonymous">

<!-- Latest compiled and minified JavaScript -->
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script>

<link rel="stylesheet" type="text/css" href="css/styles.css">

</head>
<body>

<div class="container">
<div class="row text-center" id="header">
<div class="col-sm-12 text-center jumbotron">
<h1>Cookie Store</h1>

<h1>Cookie Store</h1>

<p>Buy our awesome cookies. All proceeds go to charity!</p>
<p>Buy our awesome cookies. All proceeds go to charity!</p>
</div>
</div>

<h2>The Cookies</h2>
<div class="row text-center">
<div class="col-sm-12">
<h2>The Cookies</h2>
</div>
<div class="row">
<div class="col-md-4 col-md-offset-2">
<h3>Thin Mint Cookies <span class="label label-danger">New</span></h3>
<p>Tasty mint chocolate cookies</p>
</div>
<div class="col-md-4">
<img class="img-responsive img-circle center-block" src="img/mint.png">
</div>
</div>

<h3>Thin Mint Cookies</h3>
<p>Tasty mint chocolate cookies</p>
<img src="img/mint.png">
<div class="row">
<div class="col-md-4 col-md-push-4">
<h3>Peanut Butter Cookies</h3>
<p>Yummy peanut buttery goodness!</p>
</div>
<div class="col-md-4 col-md-pull-4">
<img class="img-responsive img-circle center-block" src="img/peanut.png">
</div>
</div>

<h3>Peanut Butter Cookies</h3>
<p>Yummy peanut buttery goodness!</p>
<img src="img/peanut.png">
<div class="row">
<div class="col-md-4 col-md-offset-2">
<h3>Short Bread Cookies</h3>
<p>Santa's favorite classic.</p>
</div>
<div class="col-md-4">
<img class="img-responsive img-circle center-block" src="img/shortbread.png">
</div>
</div>

<h3>Short Bread Cookies</h3>
<p>Santa's favorite classic.</p>
<img src="img/shortbread.png">
<div class="row">
<div class="col-md-4 col-md-push-4">
<h3>Smore's Cookies</h3>
<p>Camp fire favorite!</p>
</div>
<div class="col-md-4 col-md-pull-4">
<img class="img-responsive img-circle center-block" src="img/smores.png">
</div>
</div>
</div>

<h3>Smore's Cookies</h3>
<p>Camp fire favorite!</p>
<img src="img/smores.png">
<div class="row" id="about-us">
<h2 class="text-center">About us</h2>
<div class="col-sm-3">
<img class="img-responsive" src="img/cmonster.png">
</div>
<div class="col-sm-9">
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod
tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,
quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo
consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse
cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non
proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>
</div>
</div>

<h2>About us</h2>
<div>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod
tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,
quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo
consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse
cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non
proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</div>
<div class="row text-center" id="contact-us">
<h2>Contact us</h2>
<p>
100 Broadway Avenue,<br>
New York, NY 10001 <br>
(212) 555-1234
</p>
</div>

<h2>Contact us</h2>
<div>
100 Broadway Avenue,<br>
New York, NY 10001 <br>
(212) 555-1234
</div>

</body>
Expand Down