org-e-html: Fix preamble and postamble
[org-mode.git] / contrib / scripts / docco.css
blob9030b6c0444b8cbb6ab24dfcbaacf9252a764be5
1 /*--------------------- Layout and Typography ----------------------------*/
2 body {
3 font-family: 'Palatino Linotype', 'Book Antiqua', Palatino, FreeSerif, serif;
4 font-size: 15px;
5 line-height: 22px;
6 color: #252519;
7 margin: 0; padding: 0;
9 a {
10 color: #261a3b;
12 a:visited {
13 color: #261a3b;
15 p {
16 margin: 0 0 15px 0;
18 h1, h2, h3, h4, h5, h6 {
19 margin: 0px 0 15px 0;
21 h1 {
22 margin-top: 40px;
24 #container {
25 position: relative;
27 #background {
28 position: fixed;
29 top: 0; left: 525px; right: 0; bottom: 0;
30 background: #f5f5ff;
31 border-left: 1px solid #e5e5ee;
32 z-index: -1;
34 #jump_to, #jump_page {
35 background: white;
36 -webkit-box-shadow: 0 0 25px #777; -moz-box-shadow: 0 0 25px #777;
37 -webkit-border-bottom-left-radius: 5px; -moz-border-radius-bottomleft: 5px;
38 font: 10px Arial;
39 text-transform: uppercase;
40 cursor: pointer;
41 text-align: right;
43 #jump_to, #jump_wrapper {
44 position: fixed;
45 right: 0; top: 0;
46 padding: 5px 10px;
48 #jump_wrapper {
49 padding: 0;
50 display: none;
52 #jump_to:hover #jump_wrapper {
53 display: block;
55 #jump_page {
56 padding: 5px 0 3px;
57 margin: 0 0 25px 25px;
59 #jump_page .source {
60 display: block;
61 padding: 5px 10px;
62 text-decoration: none;
63 border-top: 1px solid #eee;
65 #jump_page .source:hover {
66 background: #f5f5ff;
68 #jump_page .source:first-child {
70 table td {
71 border: 0;
72 outline: 0;
74 td.docs, th.docs {
75 max-width: 450px;
76 min-width: 450px;
77 min-height: 5px;
78 padding: 10px 25px 1px 50px;
79 overflow-x: hidden;
80 vertical-align: top;
81 text-align: left;
83 .docs pre {
84 margin: 15px 0 15px;
85 padding-left: 15px;
87 .docs p tt, .docs p code {
88 background: #f8f8ff;
89 border: 1px solid #dedede;
90 font-size: 12px;
91 padding: 0 0.2em;
93 .pilwrap {
94 position: relative;
96 .pilcrow {
97 font: 12px Arial;
98 text-decoration: none;
99 color: #454545;
100 position: absolute;
101 top: 3px; left: -20px;
102 padding: 1px 2px;
103 opacity: 0;
104 -webkit-transition: opacity 0.2s linear;
106 td.docs:hover .pilcrow {
107 opacity: 1;
109 td.code, th.code {
110 padding: 14px 15px 16px 25px;
111 width: 100%;
112 vertical-align: top;
113 border-left: 1px solid #e5e5ee;
115 pre, tt, code {
116 font-size: 12px; line-height: 18px;
117 font-family: Menlo, Monaco, Consolas, "Lucida Console", monospace;
118 margin: 0; padding: 0;
122 /*---------------------- Syntax Highlighting -----------------------------*/
123 td.linenos { background-color: #f0f0f0; padding-right: 10px; }
124 span.lineno { background-color: #f0f0f0; padding: 0 5px 0 5px; }
125 body .hll { background-color: #ffffcc }
126 body .c { color: #408080; font-style: italic } /* Comment */
127 body .err { border: 1px solid #FF0000 } /* Error */
128 body .k { color: #954121 } /* Keyword */
129 body .o { color: #666666 } /* Operator */
130 body .cm { color: #408080; font-style: italic } /* Comment.Multiline */
131 body .cp { color: #BC7A00 } /* Comment.Preproc */
132 body .c1 { color: #408080; font-style: italic } /* Comment.Single */
133 body .cs { color: #408080; font-style: italic } /* Comment.Special */
134 body .gd { color: #A00000 } /* Generic.Deleted */
135 body .ge { font-style: italic } /* Generic.Emph */
136 body .gr { color: #FF0000 } /* Generic.Error */
137 body .gh { color: #000080; font-weight: bold } /* Generic.Heading */
138 body .gi { color: #00A000 } /* Generic.Inserted */
139 body .go { color: #808080 } /* Generic.Output */
140 body .gp { color: #000080; font-weight: bold } /* Generic.Prompt */
141 body .gs { font-weight: bold } /* Generic.Strong */
142 body .gu { color: #800080; font-weight: bold } /* Generic.Subheading */
143 body .gt { color: #0040D0 } /* Generic.Traceback */
144 body .kc { color: #954121 } /* Keyword.Constant */
145 body .kd { color: #954121; font-weight: bold } /* Keyword.Declaration */
146 body .kn { color: #954121; font-weight: bold } /* Keyword.Namespace */
147 body .kp { color: #954121 } /* Keyword.Pseudo */
148 body .kr { color: #954121; font-weight: bold } /* Keyword.Reserved */
149 body .kt { color: #B00040 } /* Keyword.Type */
150 body .m { color: #666666 } /* Literal.Number */
151 body .s { color: #219161 } /* Literal.String */
152 body .na { color: #7D9029 } /* Name.Attribute */
153 body .nb { color: #954121 } /* Name.Builtin */
154 body .nc { color: #0000FF; font-weight: bold } /* Name.Class */
155 body .no { color: #880000 } /* Name.Constant */
156 body .nd { color: #AA22FF } /* Name.Decorator */
157 body .ni { color: #999999; font-weight: bold } /* Name.Entity */
158 body .ne { color: #D2413A; font-weight: bold } /* Name.Exception */
159 body .nf { color: #0000FF } /* Name.Function */
160 body .nl { color: #A0A000 } /* Name.Label */
161 body .nn { color: #0000FF; font-weight: bold } /* Name.Namespace */
162 body .nt { color: #954121; font-weight: bold } /* Name.Tag */
163 body .nv { color: #19469D } /* Name.Variable */
164 body .ow { color: #AA22FF; font-weight: bold } /* Operator.Word */
165 body .w { color: #bbbbbb } /* Text.Whitespace */
166 body .mf { color: #666666 } /* Literal.Number.Float */
167 body .mh { color: #666666 } /* Literal.Number.Hex */
168 body .mi { color: #666666 } /* Literal.Number.Integer */
169 body .mo { color: #666666 } /* Literal.Number.Oct */
170 body .sb { color: #219161 } /* Literal.String.Backtick */
171 body .sc { color: #219161 } /* Literal.String.Char */
172 body .sd { color: #219161; font-style: italic } /* Literal.String.Doc */
173 body .s2 { color: #219161 } /* Literal.String.Double */
174 body .se { color: #BB6622; font-weight: bold } /* Literal.String.Escape */
175 body .sh { color: #219161 } /* Literal.String.Heredoc */
176 body .si { color: #BB6688; font-weight: bold } /* Literal.String.Interpol */
177 body .sx { color: #954121 } /* Literal.String.Other */
178 body .sr { color: #BB6688 } /* Literal.String.Regex */
179 body .s1 { color: #219161 } /* Literal.String.Single */
180 body .ss { color: #19469D } /* Literal.String.Symbol */
181 body .bp { color: #954121 } /* Name.Builtin.Pseudo */
182 body .vc { color: #19469D } /* Name.Variable.Class */
183 body .vg { color: #19469D } /* Name.Variable.Global */
184 body .vi { color: #19469D } /* Name.Variable.Instance */
185 body .il { color: #666666 } /* Literal.Number.Integer.Long */