suite modifs

This commit is contained in:
Nicolas Bally 2014-11-10 22:10:13 +01:00
parent 52a9901578
commit f471f13d41
8 changed files with 21 additions and 9 deletions

View File

@ -60,6 +60,7 @@ $("document").ready ->
$("#large").append "<div class='img_container first' style='width:90%;margin:auto;'></div>"
$("#large").append "<img src='/close.png' class='close_link' />"
$(".img_container.first").append '<iframe width="1000" height="563" src="//www.youtube.com/embed/ED4b38n4d-U?rel=0&amp;showinfo=0" frameborder="0" allowfullscreen></iframe>'
@ -105,6 +106,7 @@ $("document").ready ->
$("#large").append "<div class='img_container first'></div>"
$("#large").append "<img src='/close.png' class='close_link' />"
$(".img_container.first").append "<img src="+$(this).attr("href")+" class='large-img' />"
if $(this).attr "title"
@ -148,6 +150,7 @@ $("document").ready ->
$("#large").append "<img src='/arrow-next.png' class='next' />"
$("#large").append "<img src='/arrow-prev.png' class='prev' />"
$("#large").append "<img src='/close.png' class='close_link' />"
$("#large").append "<div class='img_container first'></div>"
$(".img_container.first").append "<img src="+$(this).attr("href")+" class='large-img' />"

View File

@ -513,10 +513,17 @@ h1{
}
.cristal-protect .main.principal{
background:url("/fond-ligne.png") no-repeat;
background:url("/fond-ligne.jpg") no-repeat;
background-size:contain;
}
.close_link{
position:fixed;
top:10px;
right:10px;
width:40px;
cursor:pointer;
}

View File

@ -101,13 +101,14 @@
=yield
-if @menu_item and @menu_item.slug == "index"
<p style="text-align: right;-webkit-transform: rotate(-8deg);margin-top:4em;margin-bottom:-3em;">
<span style="font-size: 16px;" data-redactor-tag="span">
<span style="font-family: Stylograph;"><span style="font-size: 24px;">Notre ambition
? Concrétiser vos idées...
</span></span>
</span>
</p>
%p{:style => "text-align:center;-webkit-transform: rotate(-6deg);-moz-transform: rotate(-6deg);-o-transform: rotate(-6deg);;margin-top:3em;margin-bottom:3em;" }
<span style="font-size: 16px;" data-redactor-tag="span">
<span style="font-family: Stylograph;"><span style="font-size: 24px;">Notre ambition
?
<br />
Concrétiser vos idées...
</span></span>
</span>
-if @menu_item and @menu_item.slug == "index"
=link_to image_tag("/video.png", :style => "width:150px;position:absolute;bottom:-60px;right:10px;"),"#", :id => "video"

View File

@ -27,6 +27,7 @@
=render :partial => "admin/blocks/block", :locals => {:admin => false,:block => input.blocks[i-1], :sortable => false}
-else
=render :partial => "public/blocks/block", :locals => {:admin => false, :block => input.blocks[i-1], :sortable => false}
.clear
=raw "</div>" if input.style > 1 or input.style < 10
=raw "</div>" if !admin

BIN
public/close.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.7 KiB

BIN
public/fond-ligne copie.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 92 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 110 KiB

After

Width:  |  Height:  |  Size: 83 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 144 KiB

After

Width:  |  Height:  |  Size: 159 KiB