style.css 6.3 KB

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