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

View File

@ -73,7 +73,7 @@
-if article
%a{:href => public_article_path(:id => article.slug)}
.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
%h1=article.title