style and image alt text updates

This commit is contained in:
Ayo 2023-05-29 02:07:45 +02:00
parent 86d9a36c4a
commit 5674b8eefb
2 changed files with 11 additions and 6 deletions

View file

@ -36,8 +36,12 @@ layout: default
{% if page.image %}
<img
class="blog-post__header__image"
alt="{{page.image-alt | page.description | escape }}"
title="{{page.description | escape}}"
{% if page.image-alt %}
alt="{{page.image-alt | escape}} • Header image for: {{page.title | escape}} • {{page.description | escape}} • {{site.title | escape}} • {{site.description | escape}} • {{site.author | escape}}"
{% else %}
alt="Header image for: {{page.title | escape}} • {{page.description | escape}} • {{site.title | escape}} • {{site.description | escape}} • {{site.author | escape}}"
{% endif %}
title="Header image for: {{page.title | escape}} • {{page.description | escape}} • {{site.title | escape}} • {{site.description | escape}} • {{site.author | escape}}"
src="../assets/images/{{page.image}}.jpg"
/>
@ -90,6 +94,8 @@ layout: default
padding: 1em;
width: 100%;
text-align: center;
text-decoration: underline;
text-decoration-thickness: 1px;
display: inline-block;
font-size: 24px;
font-weight: bold;

View file

@ -39,6 +39,7 @@ body {
a {
color: #bb4a03;
text-decoration: underline;
text-decoration-thickness: 1px;
}
}
@ -334,7 +335,7 @@ table.image caption {
}
&__image-caption {
font-size: x-small;
font-size: small;
text-align: center;
margin-bottom: 0px;
}
@ -359,9 +360,6 @@ table.image caption {
}
p {
margin-top: 1em;
a {
text-decoration: underline;
}
}
blockquote {
font-style: normal;
@ -402,6 +400,7 @@ table.image caption {
#rss-sign-up a {
text-decoration: underline;
text-decoration-thickness: 1px;
color: #ee4a03;
}
}