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

View file

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