Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
vetovar authored Oct 12, 2023
1 parent f491ac2 commit 1d55045
Show file tree
Hide file tree
Showing 3 changed files with 99 additions and 0 deletions.
Binary file added images/pizza.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
35 changes: 35 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
<!DOCTYPE html>
<html>
<head>

<title>My Favorite Pizza</title>

<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/5.0.0/normalize.min.css" />

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

</head>

<body>

<!-- WEB PAGE CONTENT HERE -->

<div class="pageContainer">
<div class="imageContainer">
<img src="images/pizza.jpg" alt="Pizza with pepperoni and cheese." />
</div>
<div class="textContainer">
<h1>Pizza!</h1>
<p>My Favorite Toppings: </p>
<ul>
<li>Pepperoni</li>
<li>Mozzarella Cheese</li>
<li>Mushrooms</li>
</ul>
</div>
</div>

</body>
</html>


64 changes: 64 additions & 0 deletions style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@

/*
STYLE.CSS:
One stylesheet to rule them all.
selector { property:value }
*/

@import url(https://fonts.googleapis.com/css?family=Fredericka+the+Great|Lato);

body {
background-color: #5f5345;
}

.pageContainer {
width: 940px;
margin: 20px auto 0 auto;
padding: 20px;
background-color: #fff;
}

.imageContainer {
float: left;
width: 620px;
}

.textContainer {
float: left;
width: 300px;
margin-left: 20px;
margin-top: 20px;
}

img {
width: 100%;
}

h1 {
font-family: 'Fredericka the Great', cursive;
font-size: 64px;
color: #8b1b00;
}

p, li {
font-family: 'Lato', sans-serif;
font-size: 22px;
color: #51473b;
}




/* ---- Advanced ---- */
/* This tag is a bit advanced for this lesson,
but is needed to wrap the pageContainer
around any sized content that is floated within it. */

.pageContainer:after {
content: " ";
display: table;
clear: both;
}

0 comments on commit 1d55045

Please sign in to comment.