Created
November 11, 2020 08:35
-
-
Save samdude78/25a7fcf4e1516948effac8597c9da22b to your computer and use it in GitHub Desktop.
Tea Cozy Store
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>The Tea Cozy</title > | |
<link rel="stylesheet" type="text/css" href="./resources/css/style.css"> | |
</head> | |
<body> | |
<!--Header--> | |
<header class="flex-container"> | |
<img src="./resources/css/img-tea-cozy-logo.png"> | |
<nav> | |
<span><a href="#mission">Mission</a></span> | |
<span><a href="#store">Featured Tea</a></span> | |
<span><a href="#locations">Locations</a></span> | |
</nav> | |
</header> | |
<!--Main Container--> | |
<div class="main"> | |
<!--Mission Section--> | |
<div id="mission" class="flex-container"> | |
<div class="content"> | |
<h2>Our Mission</h2> | |
<h4>Handpicked, Artisanally Curated, Free Range, Sustainable, Small Batch, Fair Trade, Organic Tea</h4> | |
</div> | |
</div> | |
<!--Store Section--> | |
<div id="store"> | |
<h2>Tea of the Month</h2> | |
<h4>What's Steeping at The Tea Cozy?</h4> | |
<div class="flex-container items"> | |
<div class="item"> | |
<img src="./resources/css/img-berryblitz.webp"> | |
<span>Fall Berry Blitz Tea</span> | |
</div> | |
<div class="item"> | |
<img src="./resources/css/img-spiced-rum.webp"> | |
<span>Spiced Rum Tea</span> | |
</div> | |
<div class="item"> | |
<img src="./resources/css/img-donut.webp"> | |
<span>Seasonal Donuts</span> | |
</div> | |
<div class="item"> | |
<img src="./resources/css/img-myrtle-ave.webp"> | |
<span>Myrtle Ave Tea</span> | |
</div> | |
<div class="item"> | |
<img src="./resources/css/img-bedford-bizarre.webp"> | |
<span>Bedford Bizarre Tea</span> | |
</div> | |
</div> | |
</div> | |
<!--Locations Section--> | |
<div id="locations"> | |
<h2>Locations</h2> | |
<div class="flex-container locations"> | |
<div class="location"> | |
<h3>Downtown</h3> | |
<p>384 West 4th St</p> | |
<p>Suite 108</p> | |
<p>Portland, Maine</p> | |
</div> | |
<div class="location"> | |
<h3>East Bayside</h3> | |
<p>3433 Phisherman's Avenue</p> | |
<p>(Northwest Corner)</p> | |
<p>Portland, Maine</p> | |
</div> | |
<div class="location"> | |
<h3>Oakdale</h3> | |
<p>515 Crescent Avenue</p> | |
<p>Second Floor</p> | |
<p>Portland, Maine</p> | |
</div> | |
</div> | |
</div> | |
</div> | |
<!--Contact Section--> | |
<div id="contact"> | |
<h2>The Tea Cozy</h2> | |
<h5>contact@theteacozy.com</h5> | |
<h5>917-555-8904</h5> | |
</div> | |
<!--Footer Section--> | |
<footer> | |
<h5>copyright The Tea Cozy 2017</h5> | |
</footer> | |
</body> | |
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
body { | |
background-color: black; | |
font-family: Arial, Helvetica, sans-serif; | |
color: seashell; | |
font-size: 22px; | |
text-align: center; | |
margin: 0; | |
} | |
a { | |
color: seashell; | |
} | |
h2,h3,h4 { | |
margin: 0; | |
padding: 10px; | |
} | |
.flex-container { | |
display: flex; | |
justify-content: center; | |
flex-wrap: wrap; | |
} | |
/* Header Section */ | |
header { | |
width: 100%; | |
height: 69px; | |
align-items: center; | |
background-color: black; | |
border-bottom: 1px solid seashell; | |
position: fixed; | |
} | |
header img { | |
height: 50px; | |
padding-left: 10px; | |
} | |
nav { | |
flex-grow: 1; | |
text-align: right; | |
} | |
nav span { | |
padding: 20px 10px; | |
display: inline-block; | |
} | |
/* Main Section */ | |
.main { | |
padding-top: 69px; | |
margin: auto; | |
width: 1200px; | |
opacity: 0.9; | |
} | |
/* Mission Section */ | |
#mission { | |
background-image: url("./img-mission-background.webp"); | |
height: 700px; | |
padding-top: 70px; | |
} | |
#mission .content { | |
background-color: black; | |
margin: auto; | |
width: 100%; | |
} | |
/* Store Section */ | |
#store { | |
height: 700px; | |
width: 1000px; | |
margin: auto; | |
padding-top: 70px; | |
} | |
.item { | |
padding: 5px; | |
} | |
.item img { | |
height: 200px; | |
margin: 10px; | |
display: block; | |
} | |
.item span { | |
display: block; | |
padding: 5px; | |
font-weight: bold; | |
text-align: center; | |
} | |
/* Location Section */ | |
#locations { | |
background-image: url("./img-locations-background.webp"); | |
height: 500px; | |
padding-top: 70px; | |
} | |
.flex-container .locations { | |
padding: 5px; | |
} | |
#locations .flex-container { | |
margin: auto; | |
width: 1100px; | |
} | |
.location { | |
opacity: 1.0; | |
padding: 10px; | |
margin: 5px 20px; | |
background-color: black; | |
display: flex; | |
flex-direction: column; | |
flex-basis: 280px; | |
justify-content: center; | |
} | |
/* Contact Section */ | |
#contact { | |
height: 200px; | |
} | |
/* Footer Section */ | |
footer { | |
text-align: left; | |
padding: 20px; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment