Permalink
Browse files

Added contact section!

  • Loading branch information...
1 parent 642f665 commit 9549dbb76895702b34e3c8e91ec9bee31fb6a5da Jeff Johnson committed Oct 11, 2012
Showing with 37 additions and 3 deletions.
  1. +25 −0 css/main.css
  2. +8 −3 index.html
  3. +4 −0 js/main.js
View
25 css/main.css
@@ -250,7 +250,32 @@ a, a:visited, a:hover {
letter-spacing: 4px;
}
+.no_decoration {
+ text-decoration: none;
+}
+.contact {
+}
+.contact .title {
+ font-size: 1.17em;
+ font-weight: bold;
+}
+.btn {
+ background-color: #F07818;
+ background-image: -webkit-linear-gradient(top, #E48031, #F07818);
+ border-radius: 4px;
+ padding: 4px;
+ /*text-shadow: #EED8B3 0px 1px 0px;*/
+ color: #5E412F !important;
+ box-shadow: 1px 1px 5px #2C1C13;
+ margin-top: 8px;
+ display: inline-block;
+ cursor: pointer;
+ cursor: hand;
+}
+.btn:hover {
+ background-image: none;
+}
/* ==========================================================================
Helper classes
View
11 index.html
@@ -155,12 +155,17 @@ <h3 class="header">
<h2>resume</h2>
text-version coming soon
</div>
- <div class="brown-back section" data-hover-buddy="contact" id="resume">
+ <div class="brown-back section" data-hover-buddy="contact" id="contact">
<h2>contact</h2>
- email me, call me, linked-in me(?)
+ <span class="contact">
+ <span class="title">good</span>: <a class="no_decoration btn" href="https://www.facebook.com/johnsonjeffreyr"><i class="icon-facebook-sign"></i> facebook</a><br>
+ <span class="title">better</span>: <a class="no_decoration btn" href="http://www.linkedin.com/pub/jeffrey-johnson/2a/958/476"><i class="icon-linkedin-sign"></i> linkedin</a><br>
+ <span class="title">best</span>: <a href="no spam please!" id="email_link" class="no_decoration btn"><i class="icon-envelope-alt"></i> email</a><br>
+ <br>
+ </span>
</div>
</div>
- </div>
+ </div>
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.8.0/jquery.min.js"></script>
<script>window.jQuery || document.write('<script src="js/vendor/jquery-1.8.0.min.js"><\/script>')</script>
View
4 js/main.js
@@ -45,5 +45,9 @@
});
});
+
+ // no spam please
+ var email_addr = [106, 111, 104, 110, 115, 111, 110, 106, 101, 102, 102, 64, 103, 109, 97, 105, 108, 46, 99, 111, 109].map(function(v) { return String.fromCharCode(v) }).join('')
+ $('#email_link').attr('title', email_addr).attr('href', 'mailto:'+email_addr)
});
})();

0 comments on commit 9549dbb

Please sign in to comment.