style.css 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313
  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. .trysmalltalk {
  170. text-align: right;
  171. padding: 10px;
  172. }
  173. .trysmalltalk textarea {
  174. width: 850px;
  175. height: 300px;
  176. padding: 20px;
  177. background-color: #eaeaea;
  178. border: 1px solid #d3d3d3;
  179. border-radius: 10px;
  180. -moz-border-radius: 10px;
  181. -webkit-border-radius: 10px;
  182. font: 16px monaco, courier, monospace;
  183. color: 434343;
  184. line-height: 1.6em;
  185. }
  186. .trysmalltalk button {
  187. margin: 20px 0 0 5px;
  188. padding: 4px;
  189. background: #75aef5;
  190. border: 1px solid #7caeed;
  191. border-radius: 8px;
  192. -moz-border-radius: 8px;
  193. -webkit-border-radius: 8px;
  194. color: white;
  195. cursor: pointer;
  196. }
  197. .trysmalltalk .print-it {
  198. background: #bebebe;
  199. border: 1px solid #b2b2b2;
  200. }
  201. .trysmalltalk button:hover {
  202. background: #3180e1;
  203. border: 1px solid #518cd6;
  204. }
  205. #counters {
  206. border: 2px dashed;
  207. text-align: center;
  208. padding: 10px;
  209. margin: 10px;
  210. background: #ffffcc;
  211. font-family: arial,helvetica,sans;
  212. }
  213. #counters h1 {
  214. margin: 10px;
  215. color: #333;
  216. }
  217. .trysmalltalk .print-it:hover {
  218. background: #898989;
  219. border: 1px solid #919293;
  220. }
  221. .examples li {
  222. list-style: none;
  223. float: left;
  224. }
  225. .examples li img {
  226. border-radius: 5px;
  227. border: 5px solid rgba(0,0,0,0.4);
  228. margin: 5px;
  229. }
  230. .examples a:hover img {
  231. border-color: rgba(0,0,0,0.8);
  232. }
  233. #footer {
  234. height: 200px;
  235. border: 1px solid #ccc;
  236. background: #f3f3f3 url('../images/mosquito.png') 50px 20px no-repeat;
  237. margin: 0 auto;
  238. }
  239. #footer .main {
  240. padding-top: 10px;
  241. }
  242. #footer p {
  243. text-align: center;
  244. line-height: 1em;
  245. color: #aaa;
  246. }
  247. #footer a {
  248. color: #3faae1;
  249. text-decoration: none;
  250. }
  251. #footer a:hover {
  252. text-decoration: underline;
  253. }