style.css 6.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400
  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: 16px Georgia, Times, serif;
  146. color: #272727;
  147. padding-top: 1em;
  148. padding-left: 1.5em;
  149. }
  150. .box .content pre {
  151. background-color: #565656;
  152. border-radius: 10px;
  153. -moz-border-radius: 10px;
  154. -webkit-border-radius: 10px;
  155. padding: 1em;
  156. color: white;
  157. line-height: 1.5em;
  158. }
  159. .box .content code {
  160. font-size: 14px;
  161. color: #666;
  162. background: none;
  163. margin: 0;
  164. padding: 0 3px;
  165. border: 1px solid #bbb;
  166. background: #f1f1f1;
  167. }
  168. .box .content .tip {
  169. border: 1px solid #565656;
  170. border-radius: 10px;
  171. -moz-border-radius: 10px;
  172. -webkit-border-radius: 10px;
  173. padding: 1em;
  174. }
  175. .box .top img {
  176. margin: 30px 0 0 70px;
  177. }
  178. .box.last .content .left {
  179. width: 560px;
  180. }
  181. .box.last .content .left {
  182. margin-left: -30px;
  183. margin-bottom: -32px
  184. }
  185. .doc .box.first .content .left p, ul {
  186. font-family: Helvetica, Arial, sans;
  187. color: #636363;
  188. }
  189. .doc .box.first .content .left ul {
  190. margin-left: 20px;
  191. list-style-type: none;
  192. line-height: 1.5em;
  193. }
  194. .box .content .information {
  195. background-color: #e4e8ff;
  196. padding: 7px 6px 7px 12px;
  197. margin-top: 20px;
  198. border-radius: 10px;
  199. -moz-border-radius: 10px;
  200. -webkit-border-radius: 10px;
  201. }
  202. .box .content .warning {
  203. background-color: #f8ccf8;
  204. padding: 7px 6px 7px 12px;
  205. margin: 20px 0 20px 0;
  206. border-radius: 10px;
  207. -moz-border-radius: 10px;
  208. -webkit-border-radius: 10px;
  209. }
  210. .box .content .code {
  211. background: #565656;
  212. border-radius: 10px;
  213. -moz-border-radius: 10px;
  214. -webkit-border-radius: 10px;
  215. padding: 7px;
  216. }
  217. .box .content .code p {
  218. color: white;
  219. }
  220. .box.first .content .left h2 {
  221. font: 30px regular Georgia, Times, serif;
  222. color: #272727;
  223. margin-top: 10px;
  224. }
  225. .box.first .content .left ul {
  226. padding-left: 10px;
  227. }
  228. .box.last .content .right {
  229. width: 300px;
  230. }
  231. .doc .box.first .content .right {
  232. float: right;
  233. width: 230px;
  234. margin-top: 20px;
  235. padding: 10px;
  236. background-color: #ececec;
  237. border: 1px solid #e1e1e1;
  238. border-radius: 10px;
  239. -moz-border-radius: 10px;
  240. -webkit-border-radius: 10px;
  241. }
  242. .doc .box.first .content .right ol,
  243. .doc .box.first .content .right ol a {
  244. font: 18px Georgia, Time, serif;
  245. color: #03388a;
  246. }
  247. .doc .box.first .content .right ol {
  248. padding: 0 0 7px 35px;
  249. }
  250. .doc .box.first .content .right ol li{
  251. padding: 7px 0 7px 0;
  252. }
  253. .doc .box.first .content .right ul a {
  254. font: 15px Helvetica, Arial, sans;
  255. color: black;
  256. }
  257. .doc .box.first .content .right ul li {
  258. list-style-type: none;
  259. padding: 2px 0 2px 0;
  260. }
  261. .trysmalltalk {
  262. text-align: right;
  263. padding: 10px;
  264. }
  265. .trysmalltalk textarea {
  266. width: 850px;
  267. height: 300px;
  268. padding: 20px;
  269. background-color: #eaeaea;
  270. border: 1px solid #d3d3d3;
  271. border-radius: 10px;
  272. -moz-border-radius: 10px;
  273. -webkit-border-radius: 10px;
  274. font: 16px monaco, courier, monospace;
  275. color: 434343;
  276. line-height: 1.6em;
  277. }
  278. .trysmalltalk button {
  279. margin: 20px 0 0 5px;
  280. padding: 4px;
  281. background: #75aef5;
  282. border: 1px solid #7caeed;
  283. border-radius: 8px;
  284. -moz-border-radius: 8px;
  285. -webkit-border-radius: 8px;
  286. color: white;
  287. cursor: pointer;
  288. }
  289. .trysmalltalk .print-it {
  290. background: #bebebe;
  291. border: 1px solid #b2b2b2;
  292. }
  293. .trysmalltalk button:hover {
  294. background: #3180e1;
  295. border: 1px solid #518cd6;
  296. }
  297. #counters {
  298. border: 2px dashed;
  299. text-align: center;
  300. padding: 10px;
  301. margin: 10px;
  302. background: #ffffcc;
  303. }
  304. #counters h1 {
  305. margin: 10px;
  306. color: #333;
  307. }
  308. .trysmalltalk .print-it:hover {
  309. background: #898989;
  310. border: 1px solid #919293;
  311. }
  312. #footer {
  313. height: 160px;
  314. background: transparent url("../images/footer.png") bottom repeat-x;
  315. margin: 0 auto;
  316. }
  317. #footer .main {
  318. padding-top: 60px;
  319. }
  320. #footer p {
  321. font-size: 12px;
  322. text-align: center;
  323. line-height: 1.5em;
  324. color: #5a5a5a;
  325. }
  326. #footer a {
  327. color: #0f66d2;
  328. text-decoration: none;
  329. }
  330. #footer a:hover {
  331. text-decoration: underline;
  332. }