Skip to content

Commit

Permalink
style(front): improve list styles
Browse files Browse the repository at this point in the history
  • Loading branch information
dgrebb committed Feb 1, 2024
1 parent 5d32461 commit 0966ceb
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion front/src/lib/styles/base/typography.css
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ h1.page-heading {
.meat {
ol,
ul {
margin: 0.75rem 0 0.75rem 1.5rem;
margin: 0.75rem 0 0.75rem 0;
ol,
ul {
margin: 0.75rem 0 0.75rem 0.75rem;
Expand Down
10 changes: 6 additions & 4 deletions front/src/lib/styles/pages/post.css
Original file line number Diff line number Diff line change
Expand Up @@ -187,14 +187,16 @@
ol {
li {
counter-increment: item;
padding-left: 1rem;
list-style-type: none;
&:before {
display: inline-block;
padding-right: 0.5em;
width: 1.5em;
position: absolute;
left: 1rem;
margin-right: 0.5rem;
content: counter(item) '.';
color: var(--fg-clr-ooo);
font-family: var(--font-psb);
text-align: right;
/* text-align: right; */
}
}
}
Expand Down

0 comments on commit 0966ceb

Please sign in to comment.