Skip to content

Commit

Permalink
styles
Browse files Browse the repository at this point in the history
  • Loading branch information
markwkidd committed Dec 9, 2024
1 parent 2a9f5f4 commit fdd41b5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion _includes/embed_image.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
{% if include.caption %}
<figure class="caption-image {% if include.thumbnail %} third-size float-right{% endif %}">
{% endif %}
<img src="{{ site.baseurl }}{{ include.url }}" {% if include.alt %} alt="{{ include.alt }}" {% endif %} {% if include.width %} width="{{ include.width }}" {% endif %} {% if include.height %} height="{{ include.height }}" {% endif %} class="content-figure-image">
{% if include.caption %}
<figcaption>{{ include.caption }}</figcaption>
{% endif %}
</figure>
{% endif %}
2 changes: 1 addition & 1 deletion _sass/custom/custom.scss
Original file line number Diff line number Diff line change
Expand Up @@ -128,12 +128,12 @@ footer {

figure {
padding: 0;
background-color: $adaptation-tan;
border-radius: $border-radius;
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12), 0 3px 10px rgba(0, 0, 0, 0.08);

figcaption {
padding: 0 0.4rem 0.4rem 0.4rem;
background-color: $adaptation-tan;
font-size: 0.9rem;
line-height: 0.9;
}
Expand Down

0 comments on commit fdd41b5

Please sign in to comment.