Permalink
Browse files

Add contact link

  • Loading branch information...
1 parent 9bd479f commit eabec2c046ec681b50666b83bd52d088c206d487 @soffes soffes committed May 8, 2012
Showing with 16 additions and 3 deletions.
  1. +13 −3 public/stylesheets/application.css
  2. +3 −0 views/layout.erb
View
16 public/stylesheets/application.css
@@ -11,7 +11,7 @@ html {
font-smoothing: antialiased;
}
-header, section {
+header, section, footer {
padding: 0 10px;
margin: 0 auto;
-webkit-box-sizing: border-box;
@@ -25,7 +25,7 @@ header {
padding: 100px 0;
}
-section {
+section, footer {
padding: 0 10px;
max-width: 640px;
margin-bottom: 2em;
@@ -165,6 +165,16 @@ button:active {
top: 1px;
}
+footer {
+ text-align: center;
+ font-size: 14px;
+ color: #999;
+}
+
+footer a {
+ color: #999;
+}
+
@media only screen and (-webkit-min-device-pixel-ratio: 1.5), only screen and (-o-min-device-pixel-ratio: 3/2), only screen and (min--moz-device-pixel-ratio: 1.5), only screen and (min-device-pixel-ratio: 1.5) {
h1 {
background-image: url(/images/logo@2x.png);
@@ -177,7 +187,7 @@ button:active {
margin-bottom: 30px;
}
- section {
+ section, footer {
width: 300px;
}
View
3 views/layout.erb
@@ -15,6 +15,9 @@
<section>
<%= yield %>
</section>
+ <footer>
+ &copy; 2012 Nothing Magical &mdash; <a href="&#109;&#97;&#105;&#108;&#116;&#111;&#58;%73%61%6d@%6e%6f%74%68%69%6e%67%6d%61%67%69%63%61%6c.%63%6f%6d">Contact</a>
+ </footer>
<% if ENV['RACK_ENV'] == 'production' %>
<script type="text/javascript">var _gauges=_gauges||[];(function(){var t=document.createElement('script');t.async=true;t.id='gauges-tracker';t.setAttribute('data-site-id','4f7a9a00f5a1f56b90000010');t.src='//secure.gaug.es/track.js';var s=document.getElementsByTagName('script')[0];s.parentNode.insertBefore(t, s);})();</script>
<% end %>

0 comments on commit eabec2c

Please sign in to comment.