diff options
author | Olivier Roques <ojroques@users.noreply.github.com> | 2021-06-11 13:00:03 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-11 13:00:03 +0200 |
commit | dd49046de3ab3e51a5eb4b3df79dd50c4ea940f9 (patch) | |
tree | 3d47731d28100287d34b5dd8912791a9b6ba2777 /assets/sass | |
parent | e6e7d32b863e7f4a8aaaf897ee1923693f0b24dc (diff) | |
parent | 4212a696d86a642b617222e179419b2019cc65b5 (diff) |
Merge pull request #19 from n0b0dyCN/master
Keep indent of ol and ul to make multiple lines looks better
Diffstat (limited to 'assets/sass')
-rw-r--r-- | assets/sass/researcher.scss | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/assets/sass/researcher.scss b/assets/sass/researcher.scss index 89b5f09..8bd2561 100644 --- a/assets/sass/researcher.scss +++ b/assets/sass/researcher.scss @@ -91,9 +91,15 @@ $y-medium: 1.0rem; counter-reset: list; list-style: none; padding-left: 2rem; + & > li { + display: table-row; + } & > li:before { content: "[" counter(list, decimal) "] "; counter-increment: list; + display: table-cell; + text-align: right; + padding-right: .5em; } } .container > ol, .footnotes > ol { @@ -102,6 +108,10 @@ $y-medium: 1.0rem; ul { list-style: inside; padding-left: 2rem; + & > li { + list-style-position: outside; + margin-left: 1em; + } } .container > ul, .footnotes > ul { padding-left: 0; |