diff options
author | Olivier Roques <olivier@oroques.dev> | 2021-01-21 23:14:31 +0100 |
---|---|---|
committer | Olivier Roques <olivier@oroques.dev> | 2021-01-21 23:14:31 +0100 |
commit | 3f24d8825c7730ea788f32b03abdfc9d05e0b8ef (patch) | |
tree | 309415a4c8638a49603410a6ade9feda64894047 | |
parent | 97330779b46ddf28b2f6bc73e8fd2d31d605bddb (diff) |
Fix nested lists
Closes #11
-rw-r--r-- | assets/sass/researcher.scss | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/assets/sass/researcher.scss b/assets/sass/researcher.scss index d7837d3..e0794e7 100644 --- a/assets/sass/researcher.scss +++ b/assets/sass/researcher.scss @@ -80,14 +80,20 @@ $y-medium: 1.0rem; ol { counter-reset: list; list-style: none; - padding-left: 0; + padding-left: 2rem; & > li:before { content: "[" counter(list, decimal) "] "; counter-increment: list; } } + .container > ol { + padding-left: 0; + } ul { list-style: inside; + padding-left: 2rem; + } + .container > ul { padding-left: 0; } table { |