Skip to content

Commit

Permalink
Fixed some styling in post list
Browse files Browse the repository at this point in the history
  • Loading branch information
legoraft committed Sep 25, 2024
1 parent 4dde502 commit e6fb1cd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion _includes/post-list.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<ul class="postlist">
{% for post in site.posts %}
<li>
<a class="postlink">
<a href="{{ post.url }}" class="postlink">
<p id="date">{{ post.date | date: "%Y-%m-%d" }}</p>
<p id="title">{{ post.title }}</p>
</a>
Expand Down
3 changes: 2 additions & 1 deletion _sass/post-list.scss
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ ul.postlist {
a.postlink {
display: flex;
text-decoration: none;
gap: 1.5rem;

p#date {
color: $unfocused;
Expand All @@ -15,7 +16,7 @@ a.postlink {
p#title {
color: $foreground;

*:hover {
&:hover {
text-decoration: underline;
}
}
Expand Down

0 comments on commit e6fb1cd

Please sign in to comment.