documentation.css 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321
  1. /* CSS Reset */
  2. html,body {
  3. margin: 0;
  4. padding: 0;
  5. font: 14px "Helvetica Neue", "Lucida Grande", "Lucida Sans Unicode", Helvetica, Arial, sans-serif;
  6. line-height: 1.5;
  7. color: #444;
  8. }
  9. /* Layout */
  10. .clear {clear:both}
  11. #header {
  12. margin: 60px auto;
  13. margin-bottom: 20px;
  14. }
  15. #header .main {
  16. text-align: center;
  17. }
  18. .teaser {
  19. background: #eee;
  20. border: 3px solid #ccc;
  21. border-left: 0;
  22. border-right: 0;
  23. padding: 20px;
  24. margin-bottom: 50px;
  25. }
  26. #tabs {
  27. list-type: none;
  28. position: absolute;
  29. top: 0;
  30. right: 0;
  31. padding-right: 20px;
  32. }
  33. #tabs li {
  34. margin: 0 5px;
  35. display: inline;
  36. }
  37. a {
  38. text-decoration: none;
  39. color: #613823;
  40. }
  41. a:hover {
  42. text-decoration: underline;
  43. }
  44. a.selected {
  45. text-decoration: underline;
  46. color: #444;
  47. }
  48. .main {
  49. width: 900px;
  50. margin: 0 auto;
  51. }
  52. .column {
  53. float: left;
  54. width: 440px;
  55. margin-right: 10px;
  56. }
  57. /* Fonts */
  58. h1, h2, h3 {
  59. font-family: 'Istok Web';
  60. font-weight: normal;
  61. color: #442905;
  62. line-height: 1.2;
  63. }
  64. h1 {
  65. font-weight: bold;
  66. color: #333;
  67. text-shadow: 0px 1px 1px #FFF;
  68. }
  69. .teaser h1 {
  70. text-align: center;
  71. }
  72. .box {
  73. margin: 40px 0;
  74. color: #777;
  75. }
  76. .box.doc {
  77. margin-top: 70px;
  78. position: relative;
  79. width: 630px;
  80. }
  81. .box .content .warning,
  82. .box .content .information {
  83. position: absolute;
  84. right: -250px;
  85. margin-top: 20px;
  86. width: 200px;
  87. font-size: 14px;
  88. color: #222;
  89. font-family: arial,helevetica,sans;
  90. padding: 10px;
  91. opacity: 0.7;
  92. -moz-transition: opacity 0.3s;
  93. -webkit-transition: opacity 0.3s;
  94. -o-transition: opacity 0.3s;
  95. }
  96. .box .content .warning:hover,
  97. .box .content .information:hover {
  98. opacity: 1;
  99. }
  100. .box .content .information:before,
  101. .box .content .warning:before {
  102. font-family: Georgia, sans-serif;
  103. font-size: 28px;
  104. font-style: italic;
  105. position: absolute;
  106. right: 0;
  107. top: -21px;
  108. opacity: 0.5;
  109. }
  110. .box .content .information:before {
  111. content: "Info";
  112. color: #a6b1f3;
  113. }
  114. .box .content .warning:before {
  115. content: "Warning";
  116. color: #e869e7;
  117. }
  118. .box .content .information {
  119. background-color: #e4e8ff;
  120. }
  121. .box .content .warning {
  122. background-color: #f8ccf8;
  123. }
  124. .box .content .code {
  125. background: #565656;
  126. border-radius: 10px;
  127. -moz-border-radius: 10px;
  128. -webkit-border-radius: 10px;
  129. padding: 7px;
  130. }
  131. .box .content .code p {
  132. color: white;
  133. }
  134. .box.first .content .left ul {
  135. padding-left: 10px;
  136. }
  137. .box.last .content .right {
  138. width: 300px;
  139. }
  140. .doc .box.first .content .right {
  141. float: right;
  142. width: 230px;
  143. margin-top: 20px;
  144. padding: 10px;
  145. background-color: #ececec;
  146. border: 1px solid #e1e1e1;
  147. border-radius: 10px;
  148. -moz-border-radius: 10px;
  149. -webkit-border-radius: 10px;
  150. }
  151. .doc .box.first .content .right ol,
  152. .doc .box.first .content .right ol a {
  153. color: #03388a;
  154. }
  155. .doc .box.first .content .right ol {
  156. padding: 0 0 7px 35px;
  157. }
  158. .doc .box.first .content .right ol li{
  159. padding: 7px 0 7px 0;
  160. }
  161. .doc .box.first .content .right ul a {
  162. font: 15px Helvetica, Arial, sans;
  163. color: black;
  164. }
  165. .doc .box.first .content .right ul li {
  166. list-style-type: none;
  167. padding: 2px 0 2px 0;
  168. }
  169. #footer {
  170. height: 200px;
  171. border: 1px solid #ccc;
  172. background: #f3f3f3 url('../images/mosquito.png') 50px 20px no-repeat;
  173. margin: 0 auto;
  174. }
  175. #footer .main {
  176. padding-top: 10px;
  177. }
  178. #footer p {
  179. text-align: center;
  180. line-height: 1em;
  181. color: #aaa;
  182. }
  183. #footer a {
  184. color: #3faae1;
  185. text-decoration: none;
  186. }
  187. #footer a:hover {
  188. text-decoration: underline;
  189. }
  190. #wrapper {
  191. margin-left: 350px;
  192. text-align: left;
  193. }
  194. #header {
  195. text-align: left;
  196. margin: 20px 0;
  197. }
  198. #header .left {
  199. float: left;
  200. margin-right: 20px;
  201. }
  202. #header h1 {
  203. margin: 10px 0;
  204. }
  205. .documentation {
  206. border-top: 1px solid #999;
  207. }
  208. .documentation a {
  209. color: #C71212;
  210. cursor: pointer;
  211. }
  212. .documentation a:hover {
  213. color: white;
  214. background: #D15E5E;
  215. text-decoration: none;
  216. }
  217. .documentation pre {
  218. border-radius: 3px;
  219. border: 1px solid #ccc;
  220. background: #eee;
  221. padding: 5px;
  222. margin: 0 20px;
  223. }
  224. .documentation code {
  225. background: #eee;
  226. padding: 0 5px;
  227. }
  228. .documentation .menu {
  229. position: fixed;
  230. left: 0;
  231. bottom: 0;
  232. top: 0;
  233. width: 300px;
  234. background: #ddd;
  235. overflow-y: scroll;
  236. }
  237. .documentation .doc_chapter {
  238. position: absolute;
  239. background: #fafafa;
  240. left: 300px;
  241. right: 0;
  242. padding: 0 20px;
  243. }
  244. .documentation .doc_chapter a {
  245. background: #eae3c6;
  246. }
  247. .documentation .doc_chapter a:hover {
  248. background: #D15E5E;
  249. color: white;
  250. }
  251. .documentation .doc_chapter .links {
  252. border-top: 1px solid #999;
  253. margin-top: 10px;
  254. padding-top: 10px;
  255. }
  256. .documentation .doc_chapter h2 {
  257. border-bottom: 1px solid #999;
  258. }