@charset "utf-8"; /*轮播图*/ .swiper-button-prev, .swiper-button-next{ width: 60px; height: 60px; margin-top: -30px; background-size: 30%; } .swiper-button-prev, .swiper-button-next{ background-color: rgba(0,0,0,.5); } .swiper-button-prev{ left: 0; } .swiper-button-next{ right: 0; } #slide img{ width: 100%; } /*主体*/ .section{ position: relative; min-height: 500px; } .box{ min-height: 386px; background: url(/uploads/image/cimages/box-bg.jpg) no-repeat right bottom; } .title{ position: relative; margin: 30px 0; height: 36px; line-height: 36px; font-size: 18px; } .title p{ position: relative; font-size: 30px; display: flex; align-items: center; } .title img{ height: 36px; margin-right: 15px; } /*学院新闻*/ .box{ margin-top: 20px; } .news{ float: left; width: 64%; } #news{ float: left; width: 50%; } #news .swiper-slide>a{ display: block; height: 300px; } #news .swiper-slide img{ width: 100%; height: 100%; object-fit: cover; } #news .swiper-slide p{ position: absolute; left: 0; right: 0; bottom: 0; color: #fff; line-height: 46px; padding: 0 80px 0 15px; background: rgba(0,0,0,.3); } #news .swiper-slide p a{ color: #fff; font-size: 18px; } #news .swiper-slide p a:hover{ color: #007ea8; } #news .swiper-pagination{ bottom: 15px; left: auto; right: 10px; width: auto; } .swiper-pagination-bullet-active{ background: #007ea8; } .news-list{ float: right; width: 48%; } .news-list li{ padding-bottom: 10px; margin-bottom: 12px; border-bottom: 1px dashed #dd9137; } .news-list li a{ color: #666; font-size: 20px; position: relative; padding-left: 20px; } .news-list li a:before{ content: ''; position: absolute; left: 0; top: 50%; width: 8px; height: 8px; margin-top: -4px; background: #c7c7c7; border-radius: 50%; } .news-list li a:hover{ color: #007ea8; } .news-list li a:hover:before{ background: #007ea8; } /*通知公告*/ .notice{ float: right; width: 32%; } .notice ul li a{ display: block; font-size: 20px; padding-bottom: 10px; margin-bottom: 10px; border-bottom: 1px dashed #dd9137; } .notice ul li span{ display: inline-flex; padding-left: 30px; color: #d6b99d; font-size: 18px; background: url(/uploads/image/cimages/time.png) no-repeat left center; } .wrapper{ position: relative; margin: 20px 0 60px; min-height: 362px; } .wrapper:after{ content: ''; position: absolute; top: 96px; left: 0; right: 0; bottom: 0; background: #dcedf3; z-index: -1; } /*科研动态*/ .trends{ float: left; width: 64%; } .trends ul{ padding: 30px 0; } .trends ul li{ font-size: 20px; padding-bottom: 10px; margin-bottom: 10px; border-bottom: 1px solid #c8cacd; } .trends ul li:last-of-type{ padding-bottom: 0; margin-bottom: 0; border-bottom: none; } .trends ul li p{ margin-right: 140px; } .trends ul li a{ position: relative; padding-left: 20px; } .trends ul li a:before { content: ''; position: absolute; left: 0; top: 50%; width: 8px; height: 8px; margin-top: -4px; background: #007ea8; border-radius: 50%; } /*学术报告*/ .report{ float: right; width: 32%; } .report ul{ padding: 30px 0; } .report ul li{ padding-bottom: 20px; margin-bottom: 20px; border-bottom: 1px solid #c8cacd; overflow: hidden; } .report ul li .date{ float: left; width: 94px; height: 85px; color: #007ea8; font-size: 20px; text-align: center; border: 1px solid #007ea8; background: #fff; } .report ul li .date p{ color: #666666; font-size: 38px; margin-bottom: -5px; } .report ul li>p{ margin-left: 114px; font-size: 24px; height: 80px; line-height: 40px; overflow: hidden; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }