effet realisations
This commit is contained in:
parent
392a15bf19
commit
8d2d542ba2
@ -244,7 +244,9 @@ $("document").ready ->
|
|||||||
$("#logo-min").fadeOut()
|
$("#logo-min").fadeOut()
|
||||||
|
|
||||||
|
|
||||||
|
if top > ($("#realisations").offset().top - $(window).height() / 2)
|
||||||
|
#alert "te"
|
||||||
|
$("#realisations #rea-gal").animate({left:0,opacity : 1}, 800, "swing")
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -210,6 +210,7 @@ width:560px;
|
|||||||
}
|
}
|
||||||
#main{
|
#main{
|
||||||
position:absolute;
|
position:absolute;
|
||||||
|
z-index:2;
|
||||||
width:100%;
|
width:100%;
|
||||||
.center{
|
.center{
|
||||||
margin:auto;
|
margin:auto;
|
||||||
@ -354,7 +355,7 @@ background:rgba(132,187,64,1);
|
|||||||
background:rgba(0,0,0,0.9);
|
background:rgba(0,0,0,0.9);
|
||||||
text-align:right;
|
text-align:right;
|
||||||
font-family:Lato;
|
font-family:Lato;
|
||||||
font-weight:200;
|
font-weight:300;
|
||||||
text-decoration:none;
|
text-decoration:none;
|
||||||
position:relative;
|
position:relative;
|
||||||
z-index:4;
|
z-index:4;
|
||||||
|
@ -262,11 +262,11 @@
|
|||||||
|
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
#realisations
|
#realisations{:style => "overflow:auto;"}
|
||||||
|
|
||||||
%h2 Exemples de réalisations
|
%h2 Exemples de réalisations
|
||||||
|
|
||||||
#rea-gal
|
#rea-gal{:style => "position:relative;opacity:0"}
|
||||||
-(1..10).each do |i|
|
-(1..10).each do |i|
|
||||||
=link_to image_tag("/realisation/#{i}-p.jpg"), "/realisation/#{i}.jpg", :data => {:title => "test",:lightbox => "image-1"}
|
=link_to image_tag("/realisation/#{i}-p.jpg"), "/realisation/#{i}.jpg", :data => {:title => "test",:lightbox => "image-1"}
|
||||||
.clear
|
.clear
|
||||||
|
Loading…
x
Reference in New Issue
Block a user