Skip to content

Commit

Permalink
a11y: plus d'espace autour de liens pour faciliter l'usage mobile
Browse files Browse the repository at this point in the history
  • Loading branch information
marc-bouvier committed Nov 1, 2024
1 parent ebe3217 commit 49451e6
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
6 changes: 5 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,11 @@ <h2>Articles</h2>
<p>Ici, j'écris autant que je peux sur des sujets variés (en général techniques)</p>
<ul>
{% for blog in collections.latestFewFinishedArticles %}
<li style="display: flex;border-bottom: darkgray dotted 1px; justify-content: space-between;">
<li style="
display: flex;
border-bottom: darkgray dotted 1px;
justify-content: space-between;
padding: .2rem;">
<a href="{{blog.url}}" style="text-decoration: none; flex-grow:1;">{{ blog.data.title }}</a>
<time datetime="{{blog.data.date}}" style="font-family: monospace">
{{ blog.data.date | toLocaleStringFrShort }}
Expand Down
6 changes: 5 additions & 1 deletion making-of.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,11 @@

<ul>
{% for making-of in collections.making-of %}
<li style="display: flex;border-bottom: darkgray dotted 1px; justify-content: space-between;">
<li style="
display: flex;
border-bottom: darkgray dotted 1px;
justify-content: space-between;
padding: .2rem;">
<a href="{{making-of.url}}" style="text-decoration: none; flex-grow:1;">{{ making-of.data.title }}</a>
<time datetime="{{making-of.data.date}}" style="font-family: monospace;">
{{ making-of.data.date | toLocaleStringFrShort }}
Expand Down

0 comments on commit 49451e6

Please sign in to comment.