aboutsummaryrefslogtreecommitdiff
path: root/assets
diff options
context:
space:
mode:
authorOlivier Roques <olivier@oroques.dev>2021-01-21 23:14:31 +0100
committerOlivier Roques <olivier@oroques.dev>2021-01-21 23:14:31 +0100
commit3f24d8825c7730ea788f32b03abdfc9d05e0b8ef (patch)
tree309415a4c8638a49603410a6ade9feda64894047 /assets
parent97330779b46ddf28b2f6bc73e8fd2d31d605bddb (diff)
Fix nested lists
Closes #11
Diffstat (limited to 'assets')
-rw-r--r--assets/sass/researcher.scss8
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 {