body { margin: 0; font-family: sans-serif; } .index-top{ width: 100%; max-width: 1920px; display: block; margin: auto; } .announcement-wrap { background-color: #ebebeb; } .announcement, .news, .alumnus { width: 100%; max-width: 1200px; margin: 0 auto; padding: 60px 5px 95px; box-sizing: border-box; } .title-wrap{ display: flex; justify-content: space-between; align-items: center; } .title-wrap.has-more::before{ content: ''; width: 102px; display: block; } .title{ flex: 1; text-align: center; } .title-cn { font-size: 26px; font-weight: 600; color: #424242; letter-spacing: 0.2em; text-indent: 0.2em; } .title-en { font-size: 12px; color: #bd2d2c; text-transform: uppercase; margin-top: 10px; } .more { width: 102px; height: 28px; line-height: 28px; text-decoration: none; color: #fff; background-color: #b8000e; border-radius: 28px; font-size: 14px; font-weight: 100; display: flex; justify-content: center; align-items: center; } .more::after{ content: ''; display: block; width: 6px; height: 6px; border-top: 1px solid #fff; border-right: 1px solid #fff; transform: rotate(45deg); margin-left: 6px; } .list{ display: flex; flex-wrap: wrap; justify-content: space-between; } .list a{ text-decoration: none; } .announcement .list { margin-top: 50px; row-gap: 20px; column-gap: 20px; } .announcement .item { flex: 1; min-width: 282px; height: 140px; box-sizing: border-box; border-top: 4px solid #bd2d2c; background-color: #fff; padding: 16px 20px; } .announcement .item-date { font-size: 20px; color: #424242; } .announcement .item-title { font-size: 16px; font-weight: 100; color: #1e1e1e; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-top: 0.4em; height: 42px; } .announcement .item-read { font-size: 14px; color: #bd2d2c; display: flex; justify-content: flex-end; align-items: center; margin-top: 0.4em; } .announcement .item-read::after { content: ''; display: block; width: 6px; height: 6px; border-top: 1px solid #bd2d2c; border-right: 1px solid #bd2d2c; transform: rotate(45deg); margin-left: 6px; } @media screen and (max-width: 1214px) { .announcement .item:nth-child(n+3) { order: 1; } .announcement .list::before { content: ''; width: 100%; order: 1; } } @media screen and (max-width: 610px) { .announcement .item:nth-child(n+3) { order: 0; } } .news .list { margin-top: 20px; justify-content: space-between; row-gap: 5px; column-gap: 5px; } .news .item { width: 233px; height: 265px; box-sizing: border-box; border: 1px solid #e0e0e0; } .news .item-img{ width: 100%; height: 140px; object-fit: cover; } .news .item-date { font-size: 14px; color: #bd2d2c; margin-top: 0.4em; padding: 0 18px; } .news .item-title { font-size: 16px; font-weight: 100; color: #1e1e1e; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; margin-top: 0.4em; padding: 0 18px; text-align: justify; } .news .item:first-child{ border: none; width: 433px; position: relative; } .news .item:first-child .item-img { width: 100%; height: 100%; object-fit: cover; } .news .item:first-child .item-date { font-size: 14px; font-weight: 100; color: #fff; margin-top: 0.4em; padding: 0 18px; position: absolute; bottom: 50px; } .news .item:first-child .item-title { font-size: 16px; font-weight: 100; height: 42px; color: #fff; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-top: 0.4em; padding: 0 18px; position: absolute; bottom: 10px; } @media screen and (max-width: 1199px) { .news .list::before { content: ''; width: 100%; order: 1; } .news .item { width: calc( calc( 100% - 20px ) /3 ); min-width: 233px; } .news .item:nth-child(n+2) { order: 1; } .news .item:first-child{ width: 100%; } } @media screen and (max-width: 735px){ .news .item { border: none; width: 100%; position: relative; } .news .item .item-img { width: 100%; height: 100%; object-fit: cover; } .news .item:nth-child(n+2) { order: 0; } .news .item .item-date { font-size: 14px; font-weight: 100; color: #fff; margin-top: 0.4em; padding: 0 18px; position: absolute; bottom: 50px; } .news .item .item-title { font-size: 16px; font-weight: 100; height: 42px; color: #fff; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-top: 0.4em; padding: 0 18px; position: absolute; bottom: 10px; } } .alumnus .list { margin-top: 20px; justify-content: space-around; gap: 20px; } .alumnus .item { width: 158px; box-sizing: border-box; } .alumnus .item-img { width: 100%; height: 204px; object-fit: cover; } .alumnus .item-title { font-size: 18px; color: #252525; text-align: center; margin-top: 1em; } .alumnus .item-date { font-size: 14px; color: #252525; text-align: center; } @media screen and (max-width: 1074px) { .alumnus .item:nth-child(n+4) { order: 1; } .alumnus .list::before { content: ''; width: 100%; order: 1; } } @media screen and (max-width: 540px) { .alumnus .item:nth-child(n+3) { order: 0; } } .history { width: 100%; height: 648px; background: url(../img/bg2.jpg) center top no-repeat; box-sizing: border-box; padding: 60px 5px 95px; } .swiper-container{ height: 420px; margin-top: 50px; box-sizing: border-box; max-width: 1800px; } .swiper-wrapper{ align-items: center; height: 300px; margin-left: -86px; } .swiper-slide { background: #ccc; width: 328px; height: 185px; transition: all 300ms; cursor: pointer; overflow: hidden; border-radius: 10px; box-shadow: 0 4px 13px rgba(0,0,0,0.51); } .swiper-slide::before { content: ''; display: block; width: 100%; height: 40%; position: absolute; bottom: 0; background: linear-gradient(transparent, rgba(0,0,0,0.8)); } .swiper-slide img { width: 100%; height: 100%; object-fit: cover; display: block; } .swiper-slide-text { position: absolute; bottom: 0; color: #fff; font-size: 16px; padding: 0 16px 16px; width: 499px; box-sizing: border-box; transform: scale(0.66); transform-origin: left bottom; transition: all 300ms; } .swiper-slide-text::before { content: ''; display: inline-block; width: 7px; height: 7px; border: 4px solid #ca050a; border-radius: 50%; vertical-align: -2px; margin-right: 10px; } .swiper-slide-active { width: 499px; height: 281px; } .swiper-slide-active .swiper-slide-text { transform: scale(1) } .swiper-pagination { width: 1200px !important; bottom: 40px !important; left: 50% !important; display: flex; justify-content: space-around; margin-left: -600px; background-image: radial-gradient(#ca050a 30%, transparent 50%,transparent); background-size: 10px 10px; background-position: 0 4px; background-repeat: repeat-x; } .swiper-pagination-bullet { opacity: 1; width: 9px; height: 9px; border: 5px solid #ca050a; background-color: #fafafa; position: relative; outline: none; } .swiper-pagination-bullet .year{ position: absolute; top: 20px; font-size: 18px; left: -16px; } .header-wrap, .footer-wrap { background-color: #b8000e; } .header, .footer { display: flex; box-sizing: border-box; max-width: 1800px; justify-content: space-between; align-items: center; margin: 0 auto; color: #fff; } .header { padding: 20px 5px; } .header .navs{ display: flex; justify-content: space-between; width: 240px; } .header .navs a{ color: #fff; text-decoration: none; } .footer { padding: 50px 5px; } .footer .address{ text-align: right; font-size: 16px; font-weight: 100; line-height: 30px; } @media screen and (max-width: 1100px) { .footer{ display: block; text-align: center; } .footer .address{ margin-top: 20px; text-align: center; } } .other-top{ width: 100%; max-width: 1920px; height: 386px; object-fit: cover; display: block; } .content { width: 1110px; background-color: #fff; border-top: 5px solid #bd2d2c; box-shadow: 0 0 16px rgba(0,0,0,0.17); margin: -110px auto 60px; padding: 40px; position: relative; } .content h1 { padding: 50px 0 0; text-align: center; font-size: 24px; width: 920px; margin: 0 auto; } .content .InnerDate { text-align: center; font-size: 16px; color: #c4c4c4; margin-top: 26px; } .content .InnerContent { width: 920px; margin: 46px auto 0; font-size: 16px; color: #666; line-height: 30px; } .content .list{ width: 1040px; justify-content: space-between; margin: 50px auto 0; } .news-item{ width: 100%; max-width: 480px; text-decoration: none; display: flex; margin-bottom: 40px; } .news-item .item-date { width: 57px; height: 71px; text-align: center; box-sizing: border-box; border: 1px solid #bd2d2c; border-radius: 10px; flex-shrink: 0; overflow: hidden; margin-right: 20px; } .news-item .item-day { height: 41px; line-height: 41px; font-size: 26px; font-weight: 600; color: #c5260f; } .news-item .item-month { background-color: #de9695; color: #fff; font-size: 14px; height: 30px; line-height: 30px; } .news-item .item-title-wrap { display: flex; flex-direction: column; justify-content: space-between; } .news-item .item-title { font-size: 18px; color: #1e1e1e; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; } .news-item .word-desc { font-size: 14px; color: #8a8a8a; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; } .content .alumnus-list { justify-content: initial; } .alumnus-item { width: 25%; box-sizing: border-box; margin-bottom: 80px; padding: 0 15px; } .alumnus-item .item-img { width: 158px; height: 204px; object-fit: cover; margin: 0 auto; display: block; } .alumnus-item .item-title { font-size: 18px; color: #252525; text-align: center; margin-top: 1em; } .alumnus-item .item-date { font-size: 14px; color: #252525; text-align: center; } .alumnus-item .word-desc { margin-top: 16px; font-size: 14px; height: 38px; color: #575757; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; } .clearfix:after { content: " "; display: block; clear: both; height: 0; } .clearfix { zoom: 1; } .pagerbox { text-align: center; font-size: 16px; line-height: 26px; padding-top: 20px; padding-bottom: 40px; width: 1040px; margin: 0 auto; } .pagerbox a { color: #979797; text-decoration: none; } .pagerbox .now { color: #2593D6; font-weight: bold; } .pagerbox span.active { color: #c03a3a; font-weight: bold; background: none; } .pagerbox a:first-of-type { position: relative; float: left; display: block; width: 26px; height: 26px; background-color: #f2d8d8; border-radius: 50%; } .pagerbox a:first-of-type:after { content: ""; display: block; width: 33%; height: 33%; position: absolute; border-top: 3px solid; border-right: 3px solid; transform: rotate(-135deg); border-color: #cf6a6a; top: 7px; left: 9px; } .pagerbox a:last-of-type { position: relative; float: right; display: block; width: 26px; height: 26px; background-color: #f2d8d8; margin-right: 0 !important; border-radius: 50%; } .pagerbox a:last-of-type:after { content: ""; display: block; width: 33%; height: 33%; position: absolute; border-top: 3px solid; border-right: 3px solid; border-color: #cf6a6a; top: 7px; left: 5px; transform: rotate(45deg); }