Variable: org-html-style-default
org-html-style-default is a customizable variable defined in
ox-html.el.gz.
Value
"<style type=\"text/css\">\n #content { max-width: 60em; margin: auto; }\n .title { text-align: center;\n margin-bottom: .2em; }\n .subtitle { text-align: center;\n font-size: medium;\n font-weight: bold;\n margin-top:0; }\n .todo { font-family: monospace; color: red; }\n .done { font-family: monospace; color: green; }\n .priority { font-family: monospace; color: orange; }\n .tag { background-color: #eee; font-family: monospace;\n padding: 2px; font-size: 80%; font-weight: normal; }\n .timestamp { color: #bebebe; }\n .timestamp-kwd { color: #5f9ea0; }\n .org-right { margin-left: auto; margin-right: 0px; text-align: right; }\n .org-left { margin-left: 0px; margin-right: auto; text-align: left; }\n .org-center { margin-left: auto; margin-right: auto; text-align: center; }\n .underline { text-decoration: underline; }\n #postamble p, #preamble p { font-size: 90%; margin: .2em; }\n p.verse { margin-left: 3%; }\n pre {\n border: 1px solid #e6e6e6;\n border-radius: 3px;\n background-color: #f2f2f2;\n padding: 8pt;\n font-family: monospace;\n overflow: auto;\n margin: 1.2em;\n }\n pre.src {\n position: relative;\n overflow: auto;\n }\n pre.src:before {\n display: none;\n position: absolute;\n top: -8px;\n right: 12px;\n padding: 3px;\n color: #555;\n background-color: #f2f2f299;\n }\n pre.src:hover:before { display: inline; margin-top: 14px;}\n /* Languages per Org manual */\n pre.src-asymptote:before { content: 'Asymptote'; }\n pre.src-awk:before { content: 'Awk'; }\n pre.src-authinfo::before { content: 'Authinfo'; }\n pre.src-C:before { content: 'C'; }\n /* pre.src-C++ doesn't work in CSS */\n pre.src-clojure:before { content: 'Clojure'; }\n pre.src-css:before { content: 'CSS'; }\n pre.src-D:before { content: 'D'; }\n pre.src-ditaa:before { content: 'ditaa'; }\n pre.src-dot:before { content: 'Graphviz'; }\n pre.src-calc:before { content: 'Emacs Calc'; }\n pre.src-emacs-lisp:before { content: 'Emacs Lisp'; }\n pre.src-fortran:before { content: 'Fortran'; }\n pre.src-gnuplot:before { content: 'gnuplot'; }\n pre.src-haskell:before { content: 'Haskell'; }\n pre.src-hledger:before { content: 'hledger'; }\n pre.src-java:before { content: 'Java'; }\n pre.src-js:before { content: 'Javascript'; }\n pre.src-latex:before { content: 'LaTeX'; }\n pre.src-ledger:before { content: 'Ledger'; }\n pre.src-lisp:before { content: 'Lisp'; }\n pre.src-lilypond:before { content: 'Lilypond'; }\n pre.src-lua:before { content: 'Lua'; }\n pre.src-matlab:before { content: 'MATLAB'; }\n pre.src-mscgen:before { content: 'Mscgen'; }\n pre.src-ocaml:before { content: 'Objective Caml'; }\n pre.src-octave:before { content: 'Octave'; }\n pre.src-org:before { content: 'Org mode'; }\n pre.src-oz:before { content: 'OZ'; }\n pre.src-plantuml:before { content: 'Plantuml'; }\n pre.src-processing:before { content: 'Processing.js'; }\n pre.src-python:before { content: 'Python'; }\n pre.src-R:before { content: 'R'; }\n pre.src-ruby:before { content: 'Ruby'; }\n pre.src-sass:before { content: 'Sass'; }\n pre.src-scheme:before { content: 'Scheme'; }\n pre.src-screen:before { content: 'Gnu Screen'; }\n pre.src-sed:before { content: 'Sed'; }\n pre.src-sh:before { content: 'shell'; }\n pre.src-sql:before { content: 'SQL'; }\n pre.src-sqlite:before { content: 'SQLite'; }\n /* additional languages in org.el's org-babel-load-languages alist */\n pre.src-forth:before { content: 'Forth'; }\n pre.src-io:before { content: 'IO'; }\n pre.src-J:before { content: 'J'; }\n pre.src-makefile:before { content: 'Makefile'; }\n pre.src-maxima:before { content: 'Maxima'; }\n pre.src-perl:before { content: 'Perl'; }\n pre.src-picolisp:before { content: 'Pico Lisp'; }\n pre.src-scala:before { content: 'Scala'; }\n pre.src-shell:before { content: 'Shell Script'; }\n pre.src-ebnf2ps:before { content: 'ebfn2ps'; }\n /* additional language identifiers per \"defun org-babel-execute\"\n in ob-*.el */\n pre.src-cpp:before { content: 'C++'; }\n pre.src-abc:before { content: 'ABC'; }\n pre.src-coq:before { content: 'Coq'; }\n pre.src-groovy:before { content: 'Groovy'; }\n /* additional language identifiers from org-babel-shell-names in\n ob-shell.el: ob-shell is the only babel language using a lambda to put\n the execution function name together. */\n pre.src-bash:before { content: 'bash'; }\n pre.src-csh:before { content: 'csh'; }\n pre.src-ash:before { content: 'ash'; }\n pre.src-dash:before { content: 'dash'; }\n pre.src-ksh:before { content: 'ksh'; }\n pre.src-mksh:before { content: 'mksh'; }\n pre.src-posh:before { content: 'posh'; }\n /* Additional Emacs modes also supported by the LaTeX listings package */\n pre.src-ada:before { content: 'Ada'; }\n pre.src-asm:before { content: 'Assembler'; }\n pre.src-caml:before { content: 'Caml'; }\n pre.src-delphi:before { content: 'Delphi'; }\n pre.src-html:before { content: 'HTML'; }\n pre.src-idl:before { content: 'IDL'; }\n pre.src-mercury:before { content: 'Mercury'; }\n pre.src-metapost:before { content: 'MetaPost'; }\n pre.src-modula-2:before { content: 'Modula-2'; }\n pre.src-pascal:before { content: 'Pascal'; }\n pre.src-ps:before { content: 'PostScript'; }\n pre.src-prolog:before { content: 'Prolog'; }\n pre.src-simula:before { content: 'Simula'; }\n pre.src-tcl:before { content: 'tcl'; }\n pre.src-tex:before { content: 'TeX'; }\n pre.src-plain-tex:before { content: 'Plain TeX'; }\n pre.src-verilog:before { content: 'Verilog'; }\n pre.src-vhdl:before { content: 'VHDL'; }\n pre.src-xml:before { content: 'XML'; }\n pre.src-nxml:before { content: 'XML'; }\n /* add a generic configuration mode; LaTeX export needs an additional\n (add-to-list 'org-latex-listings-langs '(conf \" \")) in .emacs */\n pre.src-conf:before { content: 'Configuration File'; }\n\n table { border-collapse:collapse; }\n caption.t-above { caption-side: top; }\n caption.t-bottom { caption-side: bottom; }\n td, th { vertical-align:top; }\n th.org-right { text-align: center; }\n th.org-left { text-align: center; }\n th.org-center { text-align: center; }\n td.org-right { text-align: right; }\n td.org-left { text-align: left; }\n td.org-center { text-align: center; }\n dt { font-weight: bold; }\n .footpara { display: inline; }\n .footdef { margin-bottom: 1em; }\n .figure { padding: 1em; }\n .figure p { text-align: center; }\n .equation-container {\n display: table;\n text-align: center;\n width: 100%;\n }\n .equation {\n vertical-align: middle;\n }\n .equation-label {\n display: table-cell;\n text-align: right;\n vertical-align: middle;\n }\n .inlinetask {\n padding: 10px;\n border: 2px solid gray;\n margin: 10px;\n background: #ffffcc;\n }\n #org-div-home-and-up\n { text-align: right; font-size: 70%; white-space: nowrap; }\n textarea { overflow-x: auto; }\n .linenr { font-size: smaller }\n .code-highlighted { background-color: #ffff00; }\n .org-info-js_info-navigation { border-style: none; }\n #org-info-js_console-label\n { font-size: 10px; font-weight: bold; white-space: nowrap; }\n .org-info-js_search-highlight\n { background-color: #ffff00; color: #000000; font-weight: bold; }\n .org-svg { }\n</style>"
Documentation
The default style specification for exported HTML files.
You can use org-html-head and org-html-head-extra to add to
this style. If you don't want to include this default style,
customize org-html-head-include-default-style.
This variable was added, or its default value changed, in Org version
9.5.
Source Code
;; Defined in /usr/src/emacs/lisp/org/ox-html.el.gz
(defcustom 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;
font-size: medium;
font-weight: bold;
margin-top:0; }
.todo { font-family: monospace; color: red; }
.done { font-family: monospace; color: green; }
.priority { font-family: monospace; color: orange; }
.tag { background-color: #eee; font-family: monospace;
padding: 2px; font-size: 80%; font-weight: normal; }
.timestamp { color: #bebebe; }
.timestamp-kwd { color: #5f9ea0; }
.org-right { margin-left: auto; margin-right: 0px; text-align: right; }
.org-left { margin-left: 0px; margin-right: auto; text-align: left; }
.org-center { margin-left: auto; margin-right: auto; text-align: center; }
.underline { text-decoration: underline; }
#postamble p, #preamble p { font-size: 90%; margin: .2em; }
p.verse { margin-left: 3%; }
pre {
border: 1px solid #e6e6e6;
border-radius: 3px;
background-color: #f2f2f2;
padding: 8pt;
font-family: monospace;
overflow: auto;
margin: 1.2em;
}
pre.src {
position: relative;
overflow: auto;
}
pre.src:before {
display: none;
position: absolute;
top: -8px;
right: 12px;
padding: 3px;
color: #555;
background-color: #f2f2f299;
}
pre.src:hover:before { display: inline; margin-top: 14px;}
/* Languages per Org manual */
pre.src-asymptote:before { content: 'Asymptote'; }
pre.src-awk:before { content: 'Awk'; }
pre.src-authinfo::before { content: 'Authinfo'; }
pre.src-C:before { content: 'C'; }
/* pre.src-C++ doesn't work in CSS */
pre.src-clojure:before { content: 'Clojure'; }
pre.src-css:before { content: 'CSS'; }
pre.src-D:before { content: 'D'; }
pre.src-ditaa:before { content: 'ditaa'; }
pre.src-dot:before { content: 'Graphviz'; }
pre.src-calc:before { content: 'Emacs Calc'; }
pre.src-emacs-lisp:before { content: 'Emacs Lisp'; }
pre.src-fortran:before { content: 'Fortran'; }
pre.src-gnuplot:before { content: 'gnuplot'; }
pre.src-haskell:before { content: 'Haskell'; }
pre.src-hledger:before { content: 'hledger'; }
pre.src-java:before { content: 'Java'; }
pre.src-js:before { content: 'Javascript'; }
pre.src-latex:before { content: 'LaTeX'; }
pre.src-ledger:before { content: 'Ledger'; }
pre.src-lisp:before { content: 'Lisp'; }
pre.src-lilypond:before { content: 'Lilypond'; }
pre.src-lua:before { content: 'Lua'; }
pre.src-matlab:before { content: 'MATLAB'; }
pre.src-mscgen:before { content: 'Mscgen'; }
pre.src-ocaml:before { content: 'Objective Caml'; }
pre.src-octave:before { content: 'Octave'; }
pre.src-org:before { content: 'Org mode'; }
pre.src-oz:before { content: 'OZ'; }
pre.src-plantuml:before { content: 'Plantuml'; }
pre.src-processing:before { content: 'Processing.js'; }
pre.src-python:before { content: 'Python'; }
pre.src-R:before { content: 'R'; }
pre.src-ruby:before { content: 'Ruby'; }
pre.src-sass:before { content: 'Sass'; }
pre.src-scheme:before { content: 'Scheme'; }
pre.src-screen:before { content: 'Gnu Screen'; }
pre.src-sed:before { content: 'Sed'; }
pre.src-sh:before { content: 'shell'; }
pre.src-sql:before { content: 'SQL'; }
pre.src-sqlite:before { content: 'SQLite'; }
/* additional languages in org.el's org-babel-load-languages alist */
pre.src-forth:before { content: 'Forth'; }
pre.src-io:before { content: 'IO'; }
pre.src-J:before { content: 'J'; }
pre.src-makefile:before { content: 'Makefile'; }
pre.src-maxima:before { content: 'Maxima'; }
pre.src-perl:before { content: 'Perl'; }
pre.src-picolisp:before { content: 'Pico Lisp'; }
pre.src-scala:before { content: 'Scala'; }
pre.src-shell:before { content: 'Shell Script'; }
pre.src-ebnf2ps:before { content: 'ebfn2ps'; }
/* additional language identifiers per \"defun org-babel-execute\"
in ob-*.el */
pre.src-cpp:before { content: 'C++'; }
pre.src-abc:before { content: 'ABC'; }
pre.src-coq:before { content: 'Coq'; }
pre.src-groovy:before { content: 'Groovy'; }
/* additional language identifiers from org-babel-shell-names in
ob-shell.el: ob-shell is the only babel language using a lambda to put
the execution function name together. */
pre.src-bash:before { content: 'bash'; }
pre.src-csh:before { content: 'csh'; }
pre.src-ash:before { content: 'ash'; }
pre.src-dash:before { content: 'dash'; }
pre.src-ksh:before { content: 'ksh'; }
pre.src-mksh:before { content: 'mksh'; }
pre.src-posh:before { content: 'posh'; }
/* Additional Emacs modes also supported by the LaTeX listings package */
pre.src-ada:before { content: 'Ada'; }
pre.src-asm:before { content: 'Assembler'; }
pre.src-caml:before { content: 'Caml'; }
pre.src-delphi:before { content: 'Delphi'; }
pre.src-html:before { content: 'HTML'; }
pre.src-idl:before { content: 'IDL'; }
pre.src-mercury:before { content: 'Mercury'; }
pre.src-metapost:before { content: 'MetaPost'; }
pre.src-modula-2:before { content: 'Modula-2'; }
pre.src-pascal:before { content: 'Pascal'; }
pre.src-ps:before { content: 'PostScript'; }
pre.src-prolog:before { content: 'Prolog'; }
pre.src-simula:before { content: 'Simula'; }
pre.src-tcl:before { content: 'tcl'; }
pre.src-tex:before { content: 'TeX'; }
pre.src-plain-tex:before { content: 'Plain TeX'; }
pre.src-verilog:before { content: 'Verilog'; }
pre.src-vhdl:before { content: 'VHDL'; }
pre.src-xml:before { content: 'XML'; }
pre.src-nxml:before { content: 'XML'; }
/* add a generic configuration mode; LaTeX export needs an additional
(add-to-list 'org-latex-listings-langs '(conf \" \")) in .emacs */
pre.src-conf:before { content: 'Configuration File'; }
table { border-collapse:collapse; }
caption.t-above { caption-side: top; }
caption.t-bottom { caption-side: bottom; }
td, th { vertical-align:top; }
th.org-right { text-align: center; }
th.org-left { text-align: center; }
th.org-center { text-align: center; }
td.org-right { text-align: right; }
td.org-left { text-align: left; }
td.org-center { text-align: center; }
dt { font-weight: bold; }
.footpara { display: inline; }
.footdef { margin-bottom: 1em; }
.figure { padding: 1em; }
.figure p { text-align: center; }
.equation-container {
display: table;
text-align: center;
width: 100%;
}
.equation {
vertical-align: middle;
}
.equation-label {
display: table-cell;
text-align: right;
vertical-align: middle;
}
.inlinetask {
padding: 10px;
border: 2px solid gray;
margin: 10px;
background: #ffffcc;
}
#org-div-home-and-up
{ text-align: right; font-size: 70%; white-space: nowrap; }
textarea { overflow-x: auto; }
.linenr { font-size: smaller }
.code-highlighted { background-color: #ffff00; }
.org-info-js_info-navigation { border-style: none; }
#org-info-js_console-label
{ font-size: 10px; font-weight: bold; white-space: nowrap; }
.org-info-js_search-highlight
{ background-color: #ffff00; color: #000000; font-weight: bold; }
.org-svg { }
</style>"
"The default style specification for exported HTML files.
You can use `org-html-head' and `org-html-head-extra' to add to
this style. If you don't want to include this default style,
customize `org-html-head-include-default-style'."
:group 'org-export-html
:package-version '(Org . "9.5")
:type 'string)