docbook.css 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233
  1. /* ---------------------------------------------------------------------------
  2. Bare AsciiDoc styles
  3. Ryan Tomayko <r@tomayko.com>
  4. --------------------------------------------------------------------------- */
  5. body {
  6. font-family:verdana,helvetica,arial,sans-serif;
  7. font-size:81.25%; /* 13px */
  8. line-height:1.538; /* 20px */
  9. margin:40px 50px;
  10. max-width:53.8461538462em; /* 790px */
  11. color:#333;
  12. }
  13. em {
  14. font-style:italic;
  15. }
  16. strong {
  17. font-weight:bold;
  18. color:#000;
  19. }
  20. tt {
  21. font-family:consolas, 'lucida console', 'bitstream vera sans mono',
  22. 'courier new', monospace;
  23. color:#000;
  24. }
  25. p, ul, ol, dl {
  26. margin:10px 0
  27. }
  28. dl {
  29. margin-left:40px
  30. }
  31. dt {
  32. font-weight:normal;
  33. color:#000;
  34. }
  35. h1, h2, h3, h4, h5 {
  36. font-family:'lucida grande',georgia,verdana,helvetica,arial,sans-serif;
  37. font-weight:normal;
  38. color:#000;
  39. }
  40. h1 {
  41. font-size:30px;
  42. line-height:1.428;
  43. margin:20px 0;
  44. }
  45. h2 {
  46. font-size:23px;
  47. line-height:1.36363636; /* repeating, of course */
  48. margin:20px 0;
  49. }
  50. h2 + .sectionbody {}
  51. h3 {
  52. font-size:18px;
  53. line-height:1.1;
  54. margin:30px 0 10px 0;
  55. }
  56. h4 {
  57. font-size:13px;
  58. font-weight:bold;
  59. line-height:1.538;
  60. }
  61. h5 {
  62. font-size:13px;
  63. font-style:italic;
  64. line-height:1.538;
  65. }
  66. pre {
  67. font-size:larger;
  68. }
  69. #header {
  70. text-align:center;
  71. margin-bottom:30px;
  72. }
  73. #header h1 { margin-bottom:0 }
  74. /*.title, .sidebar-title {
  75. font-weight:normal;
  76. margin-bottom:0;
  77. }*/
  78. .admonitionblock .title {
  79. font-weight:bold;
  80. }
  81. .admonitionblock {
  82. margin:30px 0px;
  83. color:#555;
  84. }
  85. .admonitionblock td.icon {
  86. width:30px;
  87. padding-right:20px;
  88. padding-left:20px;
  89. text-transform:uppercase;
  90. font-weight:bold;
  91. color:#888;
  92. }
  93. .listingblock .content {
  94. border:1px solid silver;
  95. background:#eee;
  96. padding:5px;
  97. }
  98. .listingblock .content pre {
  99. margin:0;
  100. }
  101. .literalblock .content {
  102. margin-left:40px;
  103. }
  104. .verseblock .content {
  105. white-space:pre
  106. }
  107. .sidebarblock .sidebar-content {
  108. border:1px solid silver;
  109. background:#FFFFEE;
  110. padding:0 10px;
  111. color:#222;
  112. font-size:smaller;
  113. line-height:1.5;
  114. }
  115. .sidebar-title {
  116. margin:10px 0;
  117. font-weight:bold;
  118. color:#442;
  119. }
  120. .quoteblock-content {
  121. font-style:italic;
  122. color:#444;
  123. margin-left:40px;
  124. }
  125. .quoteblock-content .attribution {
  126. font-style:normal;
  127. text-align:right;
  128. color:#000;
  129. }
  130. .exampleblock-content *:first-child { margin-top:0 }
  131. .exampleblock-content {
  132. border-left:2px solid silver;
  133. padding-left:8px;
  134. }
  135. #footer {
  136. font-size:11px;
  137. margin-top:40px;
  138. border-top:1px solid silver;
  139. color:#555;
  140. }
  141. #author {
  142. color:#000;
  143. text-transform:uppercase
  144. }
  145. /* ---------------------------------------------------------------------------
  146. FreeBSD AsciiDoc Theme
  147. Ryan Tomayko <r@tomayko.com>
  148. Based on The FreeBSD Handbook and various other FreeBSD documenration.
  149. --------------------------------------------------------------------------- */
  150. body {
  151. font-family:serif;
  152. font-size:100%;
  153. color:#000;
  154. }
  155. tt { color:#007A00 }
  156. pre tt { color:#000 }
  157. dt { color:#000 }
  158. /* TODO: find out why docbook tables are not 100% */
  159. table {
  160. width:100%;
  161. }
  162. h1, h2, h3, h4, h5, .NAVHEADER {
  163. font-family:'lucida grande',helvetica,verdana,sans-serif;
  164. color:#148BCF;
  165. font-weight:bold;
  166. }
  167. #header {
  168. text-align:left;
  169. }
  170. #header h1 { margin-bottom:40px }
  171. h1 {
  172. font-size:36px;
  173. line-height:1;
  174. margin:40px 0;
  175. }
  176. h2 {
  177. font-size:28px;
  178. line-height:1;
  179. margin:30px 0 20px 0;
  180. }
  181. .sectionbody {
  182. margin-left:30px;
  183. }
  184. pre {
  185. background:#EEE;
  186. }
  187. /* vim: set ft=css ts=4 sw=4 noexpandtab: */