mirror of
https://github.com/TomHodson/tomhodson.github.com.git
synced 2025-06-26 10:01:18 +02:00
clamp the size of images that appear in the blogroll
This commit is contained in:
parent
e2cb2a0aa2
commit
6b21844d4a
@ -15,8 +15,14 @@ figure {
|
|||||||
// border-top: solid #222 1px;
|
// border-top: solid #222 1px;
|
||||||
// padding-top: 1em;
|
// padding-top: 1em;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//clamp the size of the images on the blog roll
|
||||||
|
figure.blogroll > img, figure.blogroll > svg {
|
||||||
|
max-height: 300px;
|
||||||
|
}
|
||||||
|
|
||||||
figure > img, figure > svg {
|
figure > img, figure > svg {
|
||||||
width: 90% !important;
|
max-width: 90% !important;
|
||||||
margin-bottom: 2em;
|
margin-bottom: 2em;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -7,6 +7,6 @@ permalink: /blog/
|
|||||||
<article>
|
<article>
|
||||||
<h2><a href="{{ post.url }}">{{ post.title }}</a></h2>
|
<h2><a href="{{ post.url }}">{{ post.title }}</a></h2>
|
||||||
<summary>{{ post.excerpt }}</summary>
|
<summary>{{ post.excerpt }}</summary>
|
||||||
<figure><img src = "{{post.image}}"></figure>
|
<figure class="blogroll"><img src = "{{post.image}}"></figure>
|
||||||
</article>
|
</article>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user