main.css 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131
  1. /* 2017/01/10 */
  2. *, *:before, *:after {
  3. box-sizing: border-box;
  4. margin: 0;
  5. padding: 0;
  6. }
  7. a:hover, a:visited, a:link, a:active {
  8. text-decoration: none;
  9. }
  10. .resize-container {
  11. overflow: hidden;
  12. }
  13. .content-container {
  14. position: absolute;
  15. top: 0;
  16. left: 0;
  17. width: 100%;
  18. height: 100%;
  19. overflow: hidden;
  20. z-index: 10;
  21. }
  22. .ele {
  23. position: absolute;
  24. }
  25. .ele-bg {
  26. height: 100%;
  27. width: auto;
  28. position: absolute;
  29. left: 50%;
  30. top: 0;
  31. transform: translateX(-50%);
  32. z-index: 0;
  33. }
  34. .ele-img {
  35. display: block;
  36. width: 100%;
  37. height: 100%;
  38. }
  39. .mediate {
  40. position: absolute;
  41. top: 0;
  42. right: 0;
  43. bottom: 0;
  44. left: 0;
  45. margin: auto;
  46. }
  47. .loop {
  48. animation-iteration-count: infinite;
  49. }
  50. .flat {
  51. transform-style: flat;
  52. }
  53. #wx_pic {
  54. display: none;
  55. }
  56. .button-next {
  57. position: absolute;
  58. left: 50%;
  59. bottom: 20px;
  60. width: 40px;
  61. height: 20px;
  62. margin-left: -20px;
  63. z-index: 10;
  64. cursor: pointer;
  65. animation: buttonNext 2s infinite;
  66. }
  67. @keyframes buttonNext {
  68. 0% {
  69. transform: translateY(-5px);
  70. opacity: .8;
  71. }
  72. 50% {
  73. transform: translateY(10px);
  74. opacity: 1;
  75. }
  76. 100% {
  77. transform: translateY(-5px);
  78. }
  79. }
  80. .button-next.swiper-button-disabled {
  81. display: none;
  82. }
  83. .swiper-container {
  84. opacity: 0;
  85. transition: opacity 1s;
  86. }
  87. #loadingCont {
  88. position: absolute;
  89. left: 0;
  90. top: 0;
  91. right: 0;
  92. bottom: 0;
  93. z-index: 0;
  94. background-color: #fff;
  95. transition: opacity 1s;
  96. }
  97. #loadingSvg {
  98. width: 100px;
  99. height: 100px;
  100. transform: rotate(-90deg);
  101. }
  102. #loadingCircle {
  103. fill: transparent;
  104. stroke: #0074d9;
  105. stroke-width: 50px;
  106. transition: stroke-dashoffset 0.1s;
  107. }
  108. #loadingTxt {
  109. color: #b4b4b4;
  110. font-size: 10px;
  111. width: 4em;
  112. height: 1em;
  113. text-align: center;
  114. top: 120px;
  115. }