ldoc.css 6.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308
  1. /* BEGIN RESET
  2. Copyright (c) 2010, Yahoo! Inc. All rights reserved.
  3. Code licensed under the BSD License:
  4. http://developer.yahoo.com/yui/license.html
  5. version: 2.8.2r1
  6. */
  7. html {
  8. color: #000;
  9. background: #FFF;
  10. }
  11. body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,code,form,fieldset,legend,input,button,textarea,p,blockquote,th,td {
  12. margin: 0;
  13. padding: 0;
  14. }
  15. table {
  16. border-collapse: collapse;
  17. border-spacing: 0;
  18. }
  19. fieldset,img {
  20. border: 0;
  21. }
  22. address,caption,cite,code,dfn,em,strong,th,var,optgroup {
  23. font-style: inherit;
  24. font-weight: inherit;
  25. }
  26. del,ins {
  27. text-decoration: none;
  28. }
  29. li {
  30. list-style: disc;
  31. margin-left: 20px;
  32. }
  33. caption,th {
  34. text-align: left;
  35. }
  36. h1,h2,h3,h4,h5,h6 {
  37. font-size: 100%;
  38. font-weight: bold;
  39. }
  40. q:before,q:after {
  41. content: '';
  42. }
  43. abbr,acronym {
  44. border: 0;
  45. font-variant: normal;
  46. }
  47. sup {
  48. vertical-align: baseline;
  49. }
  50. sub {
  51. vertical-align: baseline;
  52. }
  53. legend {
  54. color: #000;
  55. }
  56. input,button,textarea,select,optgroup,option {
  57. font-family: inherit;
  58. font-size: inherit;
  59. font-style: inherit;
  60. font-weight: inherit;
  61. }
  62. input,button,textarea,select {*font-size:100%;
  63. }
  64. /* END RESET */
  65. body {
  66. margin-left: 1em;
  67. margin-right: 1em;
  68. font-family: arial, helvetica, geneva, sans-serif;
  69. background-color: #ffffff; margin: 0px;
  70. }
  71. code, tt { font-family: monospace; font-size: 1.1em; }
  72. span.parameter { font-family:monospace; }
  73. span.parameter:after { content:":"; }
  74. span.types:before { content:"("; }
  75. span.types:after { content:")"; }
  76. .type { font-weight: bold; font-style:italic }
  77. body, p, td, th { font-size: .95em; line-height: 1.2em;}
  78. p, ul { margin: 10px 0 0 0px;}
  79. strong { font-weight: bold;}
  80. em { font-style: italic;}
  81. h1 {
  82. font-size: 1.5em;
  83. margin: 0 0 20px 0;
  84. }
  85. h2, h3, h4 { margin: 15px 0 10px 0; }
  86. h2 { font-size: 1.25em; }
  87. h3 { font-size: 1.15em; }
  88. h4 { font-size: 1.06em; }
  89. a:link { font-weight: bold; color: #004080; text-decoration: none; }
  90. a:visited { font-weight: bold; color: #006699; text-decoration: none; }
  91. a:link:hover { text-decoration: underline; }
  92. hr {
  93. color:#cccccc;
  94. background: #00007f;
  95. height: 1px;
  96. }
  97. blockquote { margin-left: 3em; }
  98. ul { list-style-type: disc; }
  99. p.name {
  100. font-family: "Andale Mono", monospace;
  101. padding-top: 1em;
  102. }
  103. pre.example {
  104. background-color: rgb(245, 245, 245);
  105. border: 1px solid silver;
  106. padding: 10px;
  107. margin: 10px 0 10px 0;
  108. font-family: "Andale Mono", monospace;
  109. font-size: .85em;
  110. }
  111. pre {
  112. background-color: rgb(245, 245, 245);
  113. border: 1px solid silver;
  114. padding: 10px;
  115. margin: 10px 0 10px 0;
  116. overflow: auto;
  117. font-family: "Andale Mono", monospace;
  118. }
  119. table.index { border: 1px #00007f; }
  120. table.index td { text-align: left; vertical-align: top; }
  121. #container {
  122. margin-left: 1em;
  123. margin-right: 1em;
  124. background-color: #f0f0f0;
  125. }
  126. #product {
  127. text-align: center;
  128. border-bottom: 1px solid #cccccc;
  129. background-color: #ffffff;
  130. }
  131. #product big {
  132. font-size: 2em;
  133. }
  134. #main {
  135. background-color: #f0f0f0;
  136. border-left: 2px solid #cccccc;
  137. }
  138. #navigation {
  139. float: left;
  140. width: 14em;
  141. vertical-align: top;
  142. background-color: #f0f0f0;
  143. overflow: visible;
  144. }
  145. #navigation h2 {
  146. background-color:#e7e7e7;
  147. font-size:1.1em;
  148. color:#000000;
  149. text-align: left;
  150. padding:0.2em;
  151. border-top:1px solid #dddddd;
  152. border-bottom:1px solid #dddddd;
  153. }
  154. #navigation ul
  155. {
  156. font-size:1em;
  157. list-style-type: none;
  158. margin: 1px 1px 10px 1px;
  159. }
  160. #navigation li {
  161. text-indent: -1em;
  162. display: block;
  163. margin: 3px 0px 0px 22px;
  164. }
  165. #navigation li li a {
  166. margin: 0px 3px 0px -1em;
  167. }
  168. #content {
  169. margin-left: 14em;
  170. padding: 1em;
  171. width: 700px;
  172. border-left: 2px solid #cccccc;
  173. border-right: 2px solid #cccccc;
  174. background-color: #ffffff;
  175. }
  176. #about {
  177. clear: both;
  178. padding: 5px;
  179. border-top: 2px solid #cccccc;
  180. background-color: #ffffff;
  181. }
  182. @media print {
  183. body {
  184. font: 12pt "Times New Roman", "TimeNR", Times, serif;
  185. }
  186. a { font-weight: bold; color: #004080; text-decoration: underline; }
  187. #main {
  188. background-color: #ffffff;
  189. border-left: 0px;
  190. }
  191. #container {
  192. margin-left: 2%;
  193. margin-right: 2%;
  194. background-color: #ffffff;
  195. }
  196. #content {
  197. padding: 1em;
  198. background-color: #ffffff;
  199. }
  200. #navigation {
  201. display: none;
  202. }
  203. pre.example {
  204. font-family: "Andale Mono", monospace;
  205. font-size: 10pt;
  206. page-break-inside: avoid;
  207. }
  208. }
  209. table.module_list {
  210. border-width: 1px;
  211. border-style: solid;
  212. border-color: #cccccc;
  213. border-collapse: collapse;
  214. }
  215. table.module_list td {
  216. border-width: 1px;
  217. padding: 3px;
  218. border-style: solid;
  219. border-color: #cccccc;
  220. }
  221. table.module_list td.name { background-color: #f0f0f0; min-width: 200px; }
  222. table.module_list td.summary { width: 100%; }
  223. table.function_list {
  224. border-width: 1px;
  225. border-style: solid;
  226. border-color: #cccccc;
  227. border-collapse: collapse;
  228. }
  229. table.function_list td {
  230. border-width: 1px;
  231. padding: 3px;
  232. border-style: solid;
  233. border-color: #cccccc;
  234. }
  235. table.function_list td.name { background-color: #f0f0f0; min-width: 200px; }
  236. table.function_list td.summary { width: 100%; }
  237. ul.nowrap {
  238. overflow:auto;
  239. white-space:nowrap;
  240. }
  241. dl.table dt, dl.function dt {border-top: 1px solid #ccc; padding-top: 1em;}
  242. dl.table dd, dl.function dd {padding-bottom: 1em; margin: 10px 0 0 20px;}
  243. dl.table h3, dl.function h3 {font-size: .95em;}
  244. /* stop sublists from having initial vertical space */
  245. ul ul { margin-top: 0px; }
  246. ol ul { margin-top: 0px; }
  247. ol ol { margin-top: 0px; }
  248. ul ol { margin-top: 0px; }
  249. /* make the target distinct; helps when we're navigating to a function */
  250. a:target + * {
  251. background-color: #FF9;
  252. }
  253. /* styles for prettification of source */
  254. pre .comment { color: #558817; }
  255. pre .constant { color: #a8660d; }
  256. pre .escape { color: #844631; }
  257. pre .keyword { color: #aa5050; font-weight: bold; }
  258. pre .library { color: #0e7c6b; }
  259. pre .marker { color: #512b1e; background: #fedc56; font-weight: bold; }
  260. pre .string { color: #8080ff; }
  261. pre .number { color: #f8660d; }
  262. pre .operator { color: #2239a8; font-weight: bold; }
  263. pre .preprocessor, pre .prepro { color: #a33243; }
  264. pre .global { color: #800080; }
  265. pre .prompt { color: #558817; }
  266. pre .url { color: #272fc2; text-decoration: underline; }