mizuho 0.9.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (295) hide show
  1. data/LICENSE.txt +20 -0
  2. data/README.markdown +61 -0
  3. data/Rakefile +41 -0
  4. data/asciidoc/BUGS +39 -0
  5. data/asciidoc/BUGS.txt +32 -0
  6. data/asciidoc/CHANGELOG +1796 -0
  7. data/asciidoc/CHANGELOG.txt +1810 -0
  8. data/asciidoc/COPYING +339 -0
  9. data/asciidoc/COPYRIGHT +18 -0
  10. data/asciidoc/INSTALL +76 -0
  11. data/asciidoc/INSTALL.txt +71 -0
  12. data/asciidoc/Makefile.in +161 -0
  13. data/asciidoc/README +46 -0
  14. data/asciidoc/README.txt +36 -0
  15. data/asciidoc/a2x +674 -0
  16. data/asciidoc/asciidoc.conf +455 -0
  17. data/asciidoc/asciidoc.py +4998 -0
  18. data/asciidoc/common.aap +9 -0
  19. data/asciidoc/configure +2840 -0
  20. data/asciidoc/configure.ac +11 -0
  21. data/asciidoc/dblatex/asciidoc-dblatex.sty +20 -0
  22. data/asciidoc/dblatex/asciidoc-dblatex.xsl +32 -0
  23. data/asciidoc/dblatex/dblatex-readme.txt +39 -0
  24. data/asciidoc/doc/a2x.1 +257 -0
  25. data/asciidoc/doc/a2x.1.txt +204 -0
  26. data/asciidoc/doc/article.css-embedded.html +602 -0
  27. data/asciidoc/doc/article.html +46 -0
  28. data/asciidoc/doc/article.pdf +0 -0
  29. data/asciidoc/doc/article.txt +122 -0
  30. data/asciidoc/doc/asciidoc-revhistory.xml +27 -0
  31. data/asciidoc/doc/asciidoc.1 +155 -0
  32. data/asciidoc/doc/asciidoc.1.css-embedded.html +598 -0
  33. data/asciidoc/doc/asciidoc.1.css.html +212 -0
  34. data/asciidoc/doc/asciidoc.1.html +190 -0
  35. data/asciidoc/doc/asciidoc.1.txt +118 -0
  36. data/asciidoc/doc/asciidoc.conf +8 -0
  37. data/asciidoc/doc/asciidoc.css-embedded.html +7853 -0
  38. data/asciidoc/doc/asciidoc.css.html +7416 -0
  39. data/asciidoc/doc/asciidoc.dict +733 -0
  40. data/asciidoc/doc/asciidoc.html +3339 -0
  41. data/asciidoc/doc/asciidoc.txt +4979 -0
  42. data/asciidoc/doc/asciimathml.txt +64 -0
  43. data/asciidoc/doc/book-multi.css-embedded.html +575 -0
  44. data/asciidoc/doc/book-multi.html +55 -0
  45. data/asciidoc/doc/book-multi.txt +155 -0
  46. data/asciidoc/doc/book.css-embedded.html +607 -0
  47. data/asciidoc/doc/book.html +43 -0
  48. data/asciidoc/doc/book.txt +131 -0
  49. data/asciidoc/doc/customers.csv +18 -0
  50. data/asciidoc/doc/docbook-xsl.css +272 -0
  51. data/asciidoc/doc/faq.txt +547 -0
  52. data/asciidoc/doc/latex-backend.html +117 -0
  53. data/asciidoc/doc/latex-backend.txt +191 -0
  54. data/asciidoc/doc/latexmath.txt +244 -0
  55. data/asciidoc/doc/latexmathml.txt +41 -0
  56. data/asciidoc/doc/main.aap +297 -0
  57. data/asciidoc/doc/music-filter.html +566 -0
  58. data/asciidoc/doc/music-filter.pdf +0 -0
  59. data/asciidoc/doc/music-filter.txt +158 -0
  60. data/asciidoc/doc/source-highlight-filter.html +214 -0
  61. data/asciidoc/doc/source-highlight-filter.pdf +0 -0
  62. data/asciidoc/doc/source-highlight-filter.txt +203 -0
  63. data/asciidoc/docbook-xsl/asciidoc-docbook-xsl.txt +43 -0
  64. data/asciidoc/docbook-xsl/chunked.xsl +19 -0
  65. data/asciidoc/docbook-xsl/common.xsl +67 -0
  66. data/asciidoc/docbook-xsl/fo.xsl +149 -0
  67. data/asciidoc/docbook-xsl/htmlhelp.xsl +17 -0
  68. data/asciidoc/docbook-xsl/manpage.xsl +31 -0
  69. data/asciidoc/docbook-xsl/text.xsl +50 -0
  70. data/asciidoc/docbook-xsl/xhtml.xsl +14 -0
  71. data/asciidoc/docbook.conf +721 -0
  72. data/asciidoc/examples/website/ASCIIMathML.js +938 -0
  73. data/asciidoc/examples/website/CHANGELOG.html +4389 -0
  74. data/asciidoc/examples/website/CHANGELOG.txt +1810 -0
  75. data/asciidoc/examples/website/INSTALL.html +161 -0
  76. data/asciidoc/examples/website/INSTALL.txt +71 -0
  77. data/asciidoc/examples/website/LaTeXMathML.js +1223 -0
  78. data/asciidoc/examples/website/README-website.html +118 -0
  79. data/asciidoc/examples/website/README-website.txt +29 -0
  80. data/asciidoc/examples/website/README.html +125 -0
  81. data/asciidoc/examples/website/README.txt +36 -0
  82. data/asciidoc/examples/website/a2x.1.html +419 -0
  83. data/asciidoc/examples/website/a2x.1.txt +204 -0
  84. data/asciidoc/examples/website/asciidoc-docbook-xsl.html +130 -0
  85. data/asciidoc/examples/website/asciidoc-docbook-xsl.txt +43 -0
  86. data/asciidoc/examples/website/asciidoc-graphviz-sample.txt +130 -0
  87. data/asciidoc/examples/website/asciimathml.txt +64 -0
  88. data/asciidoc/examples/website/build-website.sh +25 -0
  89. data/asciidoc/examples/website/customers.csv +18 -0
  90. data/asciidoc/examples/website/downloads.html +257 -0
  91. data/asciidoc/examples/website/downloads.txt +121 -0
  92. data/asciidoc/examples/website/faq.html +673 -0
  93. data/asciidoc/examples/website/faq.txt +547 -0
  94. data/asciidoc/examples/website/index.html +419 -0
  95. data/asciidoc/examples/website/index.txt +245 -0
  96. data/asciidoc/examples/website/latex-backend.html +535 -0
  97. data/asciidoc/examples/website/latex-backend.txt +191 -0
  98. data/asciidoc/examples/website/latexmathml.txt +41 -0
  99. data/asciidoc/examples/website/layout1.conf +161 -0
  100. data/asciidoc/examples/website/layout1.css +65 -0
  101. data/asciidoc/examples/website/layout2.conf +158 -0
  102. data/asciidoc/examples/website/layout2.css +93 -0
  103. data/asciidoc/examples/website/manpage.html +266 -0
  104. data/asciidoc/examples/website/manpage.txt +118 -0
  105. data/asciidoc/examples/website/music-filter.html +242 -0
  106. data/asciidoc/examples/website/music-filter.txt +158 -0
  107. data/asciidoc/examples/website/music1.abc +12 -0
  108. data/asciidoc/examples/website/music1.png +0 -0
  109. data/asciidoc/examples/website/music2.ly +9 -0
  110. data/asciidoc/examples/website/music2.png +0 -0
  111. data/asciidoc/examples/website/newlists.txt +40 -0
  112. data/asciidoc/examples/website/newtables.txt +397 -0
  113. data/asciidoc/examples/website/sample1.png +0 -0
  114. data/asciidoc/examples/website/sample3.png +0 -0
  115. data/asciidoc/examples/website/sample4.png +0 -0
  116. data/asciidoc/examples/website/source-highlight-filter.html +286 -0
  117. data/asciidoc/examples/website/source-highlight-filter.txt +203 -0
  118. data/asciidoc/examples/website/support.html +78 -0
  119. data/asciidoc/examples/website/support.txt +5 -0
  120. data/asciidoc/examples/website/toc.js +69 -0
  121. data/asciidoc/examples/website/userguide.html +7460 -0
  122. data/asciidoc/examples/website/userguide.txt +4979 -0
  123. data/asciidoc/examples/website/version83.txt +37 -0
  124. data/asciidoc/examples/website/version9.html +143 -0
  125. data/asciidoc/examples/website/version9.txt +48 -0
  126. data/asciidoc/examples/website/xhtml11-manpage.css +18 -0
  127. data/asciidoc/examples/website/xhtml11-quirks.css +41 -0
  128. data/asciidoc/examples/website/xhtml11.css +328 -0
  129. data/asciidoc/filters/code/code-filter-readme.txt +37 -0
  130. data/asciidoc/filters/code/code-filter-test.txt +15 -0
  131. data/asciidoc/filters/code/code-filter.conf +8 -0
  132. data/asciidoc/filters/code/code-filter.py +239 -0
  133. data/asciidoc/filters/graphviz/asciidoc-graphviz-sample.txt +130 -0
  134. data/asciidoc/filters/graphviz/graphviz-filter.conf +39 -0
  135. data/asciidoc/filters/graphviz/graphviz2png.py +154 -0
  136. data/asciidoc/filters/music/music-filter-test.txt +40 -0
  137. data/asciidoc/filters/music/music-filter.conf +40 -0
  138. data/asciidoc/filters/music/music2png.py +189 -0
  139. data/asciidoc/filters/source/source-highlight-filter-test.txt +19 -0
  140. data/asciidoc/filters/source/source-highlight-filter.conf +108 -0
  141. data/asciidoc/help.conf +213 -0
  142. data/asciidoc/html4.conf +460 -0
  143. data/asciidoc/images/highlighter.png +0 -0
  144. data/asciidoc/images/icons/README +5 -0
  145. data/asciidoc/images/icons/callouts/1.png +0 -0
  146. data/asciidoc/images/icons/callouts/10.png +0 -0
  147. data/asciidoc/images/icons/callouts/11.png +0 -0
  148. data/asciidoc/images/icons/callouts/12.png +0 -0
  149. data/asciidoc/images/icons/callouts/13.png +0 -0
  150. data/asciidoc/images/icons/callouts/14.png +0 -0
  151. data/asciidoc/images/icons/callouts/15.png +0 -0
  152. data/asciidoc/images/icons/callouts/2.png +0 -0
  153. data/asciidoc/images/icons/callouts/3.png +0 -0
  154. data/asciidoc/images/icons/callouts/4.png +0 -0
  155. data/asciidoc/images/icons/callouts/5.png +0 -0
  156. data/asciidoc/images/icons/callouts/6.png +0 -0
  157. data/asciidoc/images/icons/callouts/7.png +0 -0
  158. data/asciidoc/images/icons/callouts/8.png +0 -0
  159. data/asciidoc/images/icons/callouts/9.png +0 -0
  160. data/asciidoc/images/icons/caution.png +0 -0
  161. data/asciidoc/images/icons/example.png +0 -0
  162. data/asciidoc/images/icons/home.png +0 -0
  163. data/asciidoc/images/icons/important.png +0 -0
  164. data/asciidoc/images/icons/next.png +0 -0
  165. data/asciidoc/images/icons/note.png +0 -0
  166. data/asciidoc/images/icons/prev.png +0 -0
  167. data/asciidoc/images/icons/tip.png +0 -0
  168. data/asciidoc/images/icons/up.png +0 -0
  169. data/asciidoc/images/icons/warning.png +0 -0
  170. data/asciidoc/images/smallnew.png +0 -0
  171. data/asciidoc/images/tiger.png +0 -0
  172. data/asciidoc/install-sh +201 -0
  173. data/asciidoc/javascripts/ASCIIMathML.js +938 -0
  174. data/asciidoc/javascripts/LaTeXMathML.js +1223 -0
  175. data/asciidoc/javascripts/toc.js +69 -0
  176. data/asciidoc/lang-es.conf +15 -0
  177. data/asciidoc/latex.conf +663 -0
  178. data/asciidoc/stylesheets/docbook-xsl.css +272 -0
  179. data/asciidoc/stylesheets/xhtml11-manpage.css +18 -0
  180. data/asciidoc/stylesheets/xhtml11-quirks.css +41 -0
  181. data/asciidoc/stylesheets/xhtml11.css +328 -0
  182. data/asciidoc/text.conf +16 -0
  183. data/asciidoc/vim/ftdetect/asciidoc_filetype.vim +53 -0
  184. data/asciidoc/vim/syntax/asciidoc.vim +165 -0
  185. data/asciidoc/wordpress.conf +48 -0
  186. data/asciidoc/xhtml11-quirks.conf +57 -0
  187. data/asciidoc/xhtml11.conf +645 -0
  188. data/bin/mizuho +47 -0
  189. data/bin/mizuho-asciidoc +4 -0
  190. data/lib/mizuho.rb +10 -0
  191. data/lib/mizuho/chapter.rb +54 -0
  192. data/lib/mizuho/generator.rb +134 -0
  193. data/lib/mizuho/heading.rb +46 -0
  194. data/lib/mizuho/parser.rb +103 -0
  195. data/lib/mizuho/source_highlight.rb +2 -0
  196. data/lib/mizuho/template.rb +50 -0
  197. data/source-highlight/ada.lang +38 -0
  198. data/source-highlight/bib.lang +6 -0
  199. data/source-highlight/bison.lang +3 -0
  200. data/source-highlight/c.lang +41 -0
  201. data/source-highlight/c_comment.lang +27 -0
  202. data/source-highlight/c_string.lang +9 -0
  203. data/source-highlight/caml.lang +16 -0
  204. data/source-highlight/changelog.lang +8 -0
  205. data/source-highlight/clike_vardeclaration.lang +4 -0
  206. data/source-highlight/cpp.lang +15 -0
  207. data/source-highlight/csharp.lang +36 -0
  208. data/source-highlight/css.lang +14 -0
  209. data/source-highlight/css_common.outlang +26 -0
  210. data/source-highlight/darwin/source-highlight +0 -0
  211. data/source-highlight/default.css +51 -0
  212. data/source-highlight/default.lang +8 -0
  213. data/source-highlight/default.style +57 -0
  214. data/source-highlight/desktop.lang +7 -0
  215. data/source-highlight/diff.lang +32 -0
  216. data/source-highlight/docbook.outlang +36 -0
  217. data/source-highlight/esc.outlang +46 -0
  218. data/source-highlight/esc.style +35 -0
  219. data/source-highlight/extreme_comment.lang +5 -0
  220. data/source-highlight/extreme_comment2.lang +5 -0
  221. data/source-highlight/extreme_comment3.lang +15 -0
  222. data/source-highlight/fixed-fortran.lang +5 -0
  223. data/source-highlight/flex.lang +37 -0
  224. data/source-highlight/fortran.lang +57 -0
  225. data/source-highlight/function.lang +2 -0
  226. data/source-highlight/glsl.lang +86 -0
  227. data/source-highlight/haxe.lang +7 -0
  228. data/source-highlight/html.lang +7 -0
  229. data/source-highlight/html.outlang +25 -0
  230. data/source-highlight/html_common.outlang +35 -0
  231. data/source-highlight/html_notfixed.outlang +22 -0
  232. data/source-highlight/html_ref.outlang +6 -0
  233. data/source-highlight/htmlcss.outlang +28 -0
  234. data/source-highlight/htmltable.outlang +14 -0
  235. data/source-highlight/htmltablelinenum.outlang +26 -0
  236. data/source-highlight/java.lang +26 -0
  237. data/source-highlight/javadoc.outlang +24 -0
  238. data/source-highlight/javascript.lang +27 -0
  239. data/source-highlight/key_string.lang +4 -0
  240. data/source-highlight/lang.map +108 -0
  241. data/source-highlight/langdef.lang +21 -0
  242. data/source-highlight/latex.lang +52 -0
  243. data/source-highlight/latex.outlang +59 -0
  244. data/source-highlight/latexcolor.outlang +44 -0
  245. data/source-highlight/ldap.lang +10 -0
  246. data/source-highlight/log.lang +53 -0
  247. data/source-highlight/logtalk.lang +85 -0
  248. data/source-highlight/lsm.lang +7 -0
  249. data/source-highlight/lua.lang +27 -0
  250. data/source-highlight/m4.lang +27 -0
  251. data/source-highlight/makefile.lang +42 -0
  252. data/source-highlight/nohilite.lang +2 -0
  253. data/source-highlight/number.lang +3 -0
  254. data/source-highlight/outlang.lang +16 -0
  255. data/source-highlight/outlang.map +12 -0
  256. data/source-highlight/pascal.lang +20 -0
  257. data/source-highlight/perl.lang +134 -0
  258. data/source-highlight/php.lang +25 -0
  259. data/source-highlight/postscript.lang +42 -0
  260. data/source-highlight/prolog.lang +37 -0
  261. data/source-highlight/properties.lang +7 -0
  262. data/source-highlight/python.lang +26 -0
  263. data/source-highlight/ruby.lang +32 -0
  264. data/source-highlight/scala.lang +31 -0
  265. data/source-highlight/script_comment.lang +3 -0
  266. data/source-highlight/sh.lang +38 -0
  267. data/source-highlight/slang.lang +25 -0
  268. data/source-highlight/sml.lang +5 -0
  269. data/source-highlight/source-highlight +24 -0
  270. data/source-highlight/spec.lang +12 -0
  271. data/source-highlight/sql.lang +46 -0
  272. data/source-highlight/style.defaults +15 -0
  273. data/source-highlight/style.lang +16 -0
  274. data/source-highlight/style2.style +10 -0
  275. data/source-highlight/style3.style +10 -0
  276. data/source-highlight/symbols.lang +2 -0
  277. data/source-highlight/tcl.lang +35 -0
  278. data/source-highlight/texinfo.outlang +34 -0
  279. data/source-highlight/texinfo.style +20 -0
  280. data/source-highlight/url.lang +3 -0
  281. data/source-highlight/xhtml.outlang +25 -0
  282. data/source-highlight/xhtml_common.outlang +8 -0
  283. data/source-highlight/xhtml_notfixed.outlang +16 -0
  284. data/source-highlight/xhtmlcss.outlang +19 -0
  285. data/source-highlight/xhtmltable.outlang +7 -0
  286. data/source-highlight/xml.lang +17 -0
  287. data/source-highlight/xorg.lang +10 -0
  288. data/templates/asciidoc.css +358 -0
  289. data/templates/asciidoc.html.erb +86 -0
  290. data/templates/manualsonrails.css +165 -0
  291. data/templates/manualsonrails.html.erb +97 -0
  292. data/test/generator_spec.rb +60 -0
  293. data/test/parser_spec.rb +239 -0
  294. data/test/spec_helper.rb +51 -0
  295. metadata +358 -0
@@ -0,0 +1,20 @@
1
+ keyword, type b ;
2
+ variable f, i ;
3
+ string f ;
4
+ regexp f ;
5
+ comment nf, i, noref ;
6
+ preproc b ;
7
+
8
+ // line numbers
9
+ linenum f;
10
+
11
+ // Internet related
12
+ url f;
13
+
14
+ // for diffs
15
+ oldfile, newfile i;
16
+ difflines b;
17
+
18
+ // for css
19
+ selector, property b;
20
+ value i;
@@ -0,0 +1,3 @@
1
+ vardef URLPART = '[[:word:]\./\-_~]+'
2
+ url = '(<?)' + $URLPART + '@' + $URLPART + '(>?)'
3
+ url = '(<?)' + '[[:word:]]+://' + $URLPART + '(>?)'
@@ -0,0 +1,25 @@
1
+ include "xhtml_common.outlang"
2
+
3
+ doctemplate
4
+ "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\"
5
+ \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">
6
+ <html>
7
+ <head>
8
+ <meta http-equiv=\"Content-Type\" content=\"text/html; charset=iso-8859-1\" />
9
+ <meta name=\"GENERATOR\" content=\"$additional\" />
10
+ <title>$title</title>
11
+ </head>
12
+ <body style=\"background-color: $docbgcolor\">
13
+ $header<pre><tt>"
14
+ "</tt></pre>
15
+ $footer</body>
16
+ </html>
17
+ "
18
+ end
19
+
20
+ nodoctemplate
21
+ "<!-- Generator: $additional -->
22
+ $header<pre><tt>"
23
+ "</tt></pre>$footer
24
+ "
25
+ end
@@ -0,0 +1,8 @@
1
+ include "html_common.outlang"
2
+
3
+ bold "<span style=\"font-weight: bold\">$text</span>"
4
+ italics "<span style=\"font-style: italic\">$text</span>"
5
+ underline "<span style=\"text-decoration: underline\">$text</span>"
6
+ color "<span style=\"color: $style\">$text</span>"
7
+ bgcolor "<span style=\"background-color: $style\">$text</span>"
8
+
@@ -0,0 +1,16 @@
1
+ include "xhtml_common.outlang"
2
+
3
+ fixed "<span style=\"font-family: monospace;\">$text</span>"
4
+
5
+ doctemplate
6
+ "<!-- Generator: $additional -->
7
+ $header"
8
+ "$footer"
9
+ end
10
+
11
+ translations
12
+ "\n" "<br />\n"
13
+ " " "&nbsp; "
14
+ '^ ' "&nbsp;" # a space at the beginning of a line
15
+ "\t" "&nbsp; &nbsp; &nbsp; &nbsp; "
16
+ end
@@ -0,0 +1,19 @@
1
+ include "css_common.outlang"
2
+
3
+ doctemplate
4
+ "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\"
5
+ \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">
6
+ <html>
7
+ <head>
8
+ <meta http-equiv=\"Content-Type\" content=\"text/html; charset=iso-8859-1\" />
9
+ <meta name=\"GENERATOR\" content=\"$additional\" />
10
+ <title>$title</title>
11
+ <link rel=\"stylesheet\" href=\"$css\" type=\"text/css\" />
12
+ </head>
13
+ <body>
14
+ $header<pre><tt>"
15
+ "</tt></pre>
16
+ $footer</body>
17
+ </html>
18
+ "
19
+ end
@@ -0,0 +1,7 @@
1
+ include "xhtml_common.outlang"
2
+
3
+ doctemplate
4
+ "<table style=\"background-color: $docbgcolor\"><tbody><tr><td><pre><tt>"
5
+ "</tt></pre></td></tr></tbody></table>"
6
+ end
7
+
@@ -0,0 +1,17 @@
1
+ state preproc delim "<?xml" "?>" multiline begin
2
+ include "key_string.lang"
3
+ end
4
+
5
+ state preproc delim "<!DOCTYPE" ">" multiline begin
6
+ include "key_string.lang"
7
+ end
8
+
9
+ comment delim "<!--" "-->" multiline nested
10
+
11
+ keyword = '<(/)?[[:alpha:]]([[:word:]:.-]*)(/)?>'
12
+
13
+ state keyword delim '<(/)?[[:alpha:]]([[:word:]:.-]*)' '(/)?>' multiline begin
14
+ include "key_string.lang"
15
+ end
16
+
17
+ preproc = '&([[:alnum:]]+);'
@@ -0,0 +1,10 @@
1
+ # lang definition file for xorg configuration files
2
+
3
+ include "script_comment.lang"
4
+ include "number.lang"
5
+ include "c_string.lang"
6
+
7
+ keyword = '\<(End)?(Sub)*Section\>'
8
+
9
+ # anything else is considered a parameter
10
+ type = '[[:word:]]+'
@@ -0,0 +1,358 @@
1
+ /**** Asciidoc default CSS. ****/
2
+
3
+ /* Debug borders */
4
+ p, li, dt, dd, div, pre, h1, h2, h3, h4, h5, h6 {
5
+ /*
6
+ border: 1px solid red;
7
+ */
8
+ }
9
+
10
+ body {
11
+ margin: 1em 5% 1em 5%;
12
+ }
13
+
14
+ a {
15
+ color: blue;
16
+ text-decoration: underline;
17
+ }
18
+ a:visited {
19
+ color: fuchsia;
20
+ }
21
+
22
+ em {
23
+ font-style: italic;
24
+ color: navy;
25
+ }
26
+
27
+ strong {
28
+ font-weight: bold;
29
+ color: #083194;
30
+ }
31
+
32
+ tt {
33
+ color: navy;
34
+ }
35
+
36
+ h1, h2, h3, h4, h5, h6 {
37
+ color: #527bbd;
38
+ font-family: sans-serif;
39
+ margin-top: 1.2em;
40
+ margin-bottom: 0.5em;
41
+ line-height: 1.3;
42
+ }
43
+
44
+ h1, h2, h3 {
45
+ border-bottom: 2px solid silver;
46
+ }
47
+ h2 {
48
+ padding-top: 0.5em;
49
+ }
50
+ h3 {
51
+ float: left;
52
+ }
53
+ h3 + * {
54
+ clear: left;
55
+ }
56
+
57
+ div.sectionbody {
58
+ font-family: serif;
59
+ margin-left: 0;
60
+ }
61
+
62
+ hr {
63
+ border: 1px solid silver;
64
+ }
65
+
66
+ p {
67
+ margin-top: 0.5em;
68
+ margin-bottom: 0.5em;
69
+ }
70
+
71
+ ul, ol, li > p {
72
+ margin-top: 0;
73
+ }
74
+
75
+ pre {
76
+ padding: 0;
77
+ margin: 0;
78
+ }
79
+
80
+ span#author {
81
+ color: #527bbd;
82
+ font-family: sans-serif;
83
+ font-weight: bold;
84
+ font-size: 1.1em;
85
+ }
86
+ span#email {
87
+ }
88
+ span#revision {
89
+ font-family: sans-serif;
90
+ }
91
+
92
+ div#footer {
93
+ font-family: sans-serif;
94
+ font-size: small;
95
+ border-top: 2px solid silver;
96
+ padding-top: 0.5em;
97
+ margin-top: 4.0em;
98
+ }
99
+ div#footer-text {
100
+ float: left;
101
+ padding-bottom: 0.5em;
102
+ }
103
+ div#footer-badges {
104
+ float: right;
105
+ padding-bottom: 0.5em;
106
+ }
107
+
108
+ div#preamble,
109
+ div.tableblock, div.imageblock, div.exampleblock, div.verseblock,
110
+ div.quoteblock, div.literalblock, div.listingblock, div.sidebarblock,
111
+ div.admonitionblock {
112
+ margin-right: 10%;
113
+ margin-top: 1.5em;
114
+ margin-bottom: 1.5em;
115
+ }
116
+ div.admonitionblock {
117
+ margin-top: 2.5em;
118
+ margin-bottom: 2.5em;
119
+ }
120
+
121
+ div.content { /* Block element content. */
122
+ padding: 0;
123
+ }
124
+
125
+ /* Block element titles. */
126
+ div.title, caption.title {
127
+ color: #527bbd;
128
+ font-family: sans-serif;
129
+ font-weight: bold;
130
+ text-align: left;
131
+ margin-top: 1.0em;
132
+ margin-bottom: 0.5em;
133
+ }
134
+ div.title + * {
135
+ margin-top: 0;
136
+ }
137
+
138
+ td div.title:first-child {
139
+ margin-top: 0.0em;
140
+ }
141
+ div.content div.title:first-child {
142
+ margin-top: 0.0em;
143
+ }
144
+ div.content + div.title {
145
+ margin-top: 0.0em;
146
+ }
147
+
148
+ div.sidebarblock > div.content {
149
+ background: #ffffee;
150
+ border: 1px solid silver;
151
+ padding: 0.5em;
152
+ }
153
+
154
+ div.listingblock {
155
+ margin-right: 0%;
156
+ }
157
+ div.listingblock > div.content {
158
+ border: 1px solid silver;
159
+ background: #f4f4f4;
160
+ padding: 0.5em;
161
+ }
162
+
163
+ div.quoteblock {
164
+ padding-left: 2.0em;
165
+ }
166
+ div.quoteblock > div.attribution {
167
+ padding-top: 0.5em;
168
+ text-align: right;
169
+ }
170
+
171
+ div.verseblock {
172
+ padding-left: 2.0em;
173
+ }
174
+ div.verseblock > div.content {
175
+ white-space: pre;
176
+ }
177
+ div.verseblock > div.attribution {
178
+ padding-top: 0.75em;
179
+ text-align: left;
180
+ }
181
+ /* DEPRECATED: Pre version 8.2.7 verse style literal block. */
182
+ div.verseblock + div.attribution {
183
+ text-align: left;
184
+ }
185
+
186
+ div.admonitionblock .icon {
187
+ vertical-align: top;
188
+ font-size: 1.1em;
189
+ font-weight: bold;
190
+ text-decoration: underline;
191
+ color: #527bbd;
192
+ padding-right: 0.5em;
193
+ }
194
+ div.admonitionblock td.content {
195
+ padding-left: 0.5em;
196
+ border-left: 2px solid silver;
197
+ }
198
+
199
+ div.exampleblock > div.content {
200
+ border-left: 2px solid silver;
201
+ padding: 0.5em;
202
+ }
203
+
204
+ div.imageblock div.content { padding-left: 0; }
205
+ div.imageblock img { border: 1px solid silver; }
206
+ span.image img { border-style: none; }
207
+
208
+ dl {
209
+ margin-top: 0.8em;
210
+ margin-bottom: 0.8em;
211
+ }
212
+ dt {
213
+ margin-top: 0.5em;
214
+ margin-bottom: 0;
215
+ font-style: normal;
216
+ }
217
+ dd > *:first-child {
218
+ margin-top: 0.1em;
219
+ }
220
+
221
+ ul, ol {
222
+ list-style-position: outside;
223
+ }
224
+ div.olist > ol {
225
+ list-style-type: decimal;
226
+ }
227
+ div.olist2 > ol {
228
+ list-style-type: lower-alpha;
229
+ }
230
+
231
+ div.tableblock > table {
232
+ border: 3px solid #527bbd;
233
+ }
234
+ thead {
235
+ font-family: sans-serif;
236
+ font-weight: bold;
237
+ }
238
+ tfoot {
239
+ font-weight: bold;
240
+ }
241
+
242
+ div.hlist {
243
+ margin-top: 0.8em;
244
+ margin-bottom: 0.8em;
245
+ }
246
+ div.hlist td {
247
+ padding-bottom: 15px;
248
+ }
249
+ td.hlist1 {
250
+ vertical-align: top;
251
+ font-style: normal;
252
+ padding-right: 0.8em;
253
+ }
254
+ td.hlist2 {
255
+ vertical-align: top;
256
+ }
257
+
258
+ @media print {
259
+ div#footer-badges { display: none; }
260
+ }
261
+
262
+ div#toctitle {
263
+ color: #527bbd;
264
+ font-family: sans-serif;
265
+ font-size: 1.1em;
266
+ font-weight: bold;
267
+ margin-top: 1.0em;
268
+ margin-bottom: 0.1em;
269
+ }
270
+
271
+ div.toclevel1, div.toclevel2, div.toclevel3, div.toclevel4 {
272
+ margin-top: 0;
273
+ margin-bottom: 0;
274
+ }
275
+ div.toclevel2 {
276
+ margin-left: 2em;
277
+ font-size: 0.9em;
278
+ }
279
+ div.toclevel3 {
280
+ margin-left: 4em;
281
+ font-size: 0.9em;
282
+ }
283
+ div.toclevel4 {
284
+ margin-left: 6em;
285
+ font-size: 0.9em;
286
+ }
287
+ div.toclevel1.return_to_table_of_contents {
288
+ margin-bottom: 0.5em;
289
+ }
290
+ /* Workarounds for IE6's broken and incomplete CSS2. */
291
+
292
+ div.sidebar-content {
293
+ background: #ffffee;
294
+ border: 1px solid silver;
295
+ padding: 0.5em;
296
+ }
297
+ div.sidebar-title, div.image-title {
298
+ color: #527bbd;
299
+ font-family: sans-serif;
300
+ font-weight: bold;
301
+ margin-top: 0.0em;
302
+ margin-bottom: 0.5em;
303
+ }
304
+
305
+ div.listingblock div.content {
306
+ border: 1px solid silver;
307
+ background: #f4f4f4;
308
+ padding: 0.5em;
309
+ overflow: auto;
310
+ overflow-x: auto;
311
+ }
312
+
313
+ div.quoteblock-attribution {
314
+ padding-top: 0.5em;
315
+ text-align: right;
316
+ }
317
+
318
+ div.verseblock-content {
319
+ white-space: pre;
320
+ }
321
+ div.verseblock-attribution {
322
+ padding-top: 0.75em;
323
+ text-align: left;
324
+ }
325
+
326
+ div.exampleblock-content {
327
+ border-left: 2px solid silver;
328
+ padding-left: 0.5em;
329
+ }
330
+
331
+ /* IE6 sets dynamically generated links as visited. */
332
+ div#toc a:visited { color: blue; }
333
+
334
+ /* Because IE6 child selector is broken. */
335
+ div.olist2 ol {
336
+ list-style-type: lower-alpha;
337
+ }
338
+ div.olist2 div.olist ol {
339
+ list-style-type: decimal;
340
+ }
341
+
342
+ #chapter_navigation {
343
+ border-top: solid 1px #9999cc;
344
+ width: 100%;
345
+ margin-top: 1.5em;
346
+ margin-bottom: 1em;
347
+ }
348
+ #chapter_navigation td {
349
+ padding-top: 1.5em;
350
+ width: 33%;
351
+ vertical-align: top;
352
+ }
353
+ #chapter_navigation .center {
354
+ text-align: center;
355
+ }
356
+ #chapter_navigation .right-floaty {
357
+ text-align: right;
358
+ }