style.less 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136
  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. .banner-box{
  31. width: 1220px;
  32. background: #b3d4fc;
  33. margin: 0 auto;
  34. img{
  35. width: 100%;
  36. }
  37. }
  38. .news-content:after{
  39. content: '';
  40. display: block;
  41. clear: both;
  42. }
  43. .news-content{
  44. box-sizing: border-box;
  45. width: 1220px;
  46. margin: 30px auto;
  47. padding: 30px 20px;
  48. border: 2px solid #ccc;
  49. border-radius: 20px;
  50. .options{
  51. float: left;
  52. overflow: hidden;
  53. width: 246px;
  54. border-radius: 15px;
  55. border: 2px solid #ccc;
  56. padding-top: 20px;
  57. height: 300px;
  58. position: relative;
  59. h1{
  60. font-size: 24px;
  61. line-height: 44px;
  62. background: #ccc;
  63. padding-left: 10px;
  64. }
  65. ul{
  66. padding: 20px;
  67. li{
  68. border-bottom: 1px dashed #ccc;
  69. line-height: 30px;
  70. padding-left: 20px;
  71. font-size: 16px;
  72. font-weight: 600;
  73. margin-bottom: 10px;
  74. a:hover{
  75. color: #e22;
  76. }
  77. }
  78. }
  79. .bottom{
  80. width: 100%;
  81. height: 40px;
  82. background: #ccc;
  83. position: absolute;
  84. bottom: 0;
  85. }
  86. }
  87. .lists{
  88. float: left;
  89. min-height: 500px;
  90. padding: 0 20px 60px;
  91. margin-left: 20px;
  92. width: 1100px;
  93. position: relative;
  94. li{
  95. padding-left: 5px;
  96. border-bottom: 1px dashed #ccc;
  97. margin: 20px 0;
  98. a{
  99. display: block;
  100. font-size: 16px;
  101. line-height: 36px;
  102. span{
  103. float: right;
  104. }
  105. }
  106. a:hover{
  107. color: #e22;
  108. }
  109. }
  110. .content-paging{
  111. width: 100%;
  112. position: absolute;
  113. bottom: 0;
  114. #paging{
  115. text-align: center;
  116. }
  117. }
  118. }
  119. }
  120. .iconfont{
  121. font-family:"iconfont" !important;
  122. font-size:14px;font-style:normal;
  123. -webkit-font-smoothing: antialiased;
  124. -webkit-text-stroke-width: 0.2px;
  125. -moz-osx-font-smoothing: grayscale;
  126. }
  127. @media screen and (min-width: 1460px){
  128. .banner-box{
  129. width: 1460px;
  130. }
  131. .news-content{
  132. width: 1460px;
  133. .news-title{
  134. }
  135. }
  136. }