style.css 6.3 KB

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