Skip to content

Commit

Permalink
💄 Style: update define list style
Browse files Browse the repository at this point in the history
  • Loading branch information
Lruihao committed Oct 9, 2023
1 parent 88ec3aa commit 7fa16bb
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 4 deletions.
4 changes: 3 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,14 @@ All notable changes to this project will be documented in this file.
## v0.2.18-lts

- :sparkles: Feat: add code block attributes support ([#330](https://github.com/hugo-fixit/FixIt/issues/330))
- :bug: Fix: use dateFormat function to render localized dates (@stefanoginobili [#355](https://github.com/hugo-fixit/FixIt/pull/355))
- :lipstick: Style: update define list style

## v0.2.18 [2023.3.31]

> **Note**
> This will be the last relatively stable 0.x release, after which the first major release will be incompatible with all previous 0.x releases
> Snapshot: <>
> Snapshot: <https://fixit-bpkhreqhl-x-cell.vercel.app>
## :boom: Breaking Updates

Expand Down
19 changes: 16 additions & 3 deletions assets/css/_page/_single.scss
Original file line number Diff line number Diff line change
Expand Up @@ -187,15 +187,24 @@
}

ul,
ol {
margin: 0.5rem 0;
padding-left: 2.5rem;
ol,
dl {
margin-block: 0.5em;
}

ul {
list-style-type: disc;
}

dl {
dt {
margin-bottom: 0.5em;
}
dd {
margin-inline-start: 1.25em;
}
}

ruby {
background: $code-background-color;

Expand Down Expand Up @@ -327,6 +336,10 @@
padding-left: 1.5em;
}

dl dd {
margin-inline-start: 0.25em;
}

[data-theme='dark'] & {
color: $blockquote-color-dark;
border-left-color: $global-border-color-dark;
Expand Down

0 comments on commit 7fa16bb

Please sign in to comment.