Permalink
Browse files

more styling - added header image, colored anchors

  • Loading branch information...
James Kebinger
James Kebinger committed May 22, 2009
1 parent ac3dd70 commit 5875010454fa47ce2d0cebe2d156b0a39a2cc2f8
@@ -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
@@ -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)
@@ -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
Binary file not shown.

0 comments on commit 5875010

Please sign in to comment.