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