index.scss 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117
  1. @import './header.scss';
  2. @import './footer.scss';
  3. @import './homePage.scss';
  4. body{
  5. -moz-osx-font-smoothing: grayscale;
  6. -webkit-font-smoothing: antialiased;
  7. text-rendering: optimizeLegibility;
  8. font-family: Microsoft Yahei,Arial,Arial,tahoma,Helvetica,sans-serif;
  9. font-size: 14px;
  10. background-color: #f7f7f7;
  11. .fl{ float:left}
  12. .fr{float:right}
  13. .clear{clear:both}
  14. .auto{
  15. width:1200px;
  16. margin:0 auto
  17. }
  18. .clearfix:after {
  19. visibility: hidden;
  20. display: block;
  21. font-size: 0;
  22. content: " ";
  23. clear: both;
  24. height: 0;
  25. }
  26. .wgw-color{color:#1c6ab3;}
  27. .wgw-bg{background:#1c6ab3;}
  28. header,section,article,footer,nav{display: block}
  29. }
  30. *,
  31. *:before,
  32. *:after {
  33. box-sizing: inherit;
  34. }
  35. *{
  36. margin: 0;
  37. padding: 0;
  38. // -moz-user-select:none;
  39. // -webkit-user-select:none;
  40. -webkit-tap-highlight-color:transparent;
  41. }
  42. h1,h2,h3,h4,h5,h6{
  43. font-weight:normal;
  44. }
  45. div:focus{
  46. outline: none;
  47. }
  48. a:focus,
  49. a:active {
  50. outline: none;
  51. }
  52. a,
  53. a:focus,
  54. a:hover {
  55. cursor: pointer;
  56. font-family: 'MicrosoftYaHeiLight', 'Microsoft YaHei Light', 'Microsoft YaHei';
  57. // color: -webkit-link;
  58. color: #257FEB;
  59. text-decoration: none;
  60. }
  61. a{
  62. color: #393939;
  63. }
  64. ol,
  65. ul {
  66. list-style: none;
  67. li{
  68. text-align: left;
  69. overflow: hidden;
  70. // text-overflow:ellipsis;
  71. // white-space: nowrap;
  72. }
  73. }
  74. img {
  75. border: 0;
  76. vertical-align: middle;
  77. width: 100%;
  78. }
  79. i {
  80. font-style:normal
  81. }
  82. .line-one{
  83. overflow: hidden;
  84. text-overflow:ellipsis;
  85. white-space: nowrap;
  86. }
  87. .line-n{
  88. overflow: hidden;
  89. text-overflow: ellipsis;
  90. display: -webkit-box;
  91. -webkit-line-clamp: 3;
  92. }
  93. .line-two{
  94. overflow: hidden;
  95. text-overflow: ellipsis;
  96. display: -webkit-box;
  97. -webkit-line-clamp: 2;
  98. }
  99. .icon {
  100. width: 2em;
  101. height: 2em;
  102. vertical-align: -0.15em;
  103. fill: currentColor;
  104. overflow: hidden;
  105. }