Skip to content

Instantly share code, notes, and snippets.

@MichelleGlauser
Created November 10, 2012 21:45
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 MichelleGlauser/4052639 to your computer and use it in GitHub Desktop.
Save MichelleGlauser/4052639 to your computer and use it in GitHub Desktop.
Sporty
.body {
width: 900px;
margin-left: auto;
margin-right: auto;
border-right: 1px solid #e9e9e9;
border-left: 1px solid #e9e9e9;
padding: 10px;
}
.brand {
font-family: 'Montserrat Alternates', sans-serif;
size: 10pt;
}
.navbar {
background-color: 19DD89;
position: fixed;
height: 200px;
position: fixed;
right: 0;
left: 0;
margin-bottom: 0;
}
.sporty1 {
background-color: ffffff;
position: fixed;
height: 500px;
position: fixed;
right: 0;
left: 0;
margin-bottom: 0;
}
.sporty2 {
position: fixed;
height: 500px;
position: fixed;
right: 0;
left: 0;
z-index: 1030;
margin-bottom: 0;
}
.footer {
background-color: 90F49A;
height: 100px;
position: fixed;
right: 0;
left: 0;
z-index: 1030;
margin-bottom: 0;
}
<!doctype html>
<html>
<meta charset=”utf-8”>
<head>
<title>Sporty | Put the you in team.</title>
<link href="static/css/sporty.css" rel="stylesheet" media="screen">
<link href='http://fonts.googleapis.com/css?family=Montserrat+Alternates:400,700' rel='stylesheet' type='text/css'>
</head>
<body>
<header>
<div class="navbar">
<a class="brand" href="#">Sporty</a>
<ul class="nav">
<li><a href="#">Learn</a></li>
<li><a href="#">Teach</a></li>
<li><a href="#">Connect</a></li>
</ul>
</div>
</div>
<div class="sporty">
<style=style=”background-image:url(static/img/subtlenet2.png); background-repeat:repeat
<h1>About Sporty</h1>
<p>Sporty provides a female-friendly place for women who want to even out the playing field.</p>
</div >
<div id="sporty2">
<h2>More sports are coming soon!</h2>
<p>Sign up for updates.</p>
</div>
<div id="footer"
</div>
</p></header>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment