common.css 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171
  1. * {
  2. box-sizing: border-box;
  3. }
  4. :after, :before {
  5. box-sizing: border-box;
  6. }
  7. body {
  8. /* // 跨平台适应的字体族 */
  9. font-family: Helvetica, Tahoma, Arial, 'PingFang SC', STXihei, 'Microsoft yahei', 'WenQuanYi Micro Hei', sans-serif;
  10. /* // 字体清晰度设置,只作用于 OSX 下高分屏 */
  11. -webkit-font-smoothing: antialiased;
  12. -moz-osx-font-smoothing: grayscale;
  13. -webkit-text-size-adjust: none;
  14. /* // height: 100% */
  15. }
  16. a {
  17. text-decoration: none;
  18. color:#384855;
  19. }
  20. a:visited,a:active{
  21. color:#384855;
  22. }
  23. ul, ol, p, h1, h2, h3, h4, h5, h6, div, span, li {
  24. margin: 0;
  25. padding: 0;
  26. }
  27. li {
  28. list-style: none;
  29. }
  30. /* // 禁止图片拖动 */
  31. img {
  32. user-select: none;
  33. -webkit-user-drag: none;
  34. }
  35. /* // 去除输入框的外部高亮 */
  36. input, button, textarea {
  37. outline: 0;
  38. }
  39. button {
  40. border: unset;
  41. }
  42. button:-moz-focusring, input:-moz-focusring {
  43. outline: 0;
  44. }
  45. /* // 解决 Font Boosting 问题 */
  46. p {
  47. max-height: 100%;
  48. }
  49. .pull-right {
  50. float: right;
  51. }
  52. .pull-left {
  53. float: left;
  54. }
  55. .clearfix:after{clear:both}
  56. .clearfix:after,.clearfix:before{content:" ";display:table}
  57. .line-break {
  58. word-wrap: break-word;
  59. white-space: pre-wrap;
  60. }
  61. .absolute {
  62. position: absolute;
  63. }
  64. .relative {
  65. position: relative;
  66. }
  67. .fixed {
  68. position: fixed;
  69. }
  70. .block {
  71. display: block;
  72. }
  73. .inline-block {
  74. display: inline-block;
  75. }
  76. .center {
  77. text-align: center;
  78. }
  79. .left {
  80. text-align: left;
  81. }
  82. .right {
  83. text-align: right;
  84. }
  85. .ellipsis {
  86. overflow: hidden;
  87. text-overflow: ellipsis;
  88. white-space: nowrap;
  89. }
  90. .ellipsisTwo {
  91. overflow: hidden;
  92. text-overflow: ellipsis;
  93. display: -webkit-box;
  94. -webkit-line-clamp: 2;
  95. -webkit-box-orient: vertical;
  96. }
  97. .ellipsisThree {
  98. overflow: hidden;
  99. text-overflow: ellipsis;
  100. display: -webkit-box;
  101. -webkit-line-clamp: 3;
  102. -webkit-box-orient: vertical;
  103. }
  104. .ellipsisFour {
  105. overflow: hidden;
  106. text-overflow: ellipsis;
  107. display: -webkit-box;
  108. -webkit-line-clamp: 4;
  109. -webkit-box-orient: vertical;
  110. }
  111. .fontfps{
  112. font-family: PingFang-SC-Semibold,Source Han Sans CN Bold;
  113. }
  114. .fontfpb{
  115. font-family: PingFang-SC-Bold,Source Han Sans CN Black;
  116. }
  117. .fontfpr{
  118. font-family: PingFangSC-Regular,Source Han Sans CN DemiLight;
  119. }
  120. .fontfpm{
  121. font-family: PingFang-SC-Medium, Source Han Sans CN Medium;
  122. }
  123. .colorblue{
  124. color: #249EFB !important;
  125. }
  126. .pointer{
  127. cursor: pointer;
  128. }
  129. .colorfff{
  130. color: #ffffff;
  131. }
  132. .fonts14{
  133. font-size: 14px;
  134. }
  135. .fonts18{
  136. font-size: 18px;
  137. }
  138. .fonts20{
  139. font-size: 20px;
  140. }
  141. .fonts58{
  142. font-size: 58px;
  143. }
  144. .color384855{
  145. color: #384855;
  146. }
  147. .color8A9AAA{
  148. color: #8A9AAA;
  149. }
  150. .colorB6CADE{
  151. color: #B6CADE;
  152. }
  153. .lineHeight20{
  154. line-height: 20px;
  155. }
  156. .mbottom40{
  157. margin-bottom: 40px;
  158. }
  159. .mbottom36{
  160. margin-bottom: 36px;
  161. }
  162. .mbottom27{
  163. margin-bottom: 27px;
  164. }
  165. .layui-table-fixed{
  166. z-index: 9999999;
  167. }
  168. .layui-table-fixed-r .layui-table-header{
  169. position: relative !important;
  170. }