💄 Style: update define list style

This commit is contained in:
Cell
2023-10-09 12:27:07 +08:00
parent 2956b9927c
commit 5df739e5dc
2 changed files with 18 additions and 3 deletions
+2
View File
@@ -8,4 +8,6 @@ All notable changes to this project will be documented in this file.
> Snapshot: <>
- :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
- **Full Changelog:** @Lruihao [`v0.2.18...v1.0.0`](https://github.com/hugo-fixit/FixIt/compare/v0.2.18...v1.0.0)
+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;