diff options
author | Olivier Roques <oroques@fastmail.com> | 2020-08-09 15:31:13 +0200 |
---|---|---|
committer | Olivier Roques <oroques@fastmail.com> | 2020-08-09 15:31:13 +0200 |
commit | 1bf1b7c3179abaf2358b8546f4eed14345b84b4a (patch) | |
tree | fa09cc156fb9d3090e578daef838d8f2c2063fdf /assets | |
parent | 961670855812c72297e498e536c560992644e256 (diff) |
Update list css
Diffstat (limited to 'assets')
-rw-r--r-- | assets/sass/researcher.scss | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/assets/sass/researcher.scss b/assets/sass/researcher.scss index 0b7245c..1631f1c 100644 --- a/assets/sass/researcher.scss +++ b/assets/sass/researcher.scss @@ -45,13 +45,13 @@ display: block; margin: $margin-y auto; } + div > ol { + padding-left: 0; + } ol { counter-reset: list; list-style: none; - padding-left: 0; & > li { - padding-left: 4ch; - text-indent: -4ch; margin: 4px 0; &:before { content: "[" counter(list, decimal) "] "; @@ -62,9 +62,11 @@ pre code { color: inherit; } + div > ul { + padding-left: 0; + } ul { list-style: inside; - padding-left: 0; & > li { margin: 4px 0; } |