summaryrefslogtreecommitdiff
path: root/src/node/utils
diff options
context:
space:
mode:
authorJohn McLear <john@mclear.co.uk>2014-12-30 14:53:44 +0100
committerJohn McLear <john@mclear.co.uk>2014-12-30 14:53:44 +0100
commit90e83ed6b5a1676495db6c704a31c1f5b56bc22e (patch)
tree8fde85979c3455b53f4f56ab93bcebf9425f85b7 /src/node/utils
parent716b1c6113dd520323e15ae2e60089d8fac5777d (diff)
downloadetherpad-lite-90e83ed6b5a1676495db6c704a31c1f5b56bc22e.zip
more styling
Diffstat (limited to 'src/node/utils')
-rw-r--r--src/node/utils/ExportHtml.js19
1 files changed, 13 insertions, 6 deletions
diff --git a/src/node/utils/ExportHtml.js b/src/node/utils/ExportHtml.js
index e23efb48..4b2843c2 100644
--- a/src/node/utils/ExportHtml.js
+++ b/src/node/utils/ExportHtml.js
@@ -469,32 +469,39 @@ exports.getPadHTMLDocument = function (padId, revNum, noDocType, callback)
'line-height: 17px; }' +
'ul.indent { list-style-type: none; }' +
- 'ol { list-style-type: none; }' +
+ 'ol { list-style-type: none; padding-left:0;}' +
'body > ol { counter-reset: first second; }' +
'ol > li:before {' +
'content: counter(first) ". " ;'+
'counter-increment: first;}' +
- 'ol > li > ol > li:before {' +
+ 'ol > ol > li:before {' +
'content: counter(first) "." counter(second) ". " ;'+
'counter-increment: second;}' +
- 'ol > li > ol > li > ol > li:before {' +
+ 'ol > ol > ol > li:before {' +
'content: counter(first) "." counter(second) "." counter(third) ". ";'+
'counter-increment: third;}' +
- 'ol > li > ol > li > ol > li > ol > li:before {' +
+ 'ol > ol > ol > ol > li:before {' +
'content: counter(first) "." counter(second) "." counter(third) "." counter(fourth) ". ";'+
'counter-increment: fourth;}' +
- 'ol > li > ol > li > ol > li > ol > li > ol > li:before {' +
+ 'ol > ol > ol > ol > ol > li:before {' +
'content: counter(first) "." counter(second) "." counter(third) "." counter(fourth) "." counter(fifth) ". ";'+
'counter-increment: fifth;}' +
- 'ol > li > ol > li > ol > li > ol > li > ol > li > ol > li:before {' +
+ 'ol > ol > ol > ol > ol > ol > li:before {' +
'content: counter(first) "." counter(second) "." counter(third) "." counter(fourth) "." counter(fifth) "." counter(sixth) ". ";'+
'counter-increment: sixth;}' +
+ 'ol{ text-indent: 0px; }' +
+ 'ol > ol{ text-indent: 10px; }' +
+ 'ol > ol > ol{ text-indent: 20px; }' +
+ 'ol > ol > ol > ol{ text-indent: 30px; }' +
+ 'ol > ol > ol > ol > ol{ text-indent: 40px; }' +
+ 'ol > ol > ol > ol > ol > ol{ text-indent: 50px; }' +
+
stylesForExportCSS +
'</style>\n' + '</head>\n') +
'<body>';