56 lines
1.0 KiB
Plaintext
56 lines
1.0 KiB
Plaintext
#plume_wrapper
|
|
=render :partial => "top"
|
|
|
|
.plume_index
|
|
-Plume.where(:enabled => true).order("number DESC").each do |plume|
|
|
=link_to public_plume_path(plume) do
|
|
.plume_panel
|
|
=image_tag plume.couv_image_file.file.url if plume.couv_image_file
|
|
.desc
|
|
%h3
|
|
La plume
|
|
="n°#{plume.number}"
|
|
%strong
|
|
=plume.p_version
|
|
.clear
|
|
|
|
:scss
|
|
.plume_index{
|
|
max-width:1100px;
|
|
padding:40px 30px;
|
|
margin:20px auto;
|
|
|
|
.plume_panel{
|
|
width:48%;
|
|
margin:0 1%;
|
|
margin-bottom:20px;
|
|
h3{
|
|
font-size:35px;
|
|
padding-top:5px;
|
|
margin-bottom:0;
|
|
}
|
|
strong{
|
|
display:block;
|
|
padding:5px 0;
|
|
color:black;
|
|
font-size:17px;
|
|
}
|
|
img{
|
|
width:150px;
|
|
float:left;
|
|
}
|
|
.desc{
|
|
margin-left:165px;
|
|
|
|
}
|
|
}
|
|
|
|
|
|
}
|
|
.clear{
|
|
clear:both;
|
|
}
|
|
|
|
#plume_wrapper{
|
|
padding-bottom:20px;
|
|
} |