finally get rid of org's inline css

This commit is contained in:
dongdigua 2024-11-24 20:33:42 +08:00
parent 4b70db6185
commit 6cd206c553
2 changed files with 11 additions and 6 deletions

View File

@ -13,9 +13,13 @@ body {
} }
body #content { body #content {
padding-top: 1em; padding-top: 1em;
max-width: 60em;
margin: auto;
} }
body .title { body .title {
margin-left: 0; margin-left: 0;
text-align: center;
margin-bottom: .2em;
} }
#org-div-home-and-up { #org-div-home-and-up {
@ -191,11 +195,12 @@ img {
pre { pre {
font-family: monospace; font-family: monospace;
/* color: black; */ border: 1px solid #e6e6e6;
border-radius: 3px;
background-color: #dce0e8; /* FROM cattery */ background-color: #dce0e8; /* FROM cattery */
/* background-color: #d7dfed; /\* FROM Bryan Ford *\/ */
padding: 1.2em;
overflow: auto; overflow: auto;
padding: 1.2em;
margin: 1.2em;
} }
div.summary { div.summary {
@ -302,18 +307,17 @@ pre.a:hover {
text-align: center; text-align: center;
padding: .3em; padding: .3em;
margin-bottom: 1em; margin-bottom: 1em;
/* border: 1px solid gray; */
background-color: #eaeaea; /* orgmode.org */ background-color: #eaeaea; /* orgmode.org */
} }
#postamble p, #preamble p { font-size: 90%; margin: .2em; }
#show_source { #show_source {
float: right; float: right;
margin: .7em; margin: .7em;
} }
@media screen @media screen
{ {
#table-of-contents { #table-of-contents {

View File

@ -16,6 +16,7 @@
(setq org-html-validation-link nil (setq org-html-validation-link nil
;; https://emacs-china.org/t/org-emacs-script-org-publish-all/20782 ;; https://emacs-china.org/t/org-emacs-script-org-publish-all/20782
org-html-htmlize-output-type 'css org-html-htmlize-output-type 'css
org-html-head-include-default-style nil
org-export-with-toc 1 org-export-with-toc 1
org-export-with-sub-superscripts '{}) org-export-with-sub-superscripts '{})