style.less 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152
  1. @subject-maxwidth:1460px;
  2. @subject-minwidth:1220px;
  3. @font-face {
  4. font-family: 'iconfont';
  5. src: url('../../iconfont/iconfont.eot');
  6. src: url('../../iconfont/iconfont.eot?#iefix') format('embedded-opentype'),
  7. url('../../iconfont/iconfont.woff') format('woff'),
  8. url('../../iconfont/iconfont.ttf') format('truetype'),
  9. url('../../iconfont/iconfont.svg#iconfont') format('svg');
  10. }
  11. *{
  12. margin:0;
  13. padding:0;
  14. list-style: none;
  15. border:none;
  16. font-style: normal;
  17. }
  18. html{
  19. width:100%;
  20. min-width: @subject-minwidth;
  21. font-family:"Source Han Sans SC","HanHei SC","PingFang SC","Helvetica Neue",Helvetica,"Hiragino Sans GB","Microsoft YaHei","微软雅黑",Arial,sans-serif;
  22. }
  23. img{
  24. display:block;
  25. }
  26. a{
  27. text-decoration: none;
  28. color: #333;
  29. }
  30. .iconfont{
  31. font-family:"iconfont" !important;
  32. font-size:14px;font-style:normal;
  33. -webkit-font-smoothing: antialiased;
  34. -webkit-text-stroke-width: 0.2px;
  35. -moz-osx-font-smoothing: grayscale;
  36. }
  37. .banner-box{
  38. img{
  39. width: 100%;
  40. }
  41. }
  42. .cooperative-box{
  43. background: #f5f5f5;
  44. padding: 90px 0 100px;
  45. .cooperative-title-box{
  46. width: @subject-minwidth;
  47. margin: 0 auto;
  48. h1{
  49. font-weight: 400;
  50. text-align: center;
  51. font-size: 34px;
  52. span{
  53. display: inline-block;
  54. position: relative;
  55. top: -12px;
  56. width: 57px;
  57. height: 1px;
  58. margin: 0 20px;
  59. background: #d8d8d8;
  60. }
  61. }
  62. .introduce-text{
  63. display: block;
  64. text-align: center;
  65. font-size: 14px;
  66. padding:6px 0;
  67. color: #999;
  68. }
  69. }
  70. .cooperative-text-box{
  71. max-width: 1220px;
  72. margin: 30px auto;
  73. p{
  74. font-size: 16px;
  75. line-height: 40px;
  76. text-align: center;
  77. }
  78. }
  79. .cooperative-content-box{
  80. width: @subject-minwidth;
  81. margin: 0 auto;
  82. div{
  83. margin-top: 37px;
  84. ul:after{
  85. content:"";
  86. display: block;
  87. clear: both;
  88. }
  89. ul{
  90. li{
  91. float: left;
  92. width: 277px;
  93. height: 189px;
  94. margin-right: 37px;
  95. background: bisque;
  96. position: relative;
  97. overflow: hidden;
  98. span{
  99. position: absolute;
  100. display: block;
  101. width: 100%;
  102. height: 35px;
  103. background: rgba(0,0,0,0.3);
  104. bottom: -35px;
  105. text-align: center;
  106. color: #fff;
  107. line-height: 40px;
  108. font-size: 18px;
  109. font-weight: 600;
  110. letter-spacing: 5px;
  111. }
  112. img{
  113. width: 100%;
  114. }
  115. }
  116. }
  117. }
  118. }
  119. }
  120. @media screen and (min-width: 1460px){
  121. .cooperative-box{
  122. .cooperative-title-box{
  123. width:@subject-maxwidth;
  124. h1{
  125. font-size: 42px;
  126. span{
  127. margin: 0 26px;
  128. }
  129. }
  130. .introduce-text{
  131. font-size: 18px;
  132. }
  133. }
  134. .cooperative-content-box{
  135. width:@subject-maxwidth;
  136. div{
  137. ul{
  138. li{
  139. width: 337px;
  140. height: 230px;
  141. span{
  142. height: 40px;
  143. bottom: -40px;
  144. line-height: 30px;
  145. font-size: ;
  146. }
  147. }
  148. }
  149. }
  150. }
  151. }
  152. }