Skip to content

Commit

Permalink
added follow button
Browse files Browse the repository at this point in the history
  • Loading branch information
johnpolacek committed Dec 30, 2011
1 parent 3ea1645 commit bdd0c11
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 4 deletions.
12 changes: 9 additions & 3 deletions css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -128,16 +128,22 @@ code {
}

#author {
width: 410px;
width: 640px;
position: absolute;
top: 200px;
left: 50%;
top: 180px;
left: 53%;
font-size: 20px;
text-align: right;
font-style: italic;
color: #D92B00;
}

.twitter-follow-button {
position: relative;
top: 8px;
left: 4px;
}

#desc {
position: absolute;
top: 250px;
Expand Down
7 changes: 6 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,11 @@

<div class="scrollblock" id="intro">
<h1 id="title">scrollorama</h1>
<p id="author">created by <a href="http://twitter.com/johnpolacek">John Polacek</a></p>
<p id="author">
created by <a href="http://twitter.com/johnpolacek">John Polacek</a>
<a href="https://twitter.com/johnpolacek" class="twitter-follow-button" data-show-count="false" data-size="large">Follow @johnpolacek</a>
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
</p>
<p id="desc">The jQuery plugin for doing cool scrolly stuff</p>
<p id="download">
<span class="accent">&#9733;</span> DOWNLOAD <span class="accent">&#9733;</span><br />
Expand Down Expand Up @@ -83,6 +87,7 @@ <h1>How To Use</h1>
<h1>Credits</h1>
<p>scrollorama by <a href="http://twitter.com/johnpolacek">John Polacek</a></p>
<p><a href="http://letteringjs.com">Lettering.js</a> by <a href="http://daverupert.com">Dave Rupert</a></p>
<p><a href="http://www.google.com/webfonts/specimen/Bowlby+One+SC">Bowlby One SC Font</a> by <a href="https://plus.google.com/107807505287232434305/about">Vernon Adams</a></p>
<p class="divider">&#9733; &#9733; &#9733;</p>
<p><small>If you like scrollorama, give <a href="http://johnpolacek.github.com/scrolldeck">scrolldeck</a> a try</small></p>
</div>
Expand Down

0 comments on commit bdd0c11

Please sign in to comment.