Skip to content

First to HTML/CSS #2

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
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
Binary file modified .DS_Store
Binary file not shown.
12 changes: 6 additions & 6 deletions CSS/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@


body {
font-family: 'Pacifico', sans-serif;
font-family: 'Montserrat', sans-serif;
color: #e5e5e5;
font-size: 12px;
background:#bfbfbf;
Expand All @@ -12,7 +12,7 @@ body {


h1, h2 {
font-family: 'Pacifico', sans-serif;
font-family: 'Montserrat', sans-serif;
font-weight: 300;
margin:0 0 15px 0;
}
Expand Down Expand Up @@ -74,10 +74,10 @@ a {
width: 960px;
margin: 0 auto;
position: relative;
min-height: 50px;
min-height: 100px;
padding:30px 0;
font-size: 18px;
font-family: 'Open Sans', sans-serif;
font-family: 'Montserrat', sans-serif;
font-weight: 300;
}

Expand All @@ -89,7 +89,7 @@ a {


.subMenu {
height: 50px;
height: 60px;
z-index: 1000;
width: 100%;
background: #0977bc;
Expand All @@ -104,7 +104,7 @@ a {

.subNavBtn {
display: block;
height: 35px;
height: 60px;
width: 10%;
float: left;
margin: 0px 0px 0 0;
Expand Down
48 changes: 26 additions & 22 deletions index.html
Original file line number Diff line number Diff line change
@@ -1,57 +1,61 @@
<!DOCTYPE html>
<html>
<head>
<title>LTCW1</title>
<title>Mo Peds, Mo Problems</title>
<link href="CSS/style.css" rel="stylesheet" type="text/css">
<link href='https://fonts.googleapis.com/css?family=Pacifico' rel='stylesheet' type='text/css'>
<link href='https://fonts.googleapis.com/css?family=Montserrat' rel='stylesheet' type='text/css'>
</head>
<body>
<div class="wrap">
<div class="section sTop">
<div class="inner">
<h1 class="title">My amazing one page website</h1>
<h2 class="subtitle">And it's all about mopeds!</h2>
<h1 class="title">One Page About Mopeds</h1>
<h2 class="subtitle">All About My Mopeds!</h2>
</div>
</div>

<div class="subMenu" >
<div id="secondmenu" class="subMenu" >
<div class="inner">
<a href="#sTop" class="subNavBtn">Home</a>
<a href="#s1" class="subNavBtn">My Mopeds</a>
<a href="#s2" class="subNavBtn">Why Mopeds?</a>
<a href="#s3" class="subNavBtn">Try Mopeds!</a>
<a href="https://twitter.com/grahammcbain" class="subNavBtn extLink end">Follow me on twitter</a>
<a href="#sTop" class="subNavBtn">Pizza</a>
<a href="file:///Users/robO/Documents/Main%20Code%20Folder/Learn-To-Code-Week-1/index.html#s1" class="subNavBtn">Best Mopeds</a>
<a href="file:///Users/robO/Documents/Main%20Code%20Folder/Learn-To-Code-Week-1/index.html#s2" class="subNavBtn">Why? Mopeds!</a>
<a href="file:///Users/robO/Documents/Main%20Code%20Folder/Learn-To-Code-Week-1/index.html#s3" class="subNavBtn">You should Moped!</a>
<a href="https://twitter.com/robmodell" class="subNavBtn extLink end">Follow me on twitter</a>
</div>
</div>

<div class="section s1">
<div id="s1" class="section s1">
<div class="inner ">
<h1>My Mopeds</h1>
<h1>Mopeds are Awesome!</h1>
<div class="section">
<a href="http://www.boltmotorbikes.com/"><img src="http://i.imgur.com/BXOdmQ7.jpg"/></a>
</div>
<a href="https://33.media.tumblr.com/e395babede868f700aec80a88ec5b3cd/tumblr_mu43u0cjmt1s82c3do1_400.gif"><img src="https://33.media.tumblr.com/e395babede868f700aec80a88ec5b3cd/tumblr_mu43u0cjmt1s82c3do1_400.gif"/></a>
<a href="file:///Users/robO/Documents/Main%20Code%20Folder/Learn-To-Code-Week-1/index.html#secondmenu"><p>Back to the top<p></a>

</div>
</div>
</div>

<div class="section s2">
<div id="s2" class="section s2">
<div class="inner">
<h1>Why Mopeds?</h1>
<h1>Why? Mopeds!</h1>
<h2>Because they are wicked fun!</h2>
<div class="section">
<a href="http://www.boltmotorbikes.com/"><img src="https://mopedschool.files.wordpress.com/2014/06/tomos.jpg" title="Me in the glory days"/></a>
<a href="http://giphy.com/gifs/macklemore-ESvjV3b5a7Nde"><img src="https://media.giphy.com/media/ESvjV3b5a7Nde/giphy.gif" title="Me in the glory days"/></a>
<a href="file:///Users/robO/Documents/Main%20Code%20Folder/Learn-To-Code-Week-1/index.html#secondmenu"><p>Back to the top<p></a>
</div>
</div>
</div>



<div class="section s3">
<div id="s3" class="section s3">
<div class="inner">
<h1>Try Mopeds!</h1>
<h2>My wife Alissa tried mopeds and she loves them!</h2>
<h1>You should Moped too!</h1>
<h2>My wife tried mopeds and she loves them!</h2>
<div class="section">
<a href="http://www.boltmotorbikes.com/"><img src="http://i.imgur.com/AVmlW8k.jpg" title="Alissa McBain"/></a>
</div>
<a href="http://giphy.com/gifs/macklemore-HquYduVMenHsA"><img src="https://media.giphy.com/media/HquYduVMenHsA/giphy.gif" title="Alissa McBain"/></a>
<a href="file:///Users/robO/Documents/Main%20Code%20Folder/Learn-To-Code-Week-1/index.html#secondmenu"><p>Back to the top<p></a>
</div>

</div>
</div>
Expand Down