some styles
This commit is contained in:
parent
6e42e8b57b
commit
439362b45e
2 changed files with 6 additions and 1 deletions
|
@ -21,7 +21,7 @@ layout: default-home
|
||||||
<a class="post-link" href="{{ post.url | relative_url }}">{{ post.title | escape }}</a>
|
<a class="post-link" href="{{ post.url | relative_url }}">{{ post.title | escape }}</a>
|
||||||
</h3>
|
</h3>
|
||||||
<div class="float-left post-excerpt">
|
<div class="float-left post-excerpt">
|
||||||
<img class="float-right post-thumb" src="../assets/images/{{ post.image }}" />
|
<img class="float-right post-thumb" alt="{{ post.title | escape }}" src="../assets/images/{{ post.image }}" />
|
||||||
{{ post.excerpt }}
|
{{ post.excerpt }}
|
||||||
</div>
|
</div>
|
||||||
<div class="clear-both"></div>
|
<div class="clear-both"></div>
|
||||||
|
|
|
@ -172,6 +172,7 @@ article .post-content p {
|
||||||
|
|
||||||
.post-thumb {
|
.post-thumb {
|
||||||
width: 40%;
|
width: 40%;
|
||||||
|
margin: 10px 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.post-readmore {
|
.post-readmore {
|
||||||
|
@ -196,6 +197,10 @@ article .post-content p {
|
||||||
}
|
}
|
||||||
|
|
||||||
@media screen and (max-width: 600px) {
|
@media screen and (max-width: 600px) {
|
||||||
|
.post-thumb {
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
.jumbotron {
|
.jumbotron {
|
||||||
padding: 30px 0;
|
padding: 30px 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue