common.css 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137
  1. @charset "UTF-8";
  2. body {
  3. word-wrap: break-word;
  4. background: #fff;
  5. }
  6. h1 {
  7. font-size: 40px;
  8. }
  9. p,
  10. pre {
  11. margin: 10px 0;
  12. }
  13. ::selection {
  14. background: #000;
  15. color: #fff;
  16. }
  17. .wrapper {
  18. margin: 0 auto;
  19. width: 960px;
  20. height: 100%;
  21. -webkit-box-sizing: border-box;
  22. -moz-box-sizing: border-box;
  23. -o-box-sizing: border-box;
  24. box-sizing: border-box;
  25. }
  26. /*底部版权*/
  27. footer {
  28. margin: 100px 0 50px 300px;
  29. padding: 0 20px;
  30. -webkit-box-sizing: border-box;
  31. -moz-box-sizing: border-box;
  32. -o-box-sizing: border-box;
  33. box-sizing: border-box;
  34. }
  35. footer p {
  36. border-top: 1px solid #ebebeb;
  37. opacity: .5;
  38. filter: alpha(opacity=50);
  39. text-align: right;
  40. font-size: 12px;
  41. line-height: 3;
  42. font-family: "Hiragino Sans GB", "Microsoft YaHei", "\5FAE\8F6F\96C5\9ED1", tahoma, arial, simsun, "\5B8B\4F53";
  43. }
  44. footer p a {
  45. color: #000;
  46. }
  47. footer p .spe {
  48. padding: 0 5px;
  49. }
  50. .right-bg {
  51. position: fixed;
  52. right: 0;
  53. top: 50%;
  54. margin-top: -215px;
  55. width: 215px;
  56. height: 430px;
  57. background: url('../../image/right_bg.png') no-repeat;
  58. }
  59. /*组件样式*/
  60. table {
  61. width: 100%;
  62. border: 1px solid #CAD3DA;
  63. }
  64. table td {
  65. padding: 10px;
  66. width: 150px;
  67. border: 1px solid #CAD3DA;
  68. }
  69. table thead tr {
  70. height: 40px;
  71. line-height: 40px;
  72. text-align: center;
  73. border-bottom: 1px solid #CAD3DA;
  74. }
  75. table thead td {
  76. padding: 0;
  77. border-left: 1px solid #CAD3DA;
  78. background: #DFEBFB;
  79. }
  80. table .explain {
  81. width: 500px;
  82. }
  83. table tbody tr:nth-child(even) {
  84. background: #E7EFF9;
  85. }
  86. .hljs, .hljs-subst {
  87. padding: 10px;
  88. font-family: Monaco, Consolas, "Courier New";
  89. }
  90. .method {
  91. font-family: Monaco, Consolas, "Courier New";
  92. }
  93. .eg {
  94. margin: 20px 0;
  95. padding: 10px;
  96. border: 1px dashed #bdbdbd;
  97. background: #f9f9f9;
  98. }
  99. .update-log .title {
  100. margin: 0;
  101. font-size: 20px;
  102. }
  103. .update-log ul li {
  104. margin: 5px 0;
  105. }
  106. .bad {
  107. padding: 0 0 0 10px;
  108. border: 1px dashed #bdbdbd;
  109. color: #757575;
  110. background: #f9f9f9;
  111. font-family: Monaco, Consolas, "Courier New";
  112. }