Skip to content

Instantly share code, notes, and snippets.

@sonota88
Created June 3, 2011 12:52
Show Gist options
  • Save sonota88/1006284 to your computer and use it in GitHub Desktop.
Save sonota88/1006284 to your computer and use it in GitHub Desktop.
org css
/*
# (setq org-export-htmlize-output-type 'css)
# (setq org-export-html-style-include-default nil)
#+style: <link href="org.css" rel="stylesheet" type="text/css" />
*/
* { line-height: 170%;
font-family: "MS Pゴシック";
}
body { margin: 4ex 10%; }
h1,h2,h3,h4,h5,h6 {
background: #f8f8f8;
}
h2 {
border-left: solid 2ex #c00;
padding-left: 2ex;
margin: 4ex 0;
}
h3 {
border-left: solid 1ex #ac6;
padding-left: 2ex;
}
#postamble {
display: none;
}
pre, pre *, code { font-family: "MS ゴシック", monospace; }
.org-keyword
, .org-variable-name
, .org-nxml-attribute-local-name
{ color: #808; }
.org-type { color: #260; }
.org-string
, .org-nxml-attribute-value
, .org-nxml-attribute-value-delimiter { color: #22d; }
.org-function-name
, .org-nxml-tag-delimiter
, .org-nxml-tag-slash
, .org-nxml-element-local-name { color: #078; }
.org-diff-added {
background: #ffe0e0;
}
.org-diff-context {
color: #888;
}
pre { background: #f8f8f8;
border: solid 1px #ddd; }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment