diff --git a/css/main.css b/css/main.css index a5ce5cf..363bf98 100644 --- a/css/main.css +++ b/css/main.css @@ -13,9 +13,13 @@ body { } body #content { padding-top: 1em; + max-width: 60em; + margin: auto; } body .title { margin-left: 0; + text-align: center; + margin-bottom: .2em; } #org-div-home-and-up { @@ -191,11 +195,12 @@ img { pre { font-family: monospace; - /* color: black; */ + border: 1px solid #e6e6e6; + border-radius: 3px; background-color: #dce0e8; /* FROM cattery */ - /* background-color: #d7dfed; /\* FROM Bryan Ford *\/ */ - padding: 1.2em; overflow: auto; + padding: 1.2em; + margin: 1.2em; } div.summary { @@ -302,18 +307,17 @@ pre.a:hover { text-align: center; padding: .3em; margin-bottom: 1em; - /* border: 1px solid gray; */ background-color: #eaeaea; /* orgmode.org */ } +#postamble p, #preamble p { font-size: 90%; margin: .2em; } + #show_source { float: right; margin: .7em; } - - @media screen { #table-of-contents { diff --git a/org/publish_config.el b/org/publish_config.el index 17cb8e5..0965384 100644 --- a/org/publish_config.el +++ b/org/publish_config.el @@ -16,6 +16,7 @@ (setq org-html-validation-link nil ;; https://emacs-china.org/t/org-emacs-script-org-publish-all/20782 org-html-htmlize-output-type 'css + org-html-head-include-default-style nil org-export-with-toc 1 org-export-with-sub-superscripts '{})