common.css 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166
  1. body,html{
  2. min-width: 1200px;
  3. font-size: 12px;
  4. }
  5. .txtColor,
  6. .captionBox .moreBtn a:hover,
  7. .farmDescribe >a:hover,
  8. .farmMore a:hover,
  9. .farmName a:hover,
  10. .newsList >li:hover .describe a,
  11. .newsList >li:hover,
  12. .videoListBox .describe >a:hover,
  13. .videoListBox .describe >a:hover .moreBtn,
  14. .videoListBox .describe >a:hover h2,
  15. .hotelDetial:hover .hotelName h3,
  16. .newsItem .newsDetial .date .more:hover{
  17. color: #3ab851;
  18. }
  19. .bjColor,.loginBtn,.whitherBtn{
  20. background-color: #3ab851;
  21. }
  22. .wrapper{
  23. width: 1200px;
  24. margin:0 auto;
  25. }
  26. /* 浮动 */
  27. .floatDiv{
  28. width: 100%;
  29. overflow: hidden;
  30. }
  31. .floatDiv >div{
  32. float: left;
  33. }
  34. /* 表格式div */
  35. .tableDiv{
  36. display: table;
  37. width: 100%;
  38. position: relative;
  39. }
  40. .tableDiv >div{
  41. display: table-cell;
  42. }
  43. /* 公共头部 */
  44. @font-face {
  45. font-family: 'xioawei';
  46. src : url("../lib/font/xiaowei.otf");
  47. }
  48. .headerTxt{
  49. position: absolute;
  50. top: 0;
  51. left: 0;
  52. right: 0;
  53. background: rgba(0, 0, 0, .3);
  54. height: 68px;
  55. z-index: 10;
  56. }
  57. .logoNameCn,.logoNameEn{
  58. color:#fff;
  59. font-family: 'xioawei';
  60. }
  61. .logoNameCn{
  62. font-size: 22px;
  63. letter-spacing: 3px;
  64. margin-top: 15px;
  65. }
  66. .logoNameEn{
  67. font-size: 12px;
  68. }
  69. .sliderBox,.advImg{
  70. height: 470px;
  71. }
  72. /* 主页标题 */
  73. .captionBox{
  74. position: relative;
  75. }
  76. .captionBox .captionTxt{
  77. font-size: 0;
  78. margin-top: 35px;
  79. }
  80. .captionBox .captionTxt >span{
  81. font-size: 20px;
  82. font-weight: 700;
  83. letter-spacing: 4px;
  84. line-height: 36px;
  85. }
  86. .captionBox .captionTxtEn{
  87. color: #999;
  88. font-size: 12px;
  89. }
  90. .captionBox .captionCutLine{
  91. height: 8px;
  92. width: 100%;
  93. margin: 14px 0;
  94. background: url(../imgs/cutlineBj.png);
  95. }
  96. .captionBox .moreBtn a{
  97. position: absolute;
  98. right: 0;
  99. bottom: 16px;;
  100. color: #999;
  101. font-size: 13px;
  102. }
  103. /* 两行省略号 */
  104. .abstract-wrap{
  105. width: 100%;
  106. margin: auto;
  107. position: relative;
  108. height: 40px;
  109. line-height: 20px;
  110. overflow: hidden;
  111. }
  112. .abstract-wrap .abstract-text {
  113. float: right;
  114. margin-left: -5px;
  115. width: 100%;
  116. word-break: break-all;
  117. text-align: justify;
  118. text-justify: inter-ideograph;
  119. }
  120. .abstract-wrap::after {
  121. float: right;
  122. content: "...";
  123. height: 28px;
  124. line-height: 28px;
  125. width: 3em;
  126. margin-left: -4em;
  127. position: relative;
  128. left: 100%;
  129. top: 16px;
  130. padding-right: 5px;
  131. background-color: #FFF;
  132. transform: translateX(2em);
  133. }
  134. /* 版权 */
  135. .footer{
  136. margin-top: 50px;
  137. padding-top: 43px;
  138. color: #fff;
  139. }
  140. .footer .copyrightTxt{
  141. font-size: 16px;
  142. width: 90%;
  143. }
  144. .footer .copyrightTxt >div{
  145. margin-bottom: 22px;
  146. }
  147. .WeChatCode{
  148. text-align: center;
  149. line-height: 24px;
  150. letter-spacing: 2px;
  151. }
  152. .footer .copyright{
  153. margin-top: 10px;
  154. font-size: 14px;
  155. line-height: 66px;
  156. border-top: 2px solid #fff;
  157. }
  158. /* 视频开始按钮位置 */
  159. .video-js button.vjs-big-play-button{
  160. top: 50%;
  161. left: 50%;
  162. margin-left: -45px;
  163. margin-top: -23px;
  164. }