dita-ot-doc.css 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257
  1. /* DITA Open Toolkit documentation style */
  2. /****************************************
  3. Basic fonts and typography
  4. ****************************************/
  5. article {
  6. color: #333;
  7. }
  8. body {
  9. background-color: white;
  10. background-image: -webkit-linear-gradient(left, #eee 0%, #fff 300px); /* Chrome10+,Safari5.1+ */
  11. background-image: -moz-linear-gradient(left, #eee 0%, #fff 300px); /* FF3.6+ */
  12. background-image: linear-gradient(left, #eee 0%, #fff 300px); /* W3C */
  13. color: #333;
  14. margin: 0;
  15. padding: 1em;
  16. }
  17. div.header {
  18. font-size: 18pt;
  19. margin: 0;
  20. padding: 0 12px;
  21. }
  22. div.header p {
  23. color: #777;
  24. font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  25. line-height: 1.3;
  26. margin: 0;
  27. }
  28. div.header hr {
  29. border: 0;
  30. border-bottom: 1px solid #eee;
  31. height: 0;
  32. }
  33. body,
  34. caption,
  35. td,
  36. th {
  37. font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  38. font-size: 10pt;
  39. }
  40. code,
  41. pre,
  42. .cmdname,
  43. .filepath,
  44. .msgnum,
  45. .option,
  46. .parmname {
  47. color: #777;
  48. font-family: Menlo, Monaco, Consolas, 'Courier New', monospace;
  49. font-size: 90%;
  50. }
  51. /****************************************
  52. Headings
  53. ****************************************/
  54. h1,
  55. h2,
  56. h3 {
  57. color: #1d365d;
  58. font-size: 12pt;
  59. font-weight: bold;
  60. margin-bottom: 0.75em;
  61. margin-left: 0;
  62. margin-right: 0;
  63. margin-top: 1em;
  64. padding: 0;
  65. }
  66. h1 .filepath,
  67. h2 .filepath,
  68. h3 .filepath {
  69. font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  70. font-size: 12pt;
  71. font-weight: bold;
  72. }
  73. h1 .filepath {
  74. color: #1d365d;
  75. }
  76. .sectiontitle {
  77. color: #1d365d;
  78. font-weight: bold;
  79. }
  80. .topictitle1 {
  81. margin-top: 1em;
  82. }
  83. /****************************************
  84. Basic identation, padding, and margins
  85. ****************************************/
  86. main {
  87. margin-left: 300px;
  88. }
  89. blockquote,
  90. li,
  91. p {
  92. line-height: 125%;
  93. margin-bottom: 0.75em;
  94. margin-left: 0;
  95. margin-right: 0;
  96. margin-top: 0.75em;
  97. padding: 0;
  98. }
  99. dd {
  100. line-height: 125%;
  101. margin-bottom: 0.75em;
  102. margin-top: 0.75em;
  103. }
  104. dl {
  105. line-height: 125%;
  106. margin-bottom: 0.75em;
  107. margin-left: 2em;
  108. margin-right: 0;
  109. margin-top: 0.75em;
  110. padding: 0;
  111. }
  112. ol,
  113. ul {
  114. margin-bottom: 0.75em;
  115. margin-left: 2em;
  116. margin-right: 0;
  117. margin-top: 0.75em;
  118. padding: 0;
  119. }
  120. pre {
  121. margin-bottom: 0.75em;
  122. margin-left: 2em;
  123. margin-top: 0.75em;
  124. padding: 0;
  125. }
  126. /****************************************
  127. Block elements
  128. ****************************************/
  129. .codeblock,
  130. .screen {
  131. background-color: #eee;
  132. border: 1px solid #ccc;
  133. border-radius: 4px;
  134. padding: 6px;
  135. }
  136. /****************************************
  137. Figures
  138. ****************************************/
  139. figcaption {
  140. font-style: italic;
  141. }
  142. /****************************************
  143. In-line elements
  144. ****************************************/
  145. .cmdname,
  146. .msgnum {
  147. font-weight: bold;
  148. }
  149. /****************************************
  150. Links
  151. ****************************************/
  152. a:link {
  153. color: #3563ab;
  154. text-decoration: none;
  155. }
  156. a:visited {
  157. color: #3563ab;
  158. }
  159. a:active,
  160. a:hover {
  161. color: #1d365d;
  162. text-decoration: underline;
  163. }
  164. .related-links {
  165. color: #555;
  166. }
  167. .linklist {
  168. margin-top: 1em;
  169. }
  170. /****************************************
  171. Notes
  172. ****************************************/
  173. .note {
  174. line-height: 125%;
  175. margin-left: 2em;
  176. margin-right: 0;
  177. padding: 0;
  178. }
  179. .caution,
  180. .notelisttitle,
  181. .note__title {
  182. font-weight: bold;
  183. }
  184. /****************************************
  185. Tables
  186. ****************************************/
  187. table {
  188. border-color: Silver;
  189. border-style: solid;
  190. border-width: 1px;
  191. margin-bottom: 1em;
  192. margin-top: 1em;
  193. padding: 1px;
  194. }
  195. tr {
  196. border-color: Silver;
  197. }
  198. td {
  199. border-color: Silver;
  200. }
  201. th {
  202. background-color: #eee;
  203. }
  204. /****************************************
  205. Navigation
  206. ****************************************/
  207. nav[role=toc] {
  208. float: left;
  209. width: 300px;
  210. }
  211. nav[role=toc] li.active > a {
  212. font-weight: bold;
  213. }