diff options
Diffstat (limited to 'theme/stylesheets/ebook.less')
-rwxr-xr-x | theme/stylesheets/ebook.less | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/theme/stylesheets/ebook.less b/theme/stylesheets/ebook.less index a925fcf..cfbbfe5 100755 --- a/theme/stylesheets/ebook.less +++ b/theme/stylesheets/ebook.less @@ -86,6 +86,12 @@ body { padding-left: 5px; } } + + ol { + margin: 0px; + padding: 0px; + padding-left: 2em; + } } } @@ -115,3 +121,22 @@ body { } } } + +// For LTR, fix direction of table of content +body.dir-rtl { + .page.page-toc { + li { + .inner { + .page { + float: left; + } + } + + ol { + margin: 0px; + padding: 0px; + padding-right: 2em; + } + } + } +} |