lesson.scss: 2em left padding for lists
authorMaxim Belkin <maxim-belkin@users.noreply.github.com>
Wed, 14 Dec 2016 17:08:17 +0000 (11:08 -0600)
committerGitHub <noreply@github.com>
Wed, 14 Dec 2016 17:08:17 +0000 (11:08 -0600)
commit43c4108df3e1c3100ecb6f999699b8da14fc8335
tree249ae19be64828a5b9aee5886551d98ad442c2b0
parent4030b747276c61ac5a3c19dd46525ea4d9b03799
lesson.scss: 2em left padding for lists

Example of the problem: see "Ten Things You Need To Know" from http://swcarpentry.github.io/lesson-example/
For numbered lists that have more that 9 elements 1 em padding on the left is not sufficient. The result is that "1" in numbers "10" and above is printed on top of the border of encapsulating HTML block. 2 em padding solves this problem for lists with less that 100 elements. It should be safe to safe to assume that numbered lists in Carpentries' lessons should not have more than 99 items.
assets/css/lesson.scss