Skip to content

Commit

Permalink
improve CSS, partially for Firefox
Browse files Browse the repository at this point in the history
  • Loading branch information
mrieser committed Sep 9, 2024
1 parent d50b5c9 commit bfef000
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/_layouts/news.njk
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ layout: base
{% set postYear = '' %}
{% set postslist = collections.newsAndJobs %} {% for post in postslist.slice(0, 4) %}
{% set postYear = post.date.getFullYear() %}
<li class="overflow-hidden full-news">
<li class="full-news">
<h3>
<a href="{{ post.url | url }}">{{ post.data.title }}</a>
</h3>
Expand Down
3 changes: 3 additions & 0 deletions src/assets/css/blocks/news.css
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@
#news-list h3 a {
text-decoration: none;
}
#news-list h3 a:focus {
display: block;
}
#news-list h3 a:hover {
text-decoration: underline;
}
Expand Down

0 comments on commit bfef000

Please sign in to comment.