mj.css 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167
  1. .ts-cont1 .a4_v1 {
  2. position: absolute;
  3. width: 100%;
  4. left: 0;
  5. top: 20%;
  6. z-index: 10;
  7. }
  8. .ts-cont1 .a4_v2 .a4_b2 li {
  9. flex: 1;
  10. height: 100vh;
  11. border-left: 1px solid rgba(255, 255, 255, 0.2);
  12. position: relative;
  13. transition: all .6s;
  14. }
  15. .flex2 {
  16. display: -webkit-flex;
  17. display: -moz-box;
  18. display: -ms-flexbox;
  19. display: flex;
  20. -webkit-justify-content: space-between;
  21. -moz-box-pack: justify;
  22. -ms-flex-pack: justify;
  23. justify-content: space-between;
  24. -webkit-flex-wrap: wrap;
  25. -ms-flex-wrap: wrap;
  26. flex-wrap: wrap;
  27. }
  28. .flex-z {
  29. display: -webkit-flex;
  30. display: -moz-box;
  31. display: -ms-flexbox;
  32. display: flex;
  33. -webkit-justify-content: center;
  34. -moz-box-pack: center;
  35. -ms-flex-pack: center;
  36. justify-content: center;
  37. -webkit-flex-wrap: wrap;
  38. -ms-flex-wrap: wrap;
  39. flex-wrap: wrap;
  40. -webkit-align-items: center;
  41. -moz-box-align: center;
  42. -ms-flex-align: center;
  43. align-items: center;
  44. }
  45. .ts-cont1 .a4_v2 .a4_b2 li:last-child {
  46. border-right: 1px solid rgba(255, 255, 255, 0.1);
  47. }
  48. .ts-cont1 .a4_v2 .a4_b2 li .sdta {
  49. transition: all .6s;
  50. position: relative;
  51. z-index: 2;
  52. }
  53. .ts-cont1 .a4_v2 .a4_b2 li .sdta a {
  54. display: block;
  55. color: #fff;
  56. }
  57. .ts-cont1 .a4_v2 .a4_b2 li .sdta a:nth-child(1) {
  58. --asjd: 3.75rem;
  59. height: var(--asjd);
  60. line-height: var(--asjd);
  61. width: fit-content;
  62. margin: 0 auto;
  63. display: none;
  64. }
  65. .ts-cont1 .a4_v2 .a4_b2 li .sdta a:nth-child(1) img {
  66. width: var(--asjd);
  67. filter: brightness(0) invert(1);
  68. }
  69. .ts-cont1 .a4_v2 .a4_b2 li .sdta a:nth-child(2) {
  70. font-size: 1.65rem;
  71. margin: 1.4rem 0;
  72. }
  73. .ts-cont1 .a4_v2 .a4_b2 li .sdta a:nth-child(3) {
  74. display: flex;
  75. width: 2rem;
  76. height: 2rem;
  77. font-size: 1.25rem;
  78. margin: 0 auto;
  79. border: 1px solid #DC5A2D;
  80. border-radius: 0.5rem;
  81. transition: all 0.4s ease-in-out;
  82. -webkit-transition: all 0.4s ease-in-out;
  83. -moz-transition: all 0.4s ease-in-out;
  84. -ms-transition: all 0.4s ease-in-out;
  85. -o-transition: all 0.4s ease-in-out;
  86. }
  87. .ts-cont1 .a4_v2 .a4_b2 li .sdta a:nth-child(3) i {
  88. font-size: 1rem;
  89. }
  90. .ts-cont1 .a4_v2 .a4_b2 li .sdta a:nth-child(3):hover {
  91. background: #DC5A2D;
  92. transition: all 0.4s ease-in-out;
  93. -webkit-transition: all 0.4s ease-in-out;
  94. -moz-transition: all 0.4s ease-in-out;
  95. -ms-transition: all 0.4s ease-in-out;
  96. -o-transition: all 0.4s ease-in-out;
  97. }
  98. .ts-cont1 .a4_v2 .a4_b2 li:hover .sdta {
  99. /*transform:scale(1.125)*/
  100. }
  101. .ts-cont1 .a4_v2 .a4_b2 li:hover {
  102. flex: 2;
  103. }
  104. @media (max-width: 768px) {
  105. .ts-cont1 .a4_v2 .a4_b2 li:hover {
  106. flex: auto;
  107. padding: 2.75rem 0;
  108. }
  109. }
  110. .ts-cont1 .a4_v2 .a4_b2 li u {
  111. display: block;
  112. position: absolute;
  113. left: 0;
  114. top: 0;
  115. width: 100%;
  116. height: 100%;
  117. z-index: -1;
  118. }
  119. .ts-cont1 .a4_v2 .a4_b2 li u img {
  120. width: 100%;
  121. height: 100%;
  122. object-fit: cover;
  123. }
  124. .ts-cont1 .a4_v2 .a4_b2 li:after {
  125. content: "";
  126. position: absolute;
  127. left: 0;
  128. top: 0;
  129. width: 100%;
  130. height: 100%;
  131. background: rgba(0, 0, 0, 0.65);
  132. }
  133. .ts-cont1 .a4_v2 .a4_b2 li:hover:after {
  134. opacity: 0;
  135. }
  136. .title {
  137. color: #fff;
  138. }
  139. .ta{
  140. /* font-size: 2.25rem;
  141. font-weight: bold; */
  142. text-align: center;
  143. font-size: calc(100vw / 120);
  144. font-size: 2.25rem;
  145. }