style.css 7.0 KB

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