public css
This commit is contained in:
parent
a5302bef37
commit
2e79ee6b61
@ -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{
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user