branch: externals/org
commit 00cd6de31ba20cf79e8c53b28f020ca8a75144d9
Author: TEC <[email protected]>
Commit: Bastien Guerry <[email protected]>
ox-html.el: Limit maximum content width and center
* lisp/ox-html.el (org-html-style-default): Improve appearance and
legibility on large screens buy centering and limiting the content
width to the upper end of advised line width, ~140 characters.
---
lisp/ox-html.el | 1 +
1 file changed, 1 insertion(+)
diff --git a/lisp/ox-html.el b/lisp/ox-html.el
index 20fb2cb..6752e8f 100644
--- a/lisp/ox-html.el
+++ b/lisp/ox-html.el
@@ -259,6 +259,7 @@ property on the headline itself.")
(defconst org-html-style-default
"<style type=\"text/css\">
+ #content { max-width: 60em; margin: auto; }
.title { text-align: center;
margin-bottom: .2em; }
.subtitle { text-align: center;