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