styles.css 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133
  1. body {
  2. background-color: #081f28;
  3. color: #708284;
  4. font-family: 'Helvetica Neue', Helvetica, sans-serif;
  5. font-size: 18px;
  6. }
  7. h1 {
  8. margin: 0;
  9. padding: 0;
  10. font-size: 4em;
  11. }
  12. a {
  13. color: #2076c7;
  14. text-decoration: none;
  15. }
  16. a:hover {
  17. text-decoration: underline;
  18. }
  19. h2 {
  20. font-weight: normal;
  21. font-size: 1.2em;
  22. }
  23. h3 {
  24. font-size: 2.6em;
  25. margin: 0;
  26. }
  27. h1, h2 {
  28. margin: 0;
  29. }
  30. header span {
  31. font-size: 0.5em;
  32. font-weight: normal;
  33. }
  34. nav ul {
  35. margin: 0;
  36. padding: 6px 0 0 3px;
  37. }
  38. nav li {
  39. list-style: none;
  40. display: inline;
  41. padding-right: 12px;
  42. font-weight: bold;
  43. font-size: 0.9em;
  44. }
  45. footer ul {
  46. list-style: none;
  47. padding: 12px 0;
  48. }
  49. footer ul li {
  50. float: left;
  51. margin-right: 40px;
  52. font-size: 0.8em;
  53. font-weight: bold;
  54. }
  55. .wrap {
  56. width: 960px;
  57. margin: 20px auto 0 auto;
  58. }
  59. header {
  60. border-top: 4px solid #708284;
  61. padding: 4px 0 12px 0;
  62. }
  63. article header {
  64. border-top: 2px solid #708284;
  65. }
  66. pre {
  67. border-radius: 2px;
  68. background-color: #03262f;
  69. padding: 6px 0;
  70. color: #819090;
  71. }
  72. p {
  73. line-height: 1.4em;
  74. }
  75. section {
  76. margin-top: 40px;
  77. }
  78. section.columns {
  79. -webkit-column-count: 2;
  80. -webkit-column-gap: 50px;
  81. -webkit-hyphens: auto;
  82. min-height: 720px;
  83. font-size: 18px;
  84. }
  85. .download ul {
  86. list-style: none;
  87. padding: 0;
  88. }
  89. .download li {
  90. font-size: 1.2em;
  91. }
  92. pre .keyword, pre .special {
  93. font-weight: bold;
  94. color: #2076c7
  95. }
  96. pre .string, pre .regexp {
  97. color: #728a06
  98. }
  99. pre .class {
  100. color: #A57707;
  101. }
  102. pre .number {
  103. color: #D11c24
  104. }
  105. pre .comment {
  106. color: grey;
  107. font-style: italic;
  108. }