index.css 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194
  1. * {
  2. margin: 0;
  3. padding: 0;
  4. box-sizing: border-box;
  5. }
  6. body {
  7. user-select: none;
  8. overflow: hidden;
  9. background-color: black;
  10. }
  11. .loding {
  12. position: absolute;
  13. z-index: 9998;
  14. top: 0;
  15. left: 0;
  16. width: 100vw;
  17. height: 100vh;
  18. background-color: rgba(0, 0, 0, 0.8);
  19. opacity: 1;
  20. pointer-events: auto;
  21. transition: all 0.5s;
  22. display: flex;
  23. align-items: center;
  24. justify-content: center;
  25. flex-direction: column;
  26. }
  27. .loding .loding1 {
  28. width: 80%;
  29. height: 6px;
  30. border-radius: 3px;
  31. border: 1px solid #ddc136;
  32. margin-bottom: 20px;
  33. position: relative;
  34. overflow: hidden;
  35. }
  36. .loding .loding1 .lodingJindu {
  37. position: absolute;
  38. width: 0%;
  39. height: 100%;
  40. background-color: #ddc136;
  41. }
  42. .loding .loding2 {
  43. color: #fff;
  44. }
  45. .gunDongDom {
  46. position: absolute;
  47. z-index: 10;
  48. right: 2px;
  49. top: 0;
  50. height: calc(100% - 50px);
  51. width: 4px;
  52. pointer-events: none;
  53. }
  54. .gunDongDom .gunDongDomSon {
  55. width: 100%;
  56. height: 50px;
  57. position: absolute;
  58. top: 0;
  59. left: 0;
  60. background-color: #ddc136;
  61. border-radius: 2px;
  62. }
  63. #container {
  64. width: 100%;
  65. height: 100%;
  66. }
  67. /* 下面的提示 */
  68. .hand {
  69. position: fixed;
  70. left: 50%;
  71. top: 50%;
  72. margin: 0 0 0 -155px;
  73. -webkit-animation: hand ease-out 2s 2 normal;
  74. animation: hand ease-out 2s 2 normal;
  75. -webkit-transform: translateY(-40%) scale(0, 0);
  76. transform: translateY(-40%) scale(0, 0);
  77. opacity: 0;
  78. z-index: 9999;
  79. pointer-events: none;
  80. }
  81. @-webkit-keyframes hand {
  82. 0% {
  83. -webkit-transform: translateY(-40%) scale(1, 1);
  84. opacity: 1;
  85. }
  86. 60% {
  87. -webkit-transform: translateY(-40%) scale(1, 1);
  88. opacity: 1;
  89. }
  90. 65% {
  91. -webkit-transform: translateY(-40%) scale(1.1, 1.1);
  92. opacity: 0.6;
  93. }
  94. 70% {
  95. -webkit-transform: translateY(-40%) scale(0.9, 0.9);
  96. opacity: 0.8;
  97. }
  98. 75% {
  99. -webkit-transform: translateY(-40%) scale(1, 1);
  100. opacity: 1;
  101. }
  102. 100% {
  103. -webkit-transform: translateY(-40%) scale(1, 1);
  104. opacity: 1;
  105. }
  106. }
  107. @keyframes hand {
  108. 0% {
  109. -webkit-transform: translateY(-40%) scale(1, 1);
  110. opacity: 1;
  111. }
  112. 60% {
  113. -webkit-transform: translateY(-40%) scale(1, 1);
  114. opacity: 1;
  115. }
  116. 65% {
  117. -webkit-transform: translateY(-40%) scale(1.1, 1.1);
  118. opacity: 0.6;
  119. }
  120. 70% {
  121. -webkit-transform: translateY(-40%) scale(0.9, 0.9);
  122. opacity: 0.8;
  123. }
  124. 75% {
  125. -webkit-transform: translateY(-40%) scale(1, 1);
  126. opacity: 1;
  127. }
  128. 100% {
  129. -webkit-transform: translateY(-40%) scale(1, 1);
  130. opacity: 1;
  131. }
  132. }
  133. @media (max-height: 480px) {
  134. .dgImg {
  135. width: 60%;
  136. }
  137. }
  138. .listMain {
  139. width: 100%;
  140. height: 100%;
  141. max-width: 500px;
  142. position: absolute;
  143. top: 0;
  144. left: 50%;
  145. transform: translateX(-50%);
  146. }
  147. .listMain .listTit {
  148. width: 100%;
  149. font-size: 20px;
  150. letter-spacing: 4px;
  151. text-align: center;
  152. padding: 20px 0;
  153. }
  154. .listMain a {
  155. text-decoration-line: none;
  156. }
  157. .listMain .listBox {
  158. width: 100%;
  159. height: calc(100% - 70px);
  160. overflow-y: auto;
  161. display: flex;
  162. flex-wrap: wrap;
  163. }
  164. .listMain .listBox .listRow {
  165. width: 48%;
  166. margin-right: 4%;
  167. margin-bottom: 4%;
  168. border-radius: 8px;
  169. overflow: hidden;
  170. height: 300px;
  171. border: 1px solid black;
  172. }
  173. .listMain .listBox .listRow > div {
  174. position: relative;
  175. z-index: 10;
  176. height: 40px;
  177. line-height: 40px;
  178. text-align: center;
  179. font-size: 18px;
  180. background-color: #c5c5c5;
  181. }
  182. .listMain .listBox .listRow > img {
  183. transition: all 0.3s;
  184. width: 100%;
  185. height: calc(100% - 40px);
  186. object-fit: contain;
  187. vertical-align: middle;
  188. }
  189. .listMain .listBox .listRow:nth-of-type(2n) {
  190. margin-right: 0;
  191. }
  192. .listMain .listBox .listRow:hover > img {
  193. transform: scale(1.1);
  194. }