ckt的看板部分
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

233 lines
4.5 KiB

4 years ago
  1. body {
  2. font-family: "Microsoft YaHei", tahoma, arial, "Hiragino Sans GB", sans-serif;
  3. background: url("http://gnmro-img.oss-cn-shanghai.aliyuncs.com/tvimg/vmi_tv_bg1.jpg!ora") #000 no-repeat center center;
  4. background-size: cover;
  5. height: 100vh;
  6. width: 100vw;
  7. }
  8. * {
  9. margin: 0px;
  10. padding: 0px;
  11. outline: none;
  12. box-sizing: border-box;
  13. }
  14. html {
  15. font-size: 16px;
  16. }
  17. .tv_home {
  18. position: relative;
  19. color: #fff;
  20. font-weight: bold;
  21. text-align: center;
  22. width: 41.5rem;
  23. height: 17.9rem;
  24. margin-left: auto;
  25. margin-right: auto;
  26. top: 50%;
  27. transform: translateY(-50%);
  28. }
  29. .tv_home a {
  30. display: block;
  31. position: absolute;
  32. border-radius: 2px;
  33. transition: transform 0.3s,box-shadow 0.3s;
  34. overflow: hidden;
  35. color: #fff;
  36. text-decoration: none;
  37. box-shadow: 0px 0px 1rem rgba(255, 213, 51, 0);
  38. }
  39. .tv_home a:hover::before,
  40. .tv_home a:focus::before,
  41. .tv_home a:active::before {
  42. background-color: #fff;
  43. position: absolute;
  44. content: '';
  45. width: 100%;
  46. height: 100%;
  47. left: 0;
  48. top: 0;
  49. animation: light 0.3s alternate forwards;
  50. -webkit-animation: light 0.3s alternate forwards;
  51. }
  52. @keyframes light {
  53. 0% {
  54. opacity: 0;
  55. }
  56. 50% {
  57. opacity: 0.8;
  58. }
  59. 100% {
  60. opacity: 0;
  61. }
  62. }
  63. @-webkit-keyframes light {
  64. 0% {
  65. opacity: 0;
  66. }
  67. 50% {
  68. opacity: 0.6;
  69. }
  70. 100% {
  71. opacity: 0;
  72. }
  73. }
  74. .tv_home a span {
  75. position: absolute;
  76. top: 50%;
  77. color: #fff;
  78. transform: translateY(-50%);
  79. display: block;
  80. text-align: center;
  81. width: 100%;
  82. text-shadow: 0px 1px 1px rgba(0, 0, 0, 0.5);
  83. }
  84. .tv_home a:focus,
  85. .tv_home a:hover,
  86. .tv_home a:active {
  87. transform: scale(1.15);
  88. /* transition: all 0.2s; */
  89. z-index: 999;
  90. box-shadow: 0px 0px 20px rgba(255, 255, 255, 1);
  91. border: 2px solid #fff;
  92. color: #fff;
  93. text-decoration: none !important;
  94. }
  95. .list1 {
  96. width: 10rem;
  97. height: 9.5rem;
  98. /* background-color: #de4d4d; */
  99. left: 0;
  100. top: 0;
  101. line-height: 1.4;
  102. font-size: 1.4rem;
  103. background: -webkit-linear-gradient(120deg, #de4d4d, #cf3a3c);
  104. background: linear-gradient(120deg, #de4d4d, #cf3a3c);
  105. }
  106. .list2 {
  107. width: 10rem;
  108. height: 9.5rem;
  109. background-color: #c050a0;
  110. background: -webkit-linear-gradient(120deg, #c050a0, #aa378a);
  111. background: linear-gradient(120deg, #c050a0, #aa378a);
  112. left: 10.5rem;
  113. top: 0;
  114. line-height: 1.4;
  115. font-size: 1.4rem;
  116. }
  117. .list3,
  118. .list4,
  119. .list5,
  120. .list6 {
  121. width: 10rem;
  122. height: 4.5rem;
  123. line-height: 1.2;
  124. font-size: 1rem;
  125. }
  126. .list3 {
  127. background: -webkit-linear-gradient(120deg, #4bca99, #39b686);
  128. background: linear-gradient(120deg, #4bca99, #39b686);
  129. /* background-color: #4bca99; */
  130. left: 21rem;
  131. top: 0;
  132. }
  133. .list4 {
  134. /* background-color: #47cc76; */
  135. background: -webkit-linear-gradient(120deg, #47cc76, #31b05e);
  136. background: linear-gradient(120deg, #47cc76, #31b05e);
  137. left: 31.5rem;
  138. top: 0;
  139. }
  140. .list5 {
  141. /* background-color: #4fb251; */
  142. background: -webkit-linear-gradient(120deg, #4fb251, #369a39);
  143. background: linear-gradient(120deg, #4fb251, #369a39);
  144. left: 21rem;
  145. top: 5rem;
  146. }
  147. .list6 {
  148. /* background-color: #66b72a; */
  149. background: -webkit-linear-gradient(120deg, #66b72a, #59a520);
  150. background: linear-gradient(120deg, #66b72a, #59a520);
  151. left: 31.5rem;
  152. top: 5rem;
  153. }
  154. .list7,
  155. .list8,
  156. .list9,
  157. .list10,
  158. .list11 {
  159. width: 7.9rem;
  160. height: 8rem;
  161. top: 10rem;
  162. line-height: 1.4;
  163. font-size: 1.15rem;
  164. }
  165. .list7 {
  166. /* background-color: #0c5782; */
  167. background: -webkit-linear-gradient(120deg, #1d6c98, #0c5782);
  168. background: linear-gradient(120deg, #1d6c98, #0c5782);
  169. left: 0;
  170. }
  171. .list8 {
  172. /* background-color: #2293d5; */
  173. background: -webkit-linear-gradient(120deg, #2293d5, #0f78b4);
  174. background: linear-gradient(120deg, #2293d5, #0f78b4);
  175. left: 8.4rem;
  176. }
  177. .list9 {
  178. /* background-color: #e8af27; */
  179. background: -webkit-linear-gradient(120deg, #e8af27, #cc9513);
  180. background: linear-gradient(120deg, #e8af27, #cc9513);
  181. left: 16.8rem;
  182. }
  183. .list10 {
  184. /* background-color: #ea8921; */
  185. left: 25.2rem;
  186. background: -webkit-linear-gradient(120deg, #ea8921, #cf7413);
  187. background: linear-gradient(120deg, #ea8921, #cf7413);
  188. }
  189. .list11 {
  190. /* background-color: #4f99b1; */
  191. background: -webkit-linear-gradient(120deg, #4f99b1, #38859e);
  192. background: linear-gradient(120deg, #4f99b1, #38859e);
  193. left: 33.6rem;
  194. }