Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Add contact link

  • Loading branch information...
commit eabec2c046ec681b50666b83bd52d088c206d487 1 parent 9bd479f
Sam Soffes soffes authored

Showing 2 changed files with 16 additions and 3 deletions. Show diff stats Hide diff stats

  1. +13 3 public/stylesheets/application.css
  2. +3 0  views/layout.erb
16 public/stylesheets/application.css
@@ -11,7 +11,7 @@ html {
11 11 font-smoothing: antialiased;
12 12 }
13 13
14   -header, section {
  14 +header, section, footer {
15 15 padding: 0 10px;
16 16 margin: 0 auto;
17 17 -webkit-box-sizing: border-box;
@@ -25,7 +25,7 @@ header {
25 25 padding: 100px 0;
26 26 }
27 27
28   -section {
  28 +section, footer {
29 29 padding: 0 10px;
30 30 max-width: 640px;
31 31 margin-bottom: 2em;
@@ -165,6 +165,16 @@ button:active {
165 165 top: 1px;
166 166 }
167 167
  168 +footer {
  169 + text-align: center;
  170 + font-size: 14px;
  171 + color: #999;
  172 +}
  173 +
  174 +footer a {
  175 + color: #999;
  176 +}
  177 +
168 178 @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) {
169 179 h1 {
170 180 background-image: url(/images/logo@2x.png);
@@ -177,7 +187,7 @@ button:active {
177 187 margin-bottom: 30px;
178 188 }
179 189
180   - section {
  190 + section, footer {
181 191 width: 300px;
182 192 }
183 193
3  views/layout.erb
@@ -15,6 +15,9 @@
15 15 <section>
16 16 <%= yield %>
17 17 </section>
  18 + <footer>
  19 + &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>
  20 + </footer>
18 21 <% if ENV['RACK_ENV'] == 'production' %>
19 22 <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>
20 23 <% end %>

0 comments on commit eabec2c

Please sign in to comment.
Something went wrong with that request. Please try again.