.main-content { background-color: white; margin: 20px 0 20px 0; padding: 20px 0 20px 0; color: #333; width: 900px; } .latest-news { width: 900px; background-color: white; margin-top: 20px; padding-top: 15px; padding-bottom: 15px; display: flex; } .main-content-table { width: 100%; display: blcok; margin-top: 15px; } .main-content-table-row { width: 100%; display: flex; } .main-content-cell { width: 100%; max-width: 100%; } .left { margin-right: 0px; } .right { margin-left: 0px; } .main-content-list-item { display: flex; font-size: 16px; align-items: center; text-decoration: none; } .main-content-list-item:before { content: " "; height: 6px; width: 6px; background-color: #86151a7a; border-radius: 6px; margin-right: 10px; margin-top: 15px; margin-bottom: 15px; } .main-content-list-item-title { flex: 1; display: inline-block; color: #333; } .main-content-list-item-date { display: inline-block; color: #aaaaaa; } .main-content-academic-item { display: flex; font-size: 16px; text-decoration: none; color: #333; margin-bottom: 10px; } .main-content-academic-item-title { flex: 1; display: inline-block; color: #9b0d14; font-size: 18px; } .main-content-academic-item-date { display: flex; background-color: #9b0d14; color: white; text-align: center; width: 60px; height: 60px; justify-content: center; align-items: center; } .main-content-academic-item-date-day { display: block; font-size: 24px; font-family: "Arial"; } .main-content-academic-item-date-mon { display: block; font-size: 12px; font-family: "Arial"; font-weight: bold; } .main-content-academic-item-hint { display: inline-block; color: grey; font-size: 15px; margin-bottom: 5px; } /* 板块间的分隔符 */ .tab-divider { display: inline-block; width: 1px; height: 18px; background-color: #86151a; margin-left: 16px; margin-right: 16px; } /* 板块标题和信息间的分割线 */ .block-divider { margin-top: 5px; margin-bottom: 5px; } .info-list { padding-top: 5px; padding-bottom: 5px; } .table-content { display: none; } .table-content-active { display: block; } ul, li { list-style: none; } ul { position: relative; display: flex; padding: 0; margin: 0; align-items: center; } li { height: 100%; } input { display: none; } /* 设置input的下一个节点label的样式 */ input+label { display: block; width: 100%; height: 100%; font-size: 20px; text-align: center; /* line-height: 60px; */ } /* 设置div内容的基础样式 隐藏内容div*/ input+label+div { display: none; position: absolute; left: 0; top: 60px; /* TODO 修改行高 */ } /* input选中状态时候对应的label的样式 */ input:checked+label { color: #86151a; } /* input选中时候显示对应的div */ input:checked+label+div { display: block; } .tab-indicator { width: 72px; height: 3px; background-color: grey; } .tab-indicator-active { background-color: #86151a; } .tab-indicator-sep { width: 13.435px; height: 3px; background-color: grey; } .swiper-pagination-bullet.swiper-pagination-bullet-active { background: #d55320; } .swiper-pagination-bullet { width: 12px; height: 12px; background: #fff; opacity: 1; } .swiper-container { width: 100%; display: block; } .swiper-slide { text-align: center; font-size: 18px; background: antiquewhite; display: block; -webkit-box-pack: center; -ms-flex-pack: center; -webkit-justify-content: center; justify-content: center; -webkit-box-align: center; -ms-flex-align: center; -webkit-align-items: center; align-items: center; transition: 0ms; z-index: 1; height: auto; min-height: 300px; width: 100%; } .swiper-slide img { width: 100%; height: 100%; object-fit: cover; } .swiper-slide-active { -webkit-transform: scale(1); -moz-transform: scale(1); -ms-transform: scale(1); -o-transform: scale(1); transform: scale(1); z-index: 8; } .swiper-slide:not(.swiper-slide-active) { } .swiper-slide:not(.swiper-slide-active).swiper-slide-background { background: none; } .swiper-slide-active.swiper-slide-background { background: none; } .swiper-slide-background { z-index: 20; top: 50%; background: none; position: absolute; bottom: 0; left: 0; right: 0; } .swiper-pagination-bullets { transform: translateX(450px); right: 50%; bottom: 10px; text-align: right; z-index: 21; } .swiper-pagination { padding-top: 15px; padding-bottom: 30px; padding-right: 50px; } .swiper-title-container { color: white; position: relative; bottom: 20px; z-index: 20; padding: 0; margin-left: 0; color: white; text-align: left; width: 900px; left: 0; } .swiper-background { top: 50%; background: none; position: absolute; bottom: 0; left: 0; right: 0; z-index: 9; } .swiper-title-container .swiper-title { font-size: 24px; padding-left: 100px; padding-right: 100px; padding-top: 10px; padding-bottom: 5px; text-shadow: black 0.1em 0.1em 0.2em; } .swiper-title-container .swiper-sub-title { font-size: 16px; padding-left: 100px; } .swiper-title-container .swiper-title-decoration { display: inline-block; width: 5px; height: 32px; background-color: white; position: absolute; top: 16px; left: 70px; } .swiper-button-prev { background-image: url("../../img/swiper_prev.png"); background-size: 50px 50px; left: 50%; width: 50px; height: 50px; padding: 20px; transform: translate(-450px, -50%); display: block; } .swiper-button-next { background-image: url("../../img/swiper_next.png"); background-size: 50px 50px; right: 50%; width: 50px; height: 50px; padding: 20px; transform: translate(450px, -50%); display: block; } .button { border: #c9c9c9 solid 1px; border-radius: 8px; outline: none; background-color: transparent; } .bottom-ads a img div { text-decoration: none; } .bottom-ads { display: flex; justify-content: space-evenly; flex-wrap: wrap; } .bottom-ads a img { height: 100px; } .bottom-ads a { margin-top: 8px; margin-bottom: 8px; margin-right: 32px; display: flex; flex-direction: column; justify-content: center; align-items: center; text-decoration: none; } .depart-div { display: flex; margin-bottom: 20px; flex-wrap: wrap; }