public css

This commit is contained in:
Nicolas Bally 2015-11-06 22:55:17 +01:00
parent a5302bef37
commit 2e79ee6b61
2 changed files with 7 additions and 7 deletions

View File

@ -38,7 +38,7 @@ body{
margin:0; margin:0;
font-size:15px; font-size:15px;
color:#333333; color:#333333;
background:rgba(241,240,238,1);
} }
@ -313,7 +313,7 @@ margin:auto;
#corps{ #corps{
width:68%; width:68%;
float:left; float:left;
background:white;
} }
@ -510,11 +510,11 @@ article{
.image{ .image{
float:left; float:left;
width:65%; width:65%;
img{ background: #757575 center center no-repeat;
background-size:100%;
display:block; background-size:cover;
}
margin-bottom:5px; margin-bottom:5px;
height:400px;
} }
.description{ .description{

View File

@ -73,7 +73,7 @@
-if article -if article
%a{:href => public_article_path(:id => article.slug)} %a{:href => public_article_path(:id => article.slug)}
.first_article .first_article
.image=image_tag article.image_file.file.large.medium.url if article.image_file .image{:style => "background-image:url('"+(article.image_file.file.large.medium.url if article.image_file).to_s+"');"}
.description .description
%h1=article.title %h1=article.title