Skip to content

Instantly share code, notes, and snippets.

@codecademydev
Created April 9, 2019 15:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save codecademydev/087c09136e6eadb425bb9d8f4d0ac1c7 to your computer and use it in GitHub Desktop.
Save codecademydev/087c09136e6eadb425bb9d8f4d0ac1c7 to your computer and use it in GitHub Desktop.
Codecademy export
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Aguillar Family Wine Festival</title>
<link rel="stylesheet" type="text/css" href="reset.css" />
<link rel="stylesheet" type="text/css" href="style.css" />
<link href="https://fonts.googleapis.com/css?family=Oswald" rel="stylesheet">
</head>
<body>
<header>
<h1>Annual Aguillar Family Wine Festival</h1>
</header>
<div class="container">
<table>
<thead>
<tr>
<th colspan="2">
<h1>Wine Festival Schedule</h1>
</th>
</tr>
<tr>
<th>
<h2>Time</h2>
</th>
<th>
<h2>Event</h2>
</th>
</tr>
</thead>
</table>
<tbody>
<!--Row1-->
<tr>
<td class="left"><h3>12:00 PM</h3></td>
<td><h3>Welcome Reception</h3></td>
</tr>
<!--Row2-->
<tr>
<td class="left"><h3>01:00 PM</h3></td>
<td><h3>Storytelling & Tasting</h3></td>
</tr>
<!--Row3-->
<tr>
<td class="left"><h3>02:00 PM</h3></td>
<td><h3>Wine Luncheon</h3></td>
</tr>
<!--Row4-->
<tr>
<td class="left"><h3>03:00 PM</h3></td>
<td><h3>Aguillar Family Wines</h3></td>
</tr>
<!--Row5-->
<tr>
<td class="left"><h3>04:00 PM</h3></td>
<td><h3>Wine & Cheese Tasting</h3></td>
</tr>
</tbody>
</div>
<footer>
<h3>Contact</h3>
<h3>Location</h3>
<h3>Privacy Policy</h3>
</footer>
</body>
</html>
body {
background-color: #242f44;
color: white;
font-family: 'Oswald', sans-serif;
}
header {
text-align: center;
margin-top: 5px;
}
h1 {
font-size: 36px;
padding: 15px;
color: #8c6b48;
background-color: white;
}
h2 {
font-size: 24px;
padding: 15px;
text-transform: uppercase;
}
h3 {
font-size: 20px;
padding: 15px;
text-transform: uppercase;
text-align: left;
margin-left: 20px;
font-weight: 500;
line-height: 2.7;
letter-spacing: 0.8px;
}
th {
border: 2px solid #8c6b48;
}
table {
text-align: center;
margin: 20px auto;
}
td {
border: 2px solid #8c6b48;
width: 300px;
}
footer {
margin-top: 50px;
text-align: center;
position: fixed;
width: 100%;
bottom: 5px;
background-color: #242f44;
z-index: 5;
}
footer h3 {
display: inline-block;
font-size: 14px;
background-color: #242f44;
}
.container {
max-width: 940px;
margin: 0 auto;
height: 800px;
}
.left {
width: 150px;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment