base.css 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169
  1. body {
  2. margin: 0;
  3. padding: 0;
  4. vertical-align: baseline;
  5. font: inherit;
  6. font-style: inherit;
  7. font-size: 100%;
  8. font-family: "Microsoft Yahei", Verdana, Arial, Helvetica, sans-serif;
  9. }
  10. html {
  11. font-size: 62.5%;
  12. height: 100%;
  13. -webkit-font-smoothing: antialiased
  14. }
  15. body {
  16. color: #333;
  17. line-height: 1;
  18. background: #f0f0f0;
  19. }
  20. body.blue { background: #efeff4; }
  21. article,
  22. aside,
  23. details,
  24. figcaption,
  25. figure,
  26. footer,
  27. header,
  28. hgroup,
  29. nav,
  30. section { display: block; }
  31. dl,
  32. dt,
  33. dd,
  34. ul,
  35. ol,
  36. li,
  37. em,
  38. i,
  39. p {
  40. margin:0;
  41. padding:0;
  42. list-style: none;
  43. font-style: normal;
  44. }
  45. li {
  46. font-size: 14px;
  47. font-size: 1.4rem;
  48. }
  49. table {
  50. border-collapse: separate;
  51. border-spacing: 0;
  52. }
  53. caption,
  54. th,
  55. td {
  56. text-align: left;
  57. font-weight: normal;
  58. }
  59. h1,
  60. h2,
  61. h3,
  62. h4 {
  63. font-family: inherit;
  64. font-weight: 500;
  65. line-height: 1.1;
  66. color: inherit
  67. }
  68. :focus { outline: 0; }
  69. a {
  70. color: #333;
  71. tap-highlight-color: rgba(0,0,0,0);
  72. focus-ring-color: rgba(0, 0, 0, 0);
  73. -webkit-tap-highlight-color: rgba(0,0,0,0);
  74. -webkit-focus-ring-color: rgba(0, 0, 0, 0);
  75. -moz-tap-highlight-color: rgba(0,0,0,0);
  76. -moz-focus-ring-color: rgba(0, 0, 0, 0);
  77. }
  78. a:hover { color: #000; }
  79. a:focus { outline: none; }
  80. a,
  81. a:hover,
  82. a:active {
  83. outline: 0;
  84. text-decoration: none;
  85. }
  86. /* ===== retrie分类下来 ===== */
  87. .retrie {
  88. position: relative;
  89. z-index: 102;
  90. height: 40px;
  91. background-color: #fff;
  92. border-bottom: 1px solid #e8e8e8;
  93. }
  94. .retrie dt { overflow: hidden }
  95. .retrie dt a {
  96. position: relative;
  97. float: left;
  98. width: 33.3%;
  99. height: 49px;
  100. line-height: 49px;
  101. color: #333;
  102. font-size: 14px;
  103. padding-left : 5%;
  104. }
  105. .retrie dt a:after {
  106. position: absolute;
  107. top: 50%;
  108. left: 50%;
  109. background-color: #ddd;
  110. margin-top: -10px;
  111. margin-left: 30%;
  112. width: 1px;
  113. height: 20px;
  114. //border: #666 solid;
  115. //border-width: 1px 1px 0 0;
  116. content: ' ';
  117. //-webkit-transform: rotate(135deg);
  118. }
  119. .retrie dt .up {
  120. color: #32b6bd !important;
  121. border-bottom: 2px solid #32b6bd;
  122. }
  123. .retrie dt .up:after {
  124. //margin-top: 0;
  125. //border: #32b6bd solid;
  126. //border-width: 1px 1px 0 0;
  127. //-webkit-transform: rotate(-45deg);
  128. }
  129. .retrie dt a:last-child:before {
  130. position: absolute;
  131. top: 10px;
  132. left: 0;
  133. display: block;
  134. width: 1px;
  135. height: 30px;
  136. background-color: #fff;
  137. content: ' ';
  138. }
  139. .retrie dd { position: relative; }
  140. /* ===== slide-area ===== */
  141. .slide {
  142. position: absolute;
  143. top: 0px;
  144. left: 0;
  145. z-index: 104;
  146. display: none;
  147. width: 100%;
  148. overflow-y: auto;
  149. background-color: #fff;
  150. }
  151. .slide li {
  152. display: block;
  153. height: 40px;
  154. border-bottom: 1px solid #eee;
  155. }
  156. .slide li a {
  157. display: block;
  158. padding: 0 30px;
  159. height: 40px;
  160. background-color: transparent;
  161. line-height: 40px;
  162. }
  163. .slide li a:hover,
  164. //.slide li a.selected { background-color: #f6f6f6; }
  165. //.slide li a.select { background-color: #fff; }