Skip to content

Commit

Permalink
feat: style lists properly (#14)
Browse files Browse the repository at this point in the history
* feat: style lists properly

* fix: display numbers and bullet points for `ul` `li`
  • Loading branch information
angelofallars authored Feb 7, 2024
1 parent 40a9937 commit 08ba4f5
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions css/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,15 @@ body.dark img {
filter: brightness(0.9) contrast(1.1);
}

header {
& li {
list-style-type: none;
}
& ul {
padding: 0;
}
}

ul {
padding: 0;
}
Expand Down Expand Up @@ -147,6 +156,18 @@ pre code {
border-radius: 50%;
}

ol {
padding-left: 1.5em;
}

ul {
padding-left: 0.8em;
}

li p {
display: inline;
}

.dark-mode-toggle {
border: none;
background-color: transparent;
Expand Down

0 comments on commit 08ba4f5

Please sign in to comment.