Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

more styling - added header image, colored anchors

  • Loading branch information...
commit 5875010454fa47ce2d0cebe2d156b0a39a2cc2f8 1 parent ac3dd70
James Kebinger authored
View
7 app/stylesheets/_base.sass
@@ -4,6 +4,13 @@
!header_color = #fff
!font_color = #fff
+!link_color = #00A0E4
+!link_hover_color = #00A0E4
+!link_active_color = #00A0E4
+!link_visited_color = #00A0E4
+!link_focus_color = #00A0E4
+
+
@import compass/reset.sass
@import compass/utilities.sass
View
11 app/stylesheets/application.sass
@@ -11,7 +11,18 @@ body
#header
+normal-text
+column(24)
+ +container
+last
+ :background black
+ #app-title
+ +column(16)
+ #app-links
+ +column(8)
+ +last
+ a
+ +inline-block
+ :vertical-align bottom
+
#content
+normal-text
+column(24)
View
26 app/views/layouts/application.html.haml
@@ -9,21 +9,21 @@
%body{body_attributes}
#root
#header
- %h1 Welcome to MyHippocampus
+ #app-title
+ %img{:src => image_path('hippo-header.png'), :alt => 'hippo header'}
- == #{pluralize User.logged_in.count, "user"} currently logged in
- %br
-
- -if !current_user
- = link_to "Register", new_account_path
- |
- = link_to "Log In", new_user_session_path
- -else
- = link_to "My Account", account_path |
- = link_to "Logout", user_session_path, :method => :delete, :confirm => "Are you sure you want to logout?"
-
- %p{:style=>"color: green"}= flash[:notice]
+ #app-links
+ /== #{pluralize User.logged_in.count, "user"} currently logged in
+ -if !current_user
+ = link_to "Register", new_account_path
+ |
+ = link_to "Log In", new_user_session_path
+ -else
+ = link_to "My Account", account_path |
+ = link_to "Logout", user_session_path, :method => :delete, :confirm => "Are you sure you want to logout?"
#content
+ %p{:style=>"color: green"}= flash[:notice]
+
= yield
#root_footer
#footer
View
BIN  public/images/hippo-header.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Please sign in to comment.
Something went wrong with that request. Please try again.