Created
March 16, 2013 08:18
-
-
Save benschac/5175498 to your computer and use it in GitHub Desktop.
Why wont my font show up?
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> | |
<title> Benjamin Schachter</title> | |
<meta charset="UTF-8"> | |
<link rel="stylesheet" href="stylesheet.css"> | |
<!--[if lt IE 9] | |
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script> | |
<![endif]--> | |
</head> | |
<body> | |
<div id="wrap"> | |
<section id= "main"> | |
<header id="intro-bar"> | |
<a href="#" id="logo"><img src="http://i.imgur.com/qo9plVy.png"></a> | |
</header> | |
</section> <!--End main--> | |
<nav id="navigation"> | |
<ul id="nav-ul"> | |
<li class="nav-li"><a href="#">Home</a</li> | |
<li class="nav-li"><a href="#">About</a></li> | |
<li class="nav-li"><a href="">Coding Background</a></li> | |
<li class="nav-li"><a href="#">Contact</a></li> | |
</ul> | |
</nav><!--End Navigation--> | |
<section class="feature"> | |
<h1>Hi There!</h1> | |
<div class="feature-photo"> | |
<img src="https://sphotos-b.xx.fbcdn.net/hphotos-snc7/406986_2572832355248_1647809300_n.jpg"/> | |
</div> | |
<h1><span>I'm an aspiring developer, lover of people, and professional dreamer</span></h1> | |
<h2><span> I also eat way too much ice cream. </span></h2> | |
</section> | |
<footer> | |
<h3> Benjamin Schachter</h3> | |
<p>© Benjamin Schachter 2013 all rights reserved</p> | |
<div> <iframe src="https://embed.spotify.com/?uri=spotify:track:1zPkAyWzIAePfmbhHetqK7" width="300" height="100" frameborder="0" allowtransparency="true"></iframe> </div> | |
</footer> | |
</section> | |
</div> | |
</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
/* Lincoln Font */ | |
@font-face { | |
font-family: 'abraham_lincolnregular'; | |
src: url('abrahamlincoln-webfont.eot'); | |
src: url('abrahamlincoln-webfont.eot?#iefix') format('embedded-opentype'), | |
url('abrahamlincoln-webfont.woff') format('woff'), | |
url('abrahamlincoln-webfont.ttf') format('truetype'), | |
url('abrahamlincoln-webfont.svg#abraham_lincolnregular') format('svg'); | |
font-weight: normal; | |
font-style: normal; | |
} | |
@font-face { | |
font-family: 'abraham_lincolnbold'; | |
src: url('abrahamlincoln-webfont.eot'); | |
src: url('abrahamlincoln-webfont.eot?#iefix') format('embedded-opentype'), | |
url('abrahamlincoln-webfont.woff') format('woff'), | |
url('abrahamlincoln-webfont.ttf') format('truetype'), | |
url('abrahamlincoln-webfont.svg#abraham_lincolnregular') format('svg'); | |
font-weight: bold; | |
font-style: normal; | |
} | |
/*Lincoln Font End*/ | |
} | |
body { | |
background: #FFF; | |
font: 15px 'abraham_lincolnregular'; | |
} | |
#wrap { | |
margin: 0 auto; | |
width: 960px; | |
padding: 0; | |
} | |
#main { | |
position: relative; | |
width: 100%; | |
height: 130px; | |
} | |
#logo img { | |
position: absolute; | |
top: -30px; | |
left: 390px; | |
width: 200px; | |
height: 200px; | |
} | |
#navigation { | |
width: 100%; | |
background-color: #ffffff; | |
margin: -30px 0 20px 0; | |
text-transform: uppercase; | |
text-decoration: none; | |
text-align: center; | |
} | |
#navigation ul li { | |
display: inline-block; | |
font-size: 20px; | |
margin: auto 20px; | |
} | |
#navigation a { | |
text-decoration: none; | |
} | |
#navigation a:hover, :active, :visited { | |
color: #000000; | |
text-decoration: none; | |
-webkit-opacity: .7; | |
-moz-opacity: .7; | |
-o-opacity: .7; | |
opacity: .7; | |
} | |
} | |
.btn { | |
width: 300px; | |
height: 50px; | |
background-color: rgba(124, 122, 116, .5); | |
-webkit-border-radius:10px; | |
-moz-border-radius:10px; | |
border-radius:10px | |
-webkit-text-shadow: 1px 2px 3px #000; | |
-moz-text-shadow: 1px 2px 3px #000; | |
text-shadow: 1px 2px 3px #000; | |
-webkit-box-shadow: 4px 4px 5px #282b1f; | |
-moz-box-shadow: 4px 4px 5px #282b1f; | |
box-shadow: 4px 4px 5px #282b1f; | |
} | |
.feature h1 { | |
font-size: 40px; | |
text-align: center; | |
} | |
.feature h1 h2 { | |
text-align: center; | |
} | |
.feature h2 { | |
font-size: 30px; | |
font-color: black; | |
-webkit-opacity: .7; | |
-moz-opacity: .7; | |
-o-opacity: .7; | |
opacity: .7; | |
text-align: center; | |
} | |
.feature-photo img { | |
border: 1px black; | |
border-radius: 40px; | |
float: right; | |
margin: 10px 125px; | |
} | |
footer { | |
text-align: center; | |
} | |
footer h3 { | |
margin-bottom: -10px; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment