html, body { font-size: 18px; overflow-x: clip; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; margin: 0; padding: 0; } a { color: #2d2e2f; outline: none; text-decoration: none; } a:link { text-decoration: none; } a:visited { text-decoration: none; } a:hover { text-decoration: none; } a:active { text-decoration: none; } a:focus { text-decoration: none; } .nav_item .nav_con { top: 70px !important; } /* =================================================== */ .wrapper { background-image: url(../img/public-bg.png); background-color: #edf5ff; background-position: center; background-size: cover; } .news_con { max-width: 1200px; position: relative; width: 100%; min-height: unset; } .newslist { display: flex; flex-direction: row; flex-wrap: wrap; max-height: 440px; max-width: 1200px; justify-content: space-evenly; } .newslist li { width: 48%; max-width: 600px; height: 80px; background: #FFFFFF; border-bottom: solid #f3f3f3 1px; position: relative; z-index: 1; display: flex; flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; padding: 20px 40px; box-sizing: border-box; margin: 2px; } .newslist li a { font-size: 16px; color: #333333; font-weight: 600; width: 78%; overflow: hidden; -webkit-line-clamp: 2; display: -webkit-box; -webkit-box-orient: vertical; /* position: absolute; */ /* left: 55px; */ /* top:40px; */ } .newslist li p { font-size: 14px; color: #8F8F8F; width: 100%; overflow: hidden; -webkit-line-clamp: 3; display: -webkit-box; -webkit-box-orient: vertical; /* position: absolute; */ /* left: 55px; */ /* top:83px; */ } .newslist li span { font-size: 14px; color: #A0A0A0; width: 20%; min-width: 70px; text-align: end; /* position: absolute; */ /* right: 40px; */ /* top:45px; */ } .newslist li:hover a { color: #376ACA; } .newslist li:hover { box-shadow: 0px 0px 29px 9px rgba(137, 137, 137, 0.18); z-index: 99; } .news_con .page { margin: 28px auto 10px; max-width: 1200px; display: flex; justify-content: center; } .news_con .page a { width: 36px; height: 36px; background: #FFFFFF; border: 1px solid #F1F1F1; line-height: 36px; text-align: center; display: block; margin: 0 10px; cursor: pointer; border: 0; } .news_con .page a:hover { background: #1B4698; color: #fff; } @media screen and (max-width: 900px) { .swiper-screen p { font-size: 0.6rem; } .news_con { width: 96%; padding: 50px 0; } .swiper h1 { font-size: 1.9rem; } .newslist { flex-direction: column; flex-wrap: nowrap; height: auto; max-height: unset; } .newslist li { width: 100%; padding: 20px; box-shadow: 0px 0px 29px 9px rgb(137 137 137 / 11%); z-index: 99; margin: 2px 0; height: auto; } .newslist li:hover { box-shadow: none; z-index: unset; } .newslist li>* { left: 0; } .newslist li a { font-size: 16px; -webkit-line-clamp: 2; width: 100%; } .newslist li span { font-size: 12px; text-align: start; margin: 10px 0 0 0; } .newslist li p { -webkit-line-clamp: 2; } .page-pre, .page-next { width: 40px !important; background: #1B4698 !important; color: #fff; } .page-pre:hover, .page-next:hover { box-shadow: 0px 0px 6px 2px #1b46988c; } }