Permalink
Browse files

footer tweaks

  • Loading branch information...
1 parent a1fb4fb commit 5624b54f9f0dcc0615d186deeb950c32bbf0620d @mccolin committed Mar 26, 2012
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@@ -24,7 +24,7 @@ header {
clear: both;
height: 55px;
margin: auto;
- padding-top: 240px;
+ padding-top: 300px;
text-align: center;
width: 800px;
}
@@ -94,19 +94,34 @@ footer {
clear: both;
font-size: 12px;
margin: 25px auto;
+ text-align: center;
width: 900px;
}
-footer .section {
- border-right: 1px dotted #576;
- float: left;
- height: 150px;
- width: 22%;
- margin-right: 3%;
+
+footer a {
+ color: #EEE;
}
-footer .section:last-child {
- border-right: none;
- margin-right: 0;
+
+footer nav ul {
+ list-style: none;
+ margin: 0;
+ padding: 0;
}
+footer nav ul li {
+ display: inline-block;
+ margin: 0;
+ padding: 0.25em 0.5em;
+ text-transform: uppercase;
+}
+footer nav ul li a {
+ color: #FFF;
+ text-decoration: none;
+}
+footer nav ul li a:hover {
+ color: #FFF;
+ text-decoration: underline;
+}
+
/**********************************************************************/
@@ -35,22 +35,26 @@
</div>
<footer id="footer">
- <div class="section">
- &copy; Copyright 2012 WOSoMP
- </div>
- <div class="section">
+ <nav id="footer-nav">
<ul>
<li><%=link_to "Home", home_path%></li>
<li><%=link_to "About", about_path%></li>
<li><%=link_to next_olympiad_name, olympiad_path(next_olympiad) %></li>
<li><%=link_to "History", olympiads_path%></li>
<li><%=login_logout_link(:login=>{:id=>"facebook-login-button"})%></li>
</ul>
- </div>
- <div class="section"></div>
- <div class="section">
- Sponsors
- </div>
+ </nav>
+ <p>
+ Powered by
+ <%=link_to "Ruby on Rails", "http://rubyonrails.org/", :target=>"_blank"%>,
+ <%=link_to "Heroku", "http://heroku.com/", :target=>"_blank"%>,
+ and Athletes just like you
+ <br/><br/>
+ &copy;2012 WOSoMP
+ </p>
+ <p>
+ <%=link_to image_tag("sponsor_awexome.png", :title=>"Sponsorship by Awexome Labs"), "http://awexomelabs.com/", :target=>"_blank"%>
+ </p>
</footer>
<%= yield :foot %>

0 comments on commit 5624b54

Please sign in to comment.