body { margin: 0; max-width: 1920px; min-width: 1210px; } .aspNetHidden { display: none; } body > form { min-height: 100vh; display: grid; grid-template-rows: auto auto 1fr auto; } .content { margin: auto; width: 1210px; } header { height: 429px; background: url(../images/header.jpg) center no-repeat; } nav { background: #155BAF; } nav menu { list-style: none; padding: 0; display: flex; margin: auto; width: 1210px; } nav menu li { flex: 1; } nav menu a { display: block; text-align: center; text-decoration: none; color: #fff; line-height: 74px; font-size: 27px; font-weight: lighter; } nav menu a.active{ position: relative; } nav menu a.active::after { content: ''; display: block; width: 100%; height: 4px; background: linear-gradient(#8F243D, #8F243D) center/97px 4px no-repeat; position: absolute; bottom: 0; } footer { background: #0D346D; color: #fff; padding: 50px 0; } footer .content { display: grid; grid-template-columns: auto 114px; grid-template-rows: auto 30px; height: 114px; } footer .wechat{ grid-column: 2; grid-row: 1/-1; } .column-title { font-size: 24px; color: #155BAF; background-image: linear-gradient(#D39331, #D39331), linear-gradient(#155BAF, #155BAF), linear-gradient(#8F243D, #8F243D), linear-gradient(#AAAAAA, #AAAAAA); background-repeat: no-repeat; background-size: 30px 3px, 30px 3px, 30px 3px, 1110px 1px; background-position: 0 bottom, 32px bottom, 64px bottom, 99px 40px; padding-bottom: 12px; } .news-list { padding-top: 16px; } .news-item { height: 185px; display: flex; padding-top: 24px; padding-bottom: 28px; color: inherit; text-decoration: none; } .news-item + .news-item { border-top: 1px solid rgba(102, 102, 102, .5); } .news-item--date { background: #155BAF; line-height: 25px; color: #fff; font-size: 14px; font-weight: lighter; padding: 0 0.8em; border-radius: 25px; display: inline-block; margin-bottom: 16px; } .news-item--title { font-size: 20px; font-weight: lighter; line-height: 28px; height: 56px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 24px; } .news-item--desc { font-size: 14px; font-weight: lighter; color: #7C7C7C; line-height: 26px; height: 52px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; } .news-item--image { width: 287px; height: 185px; border-radius: 12px; object-fit: cover; margin-left: 36px; } .news-item--image[src=""] { display: none; } .video-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 62px 32px; padding-top: 50px; } .video-item { color: inherit; text-decoration: none; } .video-item--image { display: block; width: 100%; aspect-ratio: 381 / 210; object-fit: cover; border-radius: 12px; } .video-item--title { font-size: 20px; font-weight: lighter; text-align: center; padding: 0 1em; margin-top: 18px; } .pager { display: flex; justify-content: center; align-items: center; gap: 30px; font-size: 16px; color: #303030; margin-top: 50px; } .pager .active { background: #D47D00; border-radius: 6px; color: #fff; width: 30px; line-height: 30px; text-align: center; } .pager a { color: inherit; text-decoration: none; } h1 { text-align: center; } .InnerDate { text-align: center; font-size: 16px; color: #c4c4c4; margin-top: 26px; } .InnerContent { margin-top: 46px; font-size: 16px; color: #666; line-height: 30px; } .InnerContent img { display: block; margin: auto; max-width: 100%; }