1
0

docs.css 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320
  1. /*
  2. File: Style.css
  3. Slick Style for MooTools Docs.
  4. License:
  5. Copyright (c)2007 Valerio Proietti, <http://mad4milk.net>.
  6. */
  7. /*@group Mif*/
  8. #title h1 .mif-m{
  9. color:#e76f01;
  10. }
  11. #title h1 .mif-i{
  12. color:#375b8f;
  13. }
  14. #title h1 .mif-f{
  15. color:#e74747;
  16. }
  17. #title h1 .mif-tree{
  18. color:#2cad59;
  19. }
  20. #title h1 .mif-dot{
  21. color:#588ed1;
  22. }
  23. #title h1 a:hover .mif-dot{
  24. color:#db4f6a;
  25. }
  26. /*@end*/
  27. /* @group Reset */
  28. * {
  29. margin: 0;
  30. padding: 0;
  31. }
  32. #menu ul {
  33. list-style: none;
  34. }
  35. #submenu ul {
  36. list-style-type: square;
  37. }
  38. /* @end */
  39. /* @group Base */
  40. html {
  41. overflow: hidden;
  42. }
  43. body {
  44. font: 11px/1.5 Lucida Grande, Helvetica, Arial, sans-serif;
  45. background: #F3F1F1;
  46. color: #41464D;
  47. }
  48. body, #container {
  49. width: 100%;
  50. height: 100%;
  51. overflow: hidden;
  52. }
  53. a {
  54. text-decoration:none;
  55. }
  56. #title {
  57. position: absolute;
  58. top: 0;
  59. left: 0;
  60. width: 100%;
  61. padding: 5px 0;
  62. background: #aaa;
  63. background: #41464D;
  64. color: #F3F1F1;
  65. height: 30px;
  66. }
  67. #menu {
  68. position: absolute;
  69. width: 30%;
  70. overflow-y: auto;
  71. overflow-x: hidden;
  72. top: 40px;
  73. left: 0;
  74. bottom: 0;
  75. height: expression(document.body.clientHeight-40);
  76. }
  77. #docs {
  78. position: absolute;
  79. top: 40px;
  80. right: 0;
  81. bottom: 0;
  82. overflow: auto;
  83. width: 70%;
  84. height: expression(document.body.clientHeight-40);
  85. }
  86. span.spc {
  87. display: block;
  88. height: 16px;
  89. }
  90. #docs-wrapper, #menu-wrapper {
  91. overflow: hidden;
  92. padding: 4px 4px 0;
  93. background: #fff;
  94. }
  95. #docs-wrapper {
  96. margin: 16px 16px 0 8px;
  97. }
  98. #menu-wrapper {
  99. margin: 16px 8px 0 16px;
  100. }
  101. .success a:link, .success a:visited {
  102. color: #657528;
  103. }
  104. .exception a:link, .exception a:visited {
  105. color: #B33F3F;
  106. }
  107. a:link, a:visited {
  108. color: #528CE0;
  109. }
  110. a:hover, a:active {
  111. color: #41464D !important;
  112. cursor: pointer !important;
  113. }
  114. #title h1 {
  115. font: 25px/1.1 Arial, sans-serif;
  116. font-weight: bolder;
  117. float: left;
  118. margin: 1px 0 2px 20px;
  119. text-shadow: 0 2px 2px rgba(0,0,0,0.4);
  120. }
  121. #title h1 span {
  122. color: #D2E0E6;
  123. }
  124. #title ul li {
  125. font-weight: bold;
  126. font-size: 12px;
  127. float: right;
  128. margin: 10px 5px 0;
  129. }
  130. #title ul {
  131. margin-right: 20px;
  132. }
  133. #menu h2 {
  134. font-size: 14px;
  135. background: #D0C8C8;
  136. color: #8A7575;
  137. margin-bottom: 4px;
  138. padding: 2px 5px;
  139. }
  140. br {
  141. display: none;
  142. }
  143. #menu h3 a {
  144. display: block;
  145. }
  146. #menu h3.selected {
  147. background-color: #e2e5d2;
  148. }
  149. #menu h3.selected a {
  150. color: #657528;
  151. }
  152. h1, h2, h3, h4, h5, h6 {
  153. cursor: default;
  154. }
  155. #menu h3 {
  156. font-size: 12px;
  157. padding: 3px 5px 1px;
  158. background: #D2E0E6;
  159. color: #528CE0;
  160. margin-bottom: 4px;
  161. }
  162. #submenu {
  163. background: #CBCEBD;
  164. color: #424D1A;
  165. padding: 2px 30px;
  166. max-height: 200px;
  167. overflow: auto;
  168. margin-bottom: 4px;
  169. }
  170. #submenu a {
  171. color: #424D1A;
  172. display: block;
  173. }
  174. #submenu a:hover {
  175. text-decoration: underline;
  176. color: #424D1A;
  177. display: block;
  178. }
  179. #submenu ul.subgroup {
  180. padding-left: 20px;
  181. }
  182. p {
  183. color: #575d67;
  184. }
  185. div#footer {
  186. text-align: right;
  187. padding: 10px 16px 0 0;
  188. }
  189. div#footer p {
  190. padding: 0;
  191. }
  192. /* @end */
  193. /* @group Docs */
  194. #docs p {
  195. padding: 5px;
  196. font-size: 12px;
  197. }
  198. #docs p, #docs code, #docs li {
  199. font-size: 12px;
  200. }
  201. #docs h1, #docs h2, #docs h3, #docs h4, #docs h5, #docs h6 {
  202. margin: 5px 0;
  203. padding: 3px 5px 1px;
  204. background: #ddd;
  205. }
  206. #docs h1 {
  207. margin: 25px 0 10px;
  208. background: #D2E0E6;
  209. color: #528CE0;
  210. }
  211. #docs h1.first {
  212. margin: 0 0 10px;
  213. }
  214. #docs h2, #docs h3 {
  215. margin: 10px 0;
  216. }
  217. #docs h3 {
  218. background: #D0C8C8;
  219. color: #5d4f4f;
  220. }
  221. #docs h2 {
  222. color: #B33F3F;
  223. background: #eed8d8;
  224. }
  225. #docs ul, #docs ol {
  226. margin-left: 20px;
  227. }
  228. #docs ul {
  229. list-style: square;
  230. }
  231. #docs ul li p {
  232. padding: 0px;
  233. }
  234. #docs pre {
  235. padding: 5px 7px;
  236. margin: 5px 0;
  237. background: #f5f5f5;
  238. border: 1px solid #ddd;
  239. color: #333;
  240. overflow: auto;
  241. }
  242. #docs h5, #docs h6 {
  243. margin: 5px 0;
  244. padding: 3px 5px 1px;
  245. color: #ce4521;
  246. background: #f0f0ee;
  247. }
  248. #container #docs #docs-wrapper li strong {
  249. color: #5a86a3;
  250. }
  251. #container #docs #docs-wrapper li em {
  252. color: #a56f49;
  253. }
  254. /* @end */