Skip to content

Commit

Permalink
Remove list styling from post list
Browse files Browse the repository at this point in the history
  • Loading branch information
bash committed Jul 22, 2024
1 parent 0dc5b8c commit f192eb7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions sass/_typography.scss
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,11 @@ ol {
padding-inline-start: 2ch;
}

:is(ul, ol)._semantic {
list-style-type: none;
padding-inline-start: 0;
}

blockquote {
font-style: italic;
background-color: var(--bg-1-color);
Expand Down
2 changes: 1 addition & 1 deletion templates/includes/post_list.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{% macro post_list(posts, placeholder) %}
{% if posts | length > 0 %}
<ul class="post-list">
<ul class="post-list _semantic">
{% for post in posts %}
<li>
<h3>
Expand Down

0 comments on commit f192eb7

Please sign in to comment.