style.css 6.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392
  1. /* CSS Reset */
  2. html,body {
  3. margin: 0;
  4. padding: 0;
  5. font: 16px/1.6em Georgia,Times,Serif;
  6. }
  7. /* Layout */
  8. .clear {clear:both}
  9. .main {
  10. margin: 0 auto;
  11. width: 960px;
  12. }
  13. #header {
  14. background: transparent url("../images/background_header.png") top center repeat-x;
  15. height: 210px;
  16. }
  17. #header .main {
  18. background: url("../images/balloon_header.png") no-repeat scroll right bottom;
  19. height: 210px;
  20. width: 973px;
  21. }
  22. #menu {
  23. background: #d0def1;
  24. border-top: 1px solid #aaa;
  25. border-bottom: 1px solid #aaa;
  26. position: absolute;
  27. width: 100%;
  28. top: 210px;
  29. font-family: arial,helvetica,sans;
  30. }
  31. #menu ul {
  32. width: 980px;
  33. margin: 0 auto;
  34. padding: 5px 0;
  35. }
  36. #menu li {
  37. display: inline;
  38. padding: 1px;
  39. }
  40. #menu a {
  41. color: #515a6a;
  42. text-decoration: none;
  43. padding: 5px 15px;
  44. }
  45. #menu a:hover {
  46. color: #072d5a;
  47. text-decoration: underline;
  48. }
  49. #menu .selected a,
  50. #menu a:hover {
  51. color: #072d5a;
  52. text-decoration: none;
  53. }
  54. #content .main {
  55. width: 980px;
  56. margin: 0 auto;
  57. }
  58. .box {
  59. padding: 30px;
  60. margin: 40px 0;
  61. color: #777;
  62. box-shadow: 0 0 8px #aaa;
  63. -moz-box-shadow: 0 0 8px #aaa;
  64. -webkit-box-shadow: 0 0 8px #aaa;
  65. border-radius: 10px;
  66. -moz-border-radius: 10px;
  67. -webkit-border-radius: 10px;
  68. background: #fff url('../images/background_box.png') bottom left repeat-x;
  69. }
  70. .box a {
  71. color: #5b9ff2;
  72. text-decoration: none;
  73. }
  74. .box a:hover {
  75. text-decoration: underline;
  76. }
  77. .box h2 {
  78. font: 26px Georgia, Times, serif;
  79. color: #242424;
  80. margin: -30px;
  81. margin-bottom: 0px;
  82. padding: 15px;
  83. background: #eee;
  84. border-bottom: 1px solid #ccc;
  85. border-top-left-radius: 10px;
  86. border-top-right-radius: 10px;
  87. -webkit-border-top-left-radius: 10px;
  88. -webkit-border-top-right-radius: 10px;
  89. -moz-border-radius-topleft: 10px;
  90. -moz-border-radius-topright: 10px;
  91. }
  92. .box.first {
  93. padding-top: 0;
  94. margin-top: 70px;
  95. }
  96. .box.first, .box.last {
  97. background-image: none;
  98. }
  99. .box.first h1 {
  100. padding-bottom: 15px;
  101. }
  102. .box.first .content .right img {
  103. margin-right: -30px
  104. }
  105. .box .content .right {
  106. float: right;
  107. }
  108. .box .content .left {
  109. float: left;
  110. width: 420px;
  111. }
  112. .doc .content {
  113. width: 620px;
  114. }
  115. .box h1 {
  116. text-align: center;
  117. margin-top: 0;
  118. padding-top: 0;
  119. }
  120. .doc h3 a {
  121. color: #ccc;
  122. }
  123. .doc h3 a:hover {
  124. color: #0088CC;
  125. }
  126. .box .content p, h3 {
  127. font: 16px Georgia, Times, Serif;
  128. line-height: 1.6em;
  129. padding: 10px 0;
  130. margin: 0;
  131. }
  132. .box .content h3 {
  133. font-size: 20px;
  134. padding-bottom: 2px;
  135. padding-top: 30px;
  136. color: #272727;
  137. }
  138. .box .content h4 {
  139. font: 18px Georgia, Times, serif;
  140. color: #272727;
  141. padding-top: 1em;
  142. margin-top: 10px;
  143. margin-bottom: 5px;
  144. }
  145. .box .content pre {
  146. border: 1px solid #aaa;
  147. background-color: #eee;
  148. border-radius: 10px;
  149. -moz-border-radius: 10px;
  150. -webkit-border-radius: 10px;
  151. padding: 1em;
  152. line-height: 1.5em;
  153. font-size: 14px;
  154. }
  155. .box .content code {
  156. font-size: 14px;
  157. color: #666;
  158. margin: 0;
  159. padding: 0 3px;
  160. border: 1px solid #bbb;
  161. background: #f1f1f1;
  162. }
  163. .box .content pre code {
  164. background: transparent;
  165. border: 0 none;
  166. }
  167. .box .content .tip {
  168. border: 1px solid #565656;
  169. border-radius: 10px;
  170. -moz-border-radius: 10px;
  171. -webkit-border-radius: 10px;
  172. padding: 1em;
  173. }
  174. .box .top img {
  175. margin: 30px 0 0 70px;
  176. }
  177. .box.last .content .left {
  178. width: 560px;
  179. }
  180. .box.last .content .left {
  181. margin-left: -30px;
  182. margin-bottom: -32px
  183. }
  184. .box.doc {margin-top: 70px}
  185. .box .content .information {
  186. background-color: #e4e8ff;
  187. color: #444;
  188. padding: 7px 6px 7px 12px;
  189. margin-top: 20px;
  190. border-radius: 10px;
  191. -moz-border-radius: 10px;
  192. -webkit-border-radius: 10px;
  193. }
  194. .box .content .warning {
  195. background-color: #f8ccf8;
  196. color: #444;
  197. padding: 7px 6px 7px 12px;
  198. margin: 20px 0 20px 0;
  199. border-radius: 10px;
  200. -moz-border-radius: 10px;
  201. -webkit-border-radius: 10px;
  202. }
  203. .box .content .code {
  204. background: #565656;
  205. border-radius: 10px;
  206. -moz-border-radius: 10px;
  207. -webkit-border-radius: 10px;
  208. padding: 7px;
  209. }
  210. .box .content .code p {
  211. color: white;
  212. }
  213. .box.first .content .left h2 {
  214. font: 30px regular Georgia, Times, serif;
  215. color: #272727;
  216. margin-top: 10px;
  217. }
  218. .box.first .content .left ul {
  219. padding-left: 10px;
  220. }
  221. .box.last .content .right {
  222. width: 300px;
  223. }
  224. .doc .box.first .content .right {
  225. float: right;
  226. width: 230px;
  227. margin-top: 20px;
  228. padding: 10px;
  229. background-color: #ececec;
  230. border: 1px solid #e1e1e1;
  231. border-radius: 10px;
  232. -moz-border-radius: 10px;
  233. -webkit-border-radius: 10px;
  234. }
  235. .doc .box.first .content .right ol,
  236. .doc .box.first .content .right ol a {
  237. font: 18px Georgia, Time, serif;
  238. color: #03388a;
  239. }
  240. .doc .box.first .content .right ol {
  241. padding: 0 0 7px 35px;
  242. }
  243. .doc .box.first .content .right ol li{
  244. padding: 7px 0 7px 0;
  245. }
  246. .doc .box.first .content .right ul a {
  247. font: 15px Helvetica, Arial, sans;
  248. color: black;
  249. }
  250. .doc .box.first .content .right ul li {
  251. list-style-type: none;
  252. padding: 2px 0 2px 0;
  253. }
  254. .trysmalltalk {
  255. text-align: right;
  256. padding: 10px;
  257. }
  258. .trysmalltalk textarea {
  259. width: 850px;
  260. height: 300px;
  261. padding: 20px;
  262. background-color: #eaeaea;
  263. border: 1px solid #d3d3d3;
  264. border-radius: 10px;
  265. -moz-border-radius: 10px;
  266. -webkit-border-radius: 10px;
  267. font: 16px monaco, courier, monospace;
  268. color: 434343;
  269. line-height: 1.6em;
  270. }
  271. .trysmalltalk button {
  272. margin: 20px 0 0 5px;
  273. padding: 4px;
  274. background: #75aef5;
  275. border: 1px solid #7caeed;
  276. border-radius: 8px;
  277. -moz-border-radius: 8px;
  278. -webkit-border-radius: 8px;
  279. color: white;
  280. cursor: pointer;
  281. }
  282. .trysmalltalk .print-it {
  283. background: #bebebe;
  284. border: 1px solid #b2b2b2;
  285. }
  286. .trysmalltalk button:hover {
  287. background: #3180e1;
  288. border: 1px solid #518cd6;
  289. }
  290. #counters {
  291. border: 2px dashed;
  292. text-align: center;
  293. padding: 10px;
  294. margin: 10px;
  295. background: #ffffcc;
  296. font-family: arial,helvetica,sans;
  297. }
  298. #counters h1 {
  299. margin: 10px;
  300. color: #333;
  301. }
  302. .trysmalltalk .print-it:hover {
  303. background: #898989;
  304. border: 1px solid #919293;
  305. }
  306. #footer {
  307. height: 160px;
  308. background: transparent url("../images/footer.png") bottom repeat-x;
  309. margin: 0 auto;
  310. }
  311. #footer .main {
  312. padding-top: 60px;
  313. }
  314. #footer p {
  315. font-size: 12px;
  316. text-align: center;
  317. line-height: 1.5em;
  318. color: #5a5a5a;
  319. }
  320. #footer a {
  321. color: #0f66d2;
  322. text-decoration: none;
  323. }
  324. #footer a:hover {
  325. text-decoration: underline;
  326. }