syntax-coloring.css (16982B)
1/****************************** 2 * Org defaults 3 *** 4 * Source: org-plus-contrib/ox-html.el 5 ******************************/ 6.title { text-align: center; 7 margin-bottom: .2em; } 8.subtitle { text-align: center; 9 font-size: medium; 10 font-weight: bold; 11 margin-top:0; } 12.todo { font-family: monospace; color: red; } 13.done { font-family: monospace; color: green; } 14.priority { font-family: monospace; color: orange; } 15.tag { background-color: #eee; font-family: monospace; 16 padding: 2px; font-size: 80%; font-weight: normal; } 17.timestamp { color: #bebebe; } 18.timestamp-kwd { color: #5f9ea0; } 19.org-right { margin-left: auto; margin-right: 0px; text-align: right; } 20.org-left { margin-left: 0px; margin-right: auto; text-align: left; } 21.org-center { margin-left: auto; margin-right: auto; text-align: center; } 22.underline { text-decoration: underline; } 23#postamble p, #preamble p { font-size: 90%; margin: .2em; } 24p.verse { margin-left: 3%; } 25pre { 26 border: 1px solid #ccc; 27 box-shadow: 3px 3px 3px #eee; 28 padding: 8pt; 29 font-family: monospace; 30 overflow: auto; 31 margin: 1.2em; 32} 33pre.src { 34 position: relative; 35 overflow: visible; 36 padding: 0.5em 0 0.5em 0.9em; 37} 38pre.src:before { 39 display: none; 40 position: absolute; 41 background-color: white; 42 top: 0px; 43 right: 0px; 44 padding: 2px; 45 border: 1px solid black; 46} 47pre.src:hover:before { display: inline;} 48/* Languages per Org manual */ 49pre.src-asymptote:before { content: 'Asymptote'; } 50pre.src-awk:before { content: 'Awk'; } 51pre.src-C:before { content: 'C'; } 52/* pre.src-C++ doesn't work in CSS */ 53pre.src-clojure:before { content: 'Clojure'; } 54pre.src-css:before { content: 'CSS'; } 55pre.src-D:before { content: 'D'; } 56pre.src-ditaa:before { content: 'ditaa'; } 57pre.src-dot:before { content: 'Graphviz'; } 58pre.src-calc:before { content: 'Emacs Calc'; } 59pre.src-emacs-lisp:before { content: 'Emacs Lisp'; } 60pre.src-fortran:before { content: 'Fortran'; } 61pre.src-gnuplot:before { content: 'gnuplot'; } 62pre.src-haskell:before { content: 'Haskell'; } 63pre.src-hledger:before { content: 'hledger'; } 64pre.src-java:before { content: 'Java'; } 65pre.src-js:before { content: 'Javascript'; } 66pre.src-latex:before { content: 'LaTeX'; } 67pre.src-ledger:before { content: 'Ledger'; } 68pre.src-lisp:before { content: 'Lisp'; } 69pre.src-lilypond:before { content: 'Lilypond'; } 70pre.src-lua:before { content: 'Lua'; } 71pre.src-matlab:before { content: 'MATLAB'; } 72pre.src-mscgen:before { content: 'Mscgen'; } 73pre.src-ocaml:before { content: 'Objective Caml'; } 74pre.src-octave:before { content: 'Octave'; } 75pre.src-org:before { content: 'Org mode'; } 76pre.src-oz:before { content: 'OZ'; } 77pre.src-plantuml:before { content: 'Plantuml'; } 78pre.src-processing:before { content: 'Processing.js'; } 79pre.src-python:before { content: 'Python'; } 80pre.src-R:before { content: 'R'; } 81pre.src-ruby:before { content: 'Ruby'; } 82pre.src-sass:before { content: 'Sass'; } 83pre.src-scheme:before { content: 'Scheme'; } 84pre.src-screen:before { content: 'Gnu Screen'; } 85pre.src-sed:before { content: 'Sed'; } 86pre.src-sh:before { content: 'shell'; } 87pre.src-sql:before { content: 'SQL'; } 88pre.src-sqlite:before { content: 'SQLite'; } 89/* additional languages in org.el's org-babel-load-languages alist */ 90pre.src-forth:before { content: 'Forth'; } 91pre.src-io:before { content: 'IO'; } 92pre.src-J:before { content: 'J'; } 93pre.src-makefile:before { content: 'Makefile'; } 94pre.src-maxima:before { content: 'Maxima'; } 95pre.src-perl:before { content: 'Perl'; } 96pre.src-picolisp:before { content: 'Pico Lisp'; } 97pre.src-scala:before { content: 'Scala'; } 98pre.src-shell:before { content: 'Shell Script'; } 99pre.src-ebnf2ps:before { content: 'ebfn2ps'; } 100/* additional language identifiers per \"defun org-babel-execute\" 101 in ob-*.el */ 102pre.src-cpp:before { content: 'C++'; } 103pre.src-abc:before { content: 'ABC'; } 104pre.src-coq:before { content: 'Coq'; } 105pre.src-groovy:before { content: 'Groovy'; } 106/* additional language identifiers from org-babel-shell-names in 107 ob-shell.el: ob-shell is the only babel language using a lambda to put 108 the execution function name together. */ 109pre.src-bash:before { content: 'bash'; } 110pre.src-csh:before { content: 'csh'; } 111pre.src-ash:before { content: 'ash'; } 112pre.src-dash:before { content: 'dash'; } 113pre.src-ksh:before { content: 'ksh'; } 114pre.src-mksh:before { content: 'mksh'; } 115pre.src-posh:before { content: 'posh'; } 116/* Additional Emacs modes also supported by the LaTeX listings package */ 117pre.src-ada:before { content: 'Ada'; } 118pre.src-asm:before { content: 'Assembler'; } 119pre.src-caml:before { content: 'Caml'; } 120pre.src-delphi:before { content: 'Delphi'; } 121pre.src-html:before { content: 'HTML'; } 122pre.src-idl:before { content: 'IDL'; } 123pre.src-mercury:before { content: 'Mercury'; } 124pre.src-metapost:before { content: 'MetaPost'; } 125pre.src-modula-2:before { content: 'Modula-2'; } 126pre.src-pascal:before { content: 'Pascal'; } 127pre.src-ps:before { content: 'PostScript'; } 128pre.src-prolog:before { content: 'Prolog'; } 129pre.src-simula:before { content: 'Simula'; } 130pre.src-tcl:before { content: 'tcl'; } 131pre.src-tex:before { content: 'TeX'; } 132pre.src-plain-tex:before { content: 'Plain TeX'; } 133pre.src-verilog:before { content: 'Verilog'; } 134pre.src-vhdl:before { content: 'VHDL'; } 135pre.src-xml:before { content: 'XML'; } 136pre.src-nxml:before { content: 'XML'; } 137/* add a generic configuration mode; LaTeX export needs an additional 138 (add-to-list 'org-latex-listings-langs '(conf \" \")) in .emacs */ 139pre.src-conf:before { content: 'Configuration File'; } 140 141table { border-collapse:collapse; } 142caption.t-above { caption-side: top; } 143caption.t-bottom { caption-side: bottom; } 144td, th { vertical-align:top; } 145th.org-right { text-align: center; } 146th.org-left { text-align: center; } 147th.org-center { text-align: center; } 148td.org-right { text-align: right; } 149td.org-left { text-align: left; } 150td.org-center { text-align: center; } 151dt { font-weight: bold; } 152.footpara { display: inline; } 153.footdef { margin-bottom: 0.5em; } 154.figure { padding: 1em; } 155.figure p { text-align: center; } 156.inlinetask { 157 padding: 10px; 158 border: 2px solid gray; 159 margin: 10px; 160 background: #ffffcc; 161} 162#org-div-home-and-up 163 { text-align: right; font-size: 70%; white-space: nowrap; } 164textarea { overflow-x: auto; } 165.linenr { font-size: smaller } 166.code-highlighted { background-color: #ffff00; } 167.org-info-js_info-navigation { border-style: none; } 168#org-info-js_console-label 169 { font-size: 10px; font-weight: bold; white-space: nowrap; } 170.org-info-js_search-highlight 171 { background-color: #ffff00; color: #000000; font-weight: bold; } 172.org-svg { width: 90%; } 173 174/****************************** 175 * Syntax highlighting 176 *** 177 * Source: https://github.com/fniessen/org-html-themes/blob/master/styles/bigblow/css/htmlize.css 178 ******************************/ 179.org-bold { /* bold */ font-weight: bold; } 180.org-bold-italic { /* bold-italic */ font-weight: bold; font-style: italic; } 181.org-buffer-menu-buffer { /* buffer-menu-buffer */ font-weight: bold; } 182.org-builtin { /* font-lock-builtin-face */ color: #7a378b; } 183.org-button { /* button */ text-decoration: underline; } 184.org-calendar-today { /* calendar-today */ text-decoration: underline; } 185.org-change-log-acknowledgement { /* change-log-acknowledgement */ color: #b22222; } 186.org-change-log-conditionals { /* change-log-conditionals */ color: #a0522d; } 187.org-change-log-date { /* change-log-date */ color: #8b2252; } 188.org-change-log-email { /* change-log-email */ color: #a0522d; } 189.org-change-log-file { /* change-log-file */ color: #0000ff; } 190.org-change-log-function { /* change-log-function */ color: #a0522d; } 191.org-change-log-list { /* change-log-list */ color: #a020f0; } 192.org-change-log-name { /* change-log-name */ color: #008b8b; } 193.org-comint-highlight-input { /* comint-highlight-input */ font-weight: bold; } 194.org-comint-highlight-prompt { /* comint-highlight-prompt */ color: #00008b; } 195.org-comment { /* font-lock-comment-face */ color: #b22222; } 196.org-comment-delimiter { /* font-lock-comment-delimiter-face */ color: #b22222; } 197.org-completions-annotations { /* completions-annotations */ font-style: italic; } 198.org-completions-common-part { /* completions-common-part */ color: #000000; background-color: #ffffff; } 199.org-completions-first-difference { /* completions-first-difference */ font-weight: bold; } 200.org-constant { /* font-lock-constant-face */ color: #008b8b; } 201.org-diary { /* diary */ color: #ff0000; } 202.org-diff-context { /* diff-context */ color: #7f7f7f; } 203.org-diff-file-header { /* diff-file-header */ background-color: #b3b3b3; font-weight: bold; } 204.org-diff-function { /* diff-function */ background-color: #cccccc; } 205.org-diff-header { /* diff-header */ background-color: #cccccc; } 206.org-diff-hunk-header { /* diff-hunk-header */ background-color: #cccccc; } 207.org-diff-index { /* diff-index */ background-color: #b3b3b3; font-weight: bold; } 208.org-diff-nonexistent { /* diff-nonexistent */ background-color: #b3b3b3; font-weight: bold; } 209.org-diff-refine-change { /* diff-refine-change */ background-color: #d9d9d9; } 210.org-dired-directory { /* dired-directory */ color: #0000ff; } 211.org-dired-flagged { /* dired-flagged */ color: #ff0000; font-weight: bold; } 212.org-dired-header { /* dired-header */ color: #228b22; } 213.org-dired-ignored { /* dired-ignored */ color: #7f7f7f; } 214.org-dired-mark { /* dired-mark */ color: #008b8b; } 215.org-dired-marked { /* dired-marked */ color: #ff0000; font-weight: bold; } 216.org-dired-perm-write { /* dired-perm-write */ color: #b22222; } 217.org-dired-symlink { /* dired-symlink */ color: #a020f0; } 218.org-dired-warning { /* dired-warning */ color: #ff0000; font-weight: bold; } 219.org-doc { /* font-lock-doc-face */ color: #8b2252; } 220.org-escape-glyph { /* escape-glyph */ color: #a52a2a; } 221.org-file-name-shadow { /* file-name-shadow */ color: #7f7f7f; } 222.org-flyspell-duplicate { /* flyspell-duplicate */ color: #cdad00; font-weight: bold; text-decoration: underline; } 223.org-flyspell-incorrect { /* flyspell-incorrect */ color: #ff4500; font-weight: bold; text-decoration: underline; } 224.org-fringe { /* fringe */ background-color: #f2f2f2; } 225.org-function-name { /* font-lock-function-name-face */ color: #0000ff; } 226.org-header-line { /* header-line */ color: #333333; background-color: #e5e5e5; } 227.org-help-argument-name { /* help-argument-name */ font-style: italic; } 228.org-highlight { /* highlight */ background-color: #b4eeb4; } 229.org-holiday { /* holiday */ background-color: #ffc0cb; } 230.org-isearch { /* isearch */ color: #b0e2ff; background-color: #cd00cd; } 231.org-isearch-fail { /* isearch-fail */ background-color: #ffc1c1; } 232.org-italic { /* italic */ font-style: italic; } 233.org-keyword { /* font-lock-keyword-face */ color: #a020f0; } 234.org-lazy-highlight { /* lazy-highlight */ background-color: #afeeee; } 235.org-link { /* link */ color: #0000ff; text-decoration: underline; } 236.org-link-visited { /* link-visited */ color: #8b008b; text-decoration: underline; } 237.org-log-edit-header { /* log-edit-header */ color: #a020f0; } 238.org-log-edit-summary { /* log-edit-summary */ color: #0000ff; } 239.org-log-edit-unknown-header { /* log-edit-unknown-header */ color: #b22222; } 240.org-match { /* match */ background-color: #ffff00; } 241.org-next-error { /* next-error */ background-color: #eedc82; } 242.org-nobreak-space { /* nobreak-space */ color: #a52a2a; text-decoration: underline; } 243.org-org-archived { /* org-archived */ color: #7f7f7f; } 244.org-org-block { /* org-block */ color: #7f7f7f; } 245.org-org-block-begin-line { /* org-block-begin-line */ color: #b22222; } 246.org-org-block-end-line { /* org-block-end-line */ color: #b22222; } 247.org-org-checkbox { /* org-checkbox */ font-weight: bold; } 248.org-org-checkbox-statistics-done { /* org-checkbox-statistics-done */ color: #228b22; font-weight: bold; } 249.org-org-checkbox-statistics-todo { /* org-checkbox-statistics-todo */ color: #ff0000; font-weight: bold; } 250.org-org-clock-overlay { /* org-clock-overlay */ background-color: #ffff00; } 251.org-org-code { /* org-code */ color: #7f7f7f; } 252.org-org-column { /* org-column */ background-color: #e5e5e5; } 253.org-org-column-title { /* org-column-title */ background-color: #e5e5e5; font-weight: bold; text-decoration: underline; } 254.org-org-date { /* org-date */ color: #a020f0; text-decoration: underline; } 255.org-org-document-info { /* org-document-info */ color: #191970; } 256.org-org-document-info-keyword { /* org-document-info-keyword */ color: #7f7f7f; } 257.org-org-document-title { /* org-document-title */ color: #191970; font-size: 144%; font-weight: bold; } 258.org-org-done { /* org-done */ color: #228b22; font-weight: bold; } 259.org-org-drawer { /* org-drawer */ color: #0000ff; } 260.org-org-ellipsis { /* org-ellipsis */ color: #b8860b; text-decoration: underline; } 261.org-org-footnote { /* org-footnote */ color: #a020f0; text-decoration: underline; } 262.org-org-formula { /* org-formula */ color: #b22222; } 263.org-org-headline-done { /* org-headline-done */ color: #bc8f8f; } 264.org-org-hide { /* org-hide */ color: #ffffff; } 265.org-org-latex-and-export-specials { /* org-latex-and-export-specials */ color: #8b4513; } 266.org-org-level-1 { /* org-level-1 */ color: #0000ff; } 267.org-org-level-2 { /* org-level-2 */ color: #a0522d; } 268.org-org-level-3 { /* org-level-3 */ color: #a020f0; } 269.org-org-level-4 { /* org-level-4 */ color: #b22222; } 270.org-org-level-5 { /* org-level-5 */ color: #228b22; } 271.org-org-level-6 { /* org-level-6 */ color: #008b8b; } 272.org-org-level-7 { /* org-level-7 */ color: #7a378b; } 273.org-org-level-8 { /* org-level-8 */ color: #8b2252; } 274.org-org-link { /* org-link */ color: #0000ff; text-decoration: underline; } 275.org-org-meta-line { /* org-meta-line */ color: #b22222; } 276.org-org-mode-line-clock { /* org-mode-line-clock */ color: #000000; background-color: #bfbfbf; } 277.org-org-mode-line-clock-overrun { /* org-mode-line-clock-overrun */ color: #000000; background-color: #ff0000; } 278.org-org-quote { /* org-quote */ color: #7f7f7f; } 279.org-org-scheduled { /* org-scheduled */ color: #006400; } 280.org-org-scheduled-previously { /* org-scheduled-previously */ color: #b22222; } 281.org-org-scheduled-today { /* org-scheduled-today */ color: #006400; } 282.org-org-sexp-date { /* org-sexp-date */ color: #a020f0; } 283.org-org-special-keyword { /* org-special-keyword */ color: #a020f0; } 284.org-org-table { /* org-table */ color: #0000ff; } 285.org-org-tag { /* org-tag */ font-weight: bold; } 286.org-org-target { /* org-target */ text-decoration: underline; } 287.org-org-time-grid { /* org-time-grid */ color: #b8860b; } 288.org-org-todo { /* org-todo */ color: #ff0000; font-weight: bold; } 289.org-org-upcoming-deadline { /* org-upcoming-deadline */ color: #b22222; } 290.org-org-verbatim { /* org-verbatim */ color: #7f7f7f; } 291.org-org-verse { /* org-verse */ color: #7f7f7f; } 292.org-org-warning { /* org-warning */ color: #ff0000; font-weight: bold; } 293.org-outline-1 { /* outline-1 */ color: #0000ff; } 294.org-outline-2 { /* outline-2 */ color: #a0522d; } 295.org-outline-3 { /* outline-3 */ color: #a020f0; } 296.org-outline-4 { /* outline-4 */ color: #b22222; } 297.org-outline-5 { /* outline-5 */ color: #228b22; } 298.org-outline-6 { /* outline-6 */ color: #008b8b; } 299.org-outline-7 { /* outline-7 */ color: #7a378b; } 300.org-outline-8 { /* outline-8 */ color: #8b2252; } 301.org-preprocessor { /* font-lock-preprocessor-face */ color: #7a378b; } 302.org-query-replace { /* query-replace */ color: #b0e2ff; background-color: #cd00cd; } 303.org-regexp-grouping-backslash { /* font-lock-regexp-grouping-backslash */ font-weight: bold; } 304.org-regexp-grouping-construct { /* font-lock-regexp-grouping-construct */ font-weight: bold; } 305.org-region { /* region */ background-color: #eedc82; } 306.org-secondary-selection { /* secondary-selection */ background-color: #ffff00; } 307.org-shadow { /* shadow */ color: #7f7f7f; } 308.org-show-paren-match { /* show-paren-match */ background-color: #40e0d0; } 309.org-show-paren-mismatch { /* show-paren-mismatch */ color: #ffffff; background-color: #a020f0; } 310.org-string { /* font-lock-string-face */ color: #8b2252; } 311.org-tool-bar { /* tool-bar */ color: #000000; background-color: #bfbfbf; } 312.org-tooltip { /* tooltip */ color: #000000; background-color: #ffffe0; } 313.org-trailing-whitespace { /* trailing-whitespace */ background-color: #ff0000; } 314.org-type { /* font-lock-type-face */ color: #228b22; } 315.org-underline { /* underline */ text-decoration: underline; } 316.org-variable-name { /* font-lock-variable-name-face */ color: #a0522d; } 317.org-warning { /* font-lock-warning-face */ color: #ff0000; font-weight: bold; } 318.org-widget-button { /* widget-button */ font-weight: bold; } 319.org-widget-button-pressed { /* widget-button-pressed */ color: #ff0000; } 320.org-widget-documentation { /* widget-documentation */ color: #006400; } 321.org-widget-field { /* widget-field */ background-color: #d9d9d9; } 322.org-widget-inactive { /* widget-inactive */ color: #7f7f7f; } 323.org-widget-single-line-field { /* widget-single-line-field */ background-color: #d9d9d9; }