préparation pour iframe youtube
This commit is contained in:
parent
fdadb33a65
commit
12c8c65886
@ -211,6 +211,11 @@ $("document").ready ->
|
|||||||
offset= 0
|
offset= 0
|
||||||
|
|
||||||
resize = ->
|
resize = ->
|
||||||
|
|
||||||
|
$("iframe").each ->
|
||||||
|
$(this).css
|
||||||
|
"height" : Math.round($(this).width()/ 1.77)+"px"
|
||||||
|
|
||||||
if $(window).width() > 1250
|
if $(window).width() > 1250
|
||||||
$(".infos .main").css
|
$(".infos .main").css
|
||||||
"position" : "static"
|
"position" : "static"
|
||||||
|
@ -2,6 +2,12 @@
|
|||||||
@import "superslides";
|
@import "superslides";
|
||||||
|
|
||||||
@import "fontawesome/font-awesome";
|
@import "fontawesome/font-awesome";
|
||||||
|
|
||||||
|
iframe{
|
||||||
|
margin:auto;
|
||||||
|
width:100%;
|
||||||
|
|
||||||
|
}
|
||||||
.slider{
|
.slider{
|
||||||
|
|
||||||
overflow:hidden;
|
overflow:hidden;
|
||||||
@ -345,7 +351,7 @@ h4{
|
|||||||
line-height:1.7em;
|
line-height:1.7em;
|
||||||
padding: 25px 10px;
|
padding: 25px 10px;
|
||||||
padding-bottom:20px;
|
padding-bottom:20px;
|
||||||
margin-right:10px;
|
margin-right:5px;
|
||||||
border-bottom:5px solid transparent;
|
border-bottom:5px solid transparent;
|
||||||
|
|
||||||
&:hover, &.active{
|
&:hover, &.active{
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
=f.text_area :content, :style => "width:98%;height:400px;", :class => "inputText", :id => "ace_editor_textarea"
|
=f.text_area :content, :style => "width:98%;height:400px;", :class => "inputText", :id => "ace_editor_textarea"
|
||||||
|
|
||||||
%pre#ace_editor_pre{:style => "margin:0px;"}
|
%pre#ace_editor_pre{:style => "margin:0px;"}
|
||||||
|
=raw "<!---"
|
||||||
<script>
|
<script>
|
||||||
var editor;
|
var editor;
|
||||||
|
|
||||||
@ -30,7 +30,7 @@
|
|||||||
|
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
=raw "---->"
|
||||||
%table.form_table
|
%table.form_table
|
||||||
%tr
|
%tr
|
||||||
%td Style :
|
%td Style :
|
||||||
|
Loading…
x
Reference in New Issue
Block a user