Skip to content

Commit

Permalink
Experiments with the footer button
Browse files Browse the repository at this point in the history
  • Loading branch information
John Guaschi authored and alexeymuranov committed Oct 26, 2012
1 parent ed1aab2 commit 2cc0196
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 0 deletions.
6 changes: 6 additions & 0 deletions application.rb
Expand Up @@ -129,6 +129,12 @@ def banner_url
"url('#{ BASE_URL }images/bannerToulouse.jpg');" "url('#{ BASE_URL }images/bannerToulouse.jpg');"
) )
end end

def footer_home_button_background_url
::Sass::Script::String.new(
"url('#{ BASE_URL }images/capitole.jpg');"
)
end
end end


# Sessions # Sessions
Expand Down
Binary file added public_folder/images/capitole.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
13 changes: 13 additions & 0 deletions view_templates/stylesheets/experiments.scss
Expand Up @@ -44,6 +44,19 @@ div#banner_shade {
} }
} }


footer {
a#link_to_common_home_page {
background-image: footer_home_button_background_url();
background-position:center;
opacity: 0.8;
// font-size: 1.2em;
text-shadow: black 1.5px 1.5px 2px;
margin-top: 3px;
margin-bottom: 1px;
color: Ivory;
}
}

hgroup#main_heading { hgroup#main_heading {
display: inline-block; display: inline-block;
pointer-events: none; pointer-events: none;
Expand Down

0 comments on commit 2cc0196

Please sign in to comment.