Permalink
Browse files

Added github fork banner, experimented with lettering.js

  • Loading branch information...
1 parent 87f2f99 commit 188350f86ef4c99850bd610ddb5d314dfa6d4059 @timoxley timoxley committed Apr 16, 2011
@@ -3,7 +3,7 @@
%head
%title InspiredShots
= stylesheet_link_tag :all
- = javascript_include_tag 'http://ajax.googleapis.com/ajax/libs/jquery/1.5.2/jquery.min.js', 'jquery.infinitescroll.js', 'application', 'view'
+ = javascript_include_tag 'http://ajax.googleapis.com/ajax/libs/jquery/1.5.2/jquery.min.js', 'jquery.infinitescroll.js', 'application', 'view', 'jquery.lettering'
%body
#content
%h1#title InspiredShots
@@ -12,7 +12,10 @@
%footer
%p
Created by #{link_to 'Odin Dutton', 'http://github.com/twe4ked'}
- and #{link_to 'Tim Oxley', 'http://github.com/secoif'}.
- Fork on #{link_to 'github', 'https://github.com/twe4ked/inspiredshots'}.
+ & #{link_to 'Tim Oxley', 'http://github.com/secoif'}
+
+ <!-- Copy pasted ribbon from https://github.com/blog/273-github-ribbons -->
+ <a href="http://github.com/you"><img style="position: fixed; top: 0; right: 0; border: 0;" src="https://d3nwyuy0nl342s.cloudfront.net/img/71eeaab9d563c2b3c590319b398dd35683265e85/687474703a2f2f73332e616d617a6f6e6177732e636f6d2f6769746875622f726962626f6e732f666f726b6d655f72696768745f677261795f3664366436642e706e67" alt="Fork me on GitHub"></a>
+
/ Ruby Dribbble API wrapper by Jeremy Weiskotten (http://github.com/jeremyw/swish)
/ jQuery infinite scroll plugin by Brian Lopez (http://github.com/brianmario/jquery-infinite-scroll)

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.
@@ -27,5 +27,8 @@ function generateNoise(opacity) {
}
$(function() {
generateNoise(.05); // default opacity is .2
+ $('#title').lettering();
})
+
+
@@ -25,7 +25,7 @@ body{color:#8d8d8e;background:#111415;width:400px;margin:40px auto;font:12px/140
a:link, a:visited, a:hover, a:active{color:#2B899D;}
// -- Header -------------------------------------------------------------------
-#title{font-size:61px;margin-bottom:40px;color:#ea4c89;text-shadow:1px -1px 0px #fc629d;font-weight:bold;}
+#title{font-size:62px;margin-bottom:40px;color:#ea4c89;text-shadow:1px -1px 0px #fc629d;font-weight:bold; letter-spacing: -0.005em;}
#subtitle{font-size:21px;margin-bottom:30px;text-transform:lowercase;font-weight:normal;
font-family:'Palatino', 'Times New Roman', serif;text-align:right;text-shadow: 1px -1px 0px #000;}
@@ -49,3 +49,45 @@ ul#feed{
footer{text-align:right; position: fixed; bottom: 10px; right: 20px;
a{color:#aaa;}
}
+
+
+// -- Kerning --------
+#title .char9 {
+ margin-left: 0px
+}
+#title .char7 {
+ margin-left: 1px
+}
+#title .char8 {
+ margin-left: 0px
+}
+#title .char4 {
+ margin-left: 0px
+}
+#title .char6 {
+ margin-left: -1px
+}
+#title .char10 {
+ margin-left: 0px
+}
+#title .char11 {
+ margin-left: -1px
+}
+#title .char12 {
+ margin-left: 0px
+}
+#title .char3 {
+ margin-left: -1px
+}
+#title .char2 {
+ margin-left: -2px
+}
+#title .char5 {
+ margin-left: -1px
+}
+#title .char13 {
+ margin-left: 2px
+}
+#title .char1 {
+ margin-left: 0px
+}

0 comments on commit 188350f

Please sign in to comment.