Created
December 5, 2013 01:58
-
-
Save owebboy/7798975 to your computer and use it in GitHub Desktop.
Untitled
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
@import url(http://fonts.googleapis.com/css?family=Merriweather); | |
@import url(http://fonts.googleapis.com/css?family=Oswald); | |
#wrapper { | |
padding-bottom: 100px; | |
} | |
header { | |
font-family: "Oswald"; | |
position: fixed; | |
top: 0; | |
right: 0; | |
left: 0; | |
border-bottom: 1px solid #e3e3e8; | |
background: #fff; | |
} | |
#logo { | |
float: left; | |
font-size: 3em; | |
margin: 0; | |
padding: .4em; | |
text-decoration: none; | |
color: #333; | |
border-right: 1px solid #e3e3e8; | |
transition: .5s all; | |
} | |
#logo:hover { | |
color: #fafafa; | |
background-color: #333; | |
} | |
nav { | |
float: left; | |
} | |
nav ul { | |
list-style-type: none; | |
margin: 0; | |
padding: 2.2em 2em; | |
} | |
nav ul li { | |
display: inline; | |
padding: 0 .4em; | |
} | |
nav ul li a { | |
color: #333; | |
text-decoration: none; | |
text-transform: uppercase; | |
font-size: 1.6em; | |
padding-bottom: 1.3em; | |
transition: .5s color; | |
} | |
nav ul li a:hover { | |
border-bottom: 3px solid #333; | |
} | |
#current { | |
color: #ff4629; | |
border-bottom: 3px solid #333; | |
} | |
#fb:hover { | |
color: #3b5998; | |
} | |
#twitter:hover { | |
color: #00acee; | |
} | |
html { | |
color: #212121; | |
margin: 1em 20em; | |
font-family: "Merriweather"; | |
} | |
p { | |
letter-spacing: .01rem; | |
font-weight: 400; | |
font-style: normal; | |
font-size: 20px; | |
line-height: 1.5; | |
} |
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
<div id="wrapper"> | |
<header> | |
<a id="logo" href="#">MY BLOG</a> | |
<nav> | |
<ul> | |
<li><a href="#" id="current">Home</a></li> | |
<li><a href="#">Articles</a></li> | |
<li><a href="#">About</a></li> | |
<li><a href="#" id="fb">Facebook</a></li> | |
<li><a href="#" id="twitter">Twitter</a></li> | |
</ul> | |
</nav> | |
</header> | |
</div> | |
<h1>Article Title</h1> | |
<h3>Subtitle</h3> | |
<p>Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Vestibulum tortor quam, feugiat vitae, ultricies eget, tempor sit amet, ante. Donec eu libero sit amet quam egestas semper. Aenean ultricies mi vitae est. Mauris placerat eleifend leo.</p> | |
<p>Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Vestibulum tortor quam, feugiat vitae, ultricies eget, tempor sit amet, ante. Donec eu libero sit amet quam egestas semper. Aenean ultricies mi vitae est. Mauris placerat eleifend leo. Quisque sit amet est et sapien ullamcorper pharetra. Vestibulum erat wisi, condimentum sed, commodo vitae, ornare sit amet, wisi. Aenean fermentum, elit eget tincidunt condimentum, eros ipsum rutrum orci, sagittis tempus lacus enim ac dui. Donec non enim in turpis pulvinar facilisis. Ut felis. Praesent dapibus, neque id cursus faucibus, tortor neque egestas augue, eu vulputate magna eros eu erat. Aliquam erat volutpat. Nam dui mi, tincidunt quis, accumsan porttitor, facilisis luctus, metus</p> | |
<p>Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas.</p> |
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
// alert('Hello world!'); |
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
{"view":"split","fontsize":"100","seethrough":"","prefixfree":"1","page":"html"} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment