💄 Style: update define list style

This commit is contained in:
Cell
2023-10-09 12:27:07 +08:00
parent 88ec3aad5b
commit 7fa16bbf66
2 changed files with 19 additions and 4 deletions
+3 -1
View File
@@ -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
+16 -3
View File
@@ -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;
@@ -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;