body,html{ min-width: 1200px; font-size: 12px; } .txtColor, .captionBox .moreBtn a:hover, .farmDescribe >a:hover, .farmMore a:hover, .farmName a:hover, .newsList >li:hover .describe a, .newsList >li:hover, .videoListBox .describe >a:hover, .videoListBox .describe >a:hover .moreBtn, .videoListBox .describe >a:hover h2, .hotelDetial:hover .hotelName h3, .newsItem .newsDetial .date .more:hover{ color: #3ab851; } .bjColor,.loginBtn,.whitherBtn{ background-color: #3ab851; } .wrapper{ width: 1200px; margin:0 auto; } /* 浮动 */ .floatDiv{ width: 100%; overflow: hidden; } .floatDiv >div{ float: left; } /* 表格式div */ .tableDiv{ display: table; width: 100%; position: relative; } .tableDiv >div{ display: table-cell; } /* 公共头部 */ @font-face { font-family: 'xioawei'; src : url("../lib/font/xiaowei.otf"); } .headerTxt{ position: absolute; top: 0; left: 0; right: 0; background: rgba(0, 0, 0, .3); height: 68px; z-index: 10; } .logoNameCn,.logoNameEn{ color:#fff; font-family: 'xioawei'; } .logoNameCn{ font-size: 22px; letter-spacing: 3px; margin-top: 15px; } .logoNameEn{ font-size: 12px; } .sliderBox,.advImg{ height: 470px; } /* 主页标题 */ .captionBox{ position: relative; } .captionBox .captionTxt{ font-size: 0; margin-top: 35px; } .captionBox .captionTxt >span{ font-size: 20px; font-weight: 700; letter-spacing: 4px; line-height: 36px; } .captionBox .captionTxtEn{ color: #999; font-size: 12px; } .captionBox .captionCutLine{ height: 8px; width: 100%; margin: 14px 0; background: url(../imgs/cutlineBj.png); } .captionBox .moreBtn a{ position: absolute; right: 0; bottom: 16px;; color: #999; font-size: 13px; } /* 两行省略号 */ .abstract-wrap{ width: 100%; margin: auto; position: relative; height: 40px; line-height: 20px; overflow: hidden; } .abstract-wrap .abstract-text { float: right; margin-left: -5px; width: 100%; word-break: break-all; text-align: justify; text-justify: inter-ideograph; } .abstract-wrap::after { float: right; content: "..."; height: 28px; line-height: 28px; width: 3em; margin-left: -4em; position: relative; left: 100%; top: 16px; padding-right: 5px; background-color: #FFF; transform: translateX(2em); } /* 版权 */ .footer{ margin-top: 50px; padding-top: 43px; color: #fff; } .footer .copyrightTxt{ font-size: 16px; width: 90%; } .footer .copyrightTxt >div{ margin-bottom: 22px; } .WeChatCode{ text-align: center; line-height: 24px; letter-spacing: 2px; } .footer .copyright{ margin-top: 10px; font-size: 14px; line-height: 66px; border-top: 2px solid #fff; } /* 视频开始按钮位置 */ .video-js button.vjs-big-play-button{ top: 50%; left: 50%; margin-left: -45px; margin-top: -23px; }