emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/org 00cd6de 2/6: ox-html.el: Limit maximum content widt


From: ELPA Syncer
Subject: [elpa] externals/org 00cd6de 2/6: ox-html.el: Limit maximum content width and center
Date: Wed, 28 Apr 2021 02:57:11 -0400 (EDT)

branch: externals/org
commit 00cd6de31ba20cf79e8c53b28f020ca8a75144d9
Author: TEC <tec@tecosaur.com>
Commit: Bastien Guerry <bzg@gnu.org>

    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;



reply via email to

[Prev in Thread] Current Thread [Next in Thread]