.news_info_content { width: 100%; display: flex; flex-wrap: wrap; } #container { overflow: hidden; background-color: #fff; } .list_item { width: 300px; margin: 0 50px 40px 0; flex-shrink: 1; /* display: none; */ } .active1 .list_item:nth-of-type(-n + 9) { display: block; } .active2 .list_item:nth-of-type(n + 10):nth-of-type(-n + 18) { display: block; } .active3 .list_item:nth-of-type(n + 19):nth-of-type(-n + 27) { display: block; } .active4 .list_item:nth-of-type(n + 28):nth-of-type(-n + 32) { display: block; } .list_item:hover { box-shadow: 0px -2px 20px #d7d7d7; } .list_item:nth-of-type(3n) { margin-right: 0; } .info_photo { width: 300px; height: 200px; overflow: hidden; } .info_photo img { width: 300px; height: 200px; transition: all 0.7s ease 0s; transform: scale(1); } .list_item:hover .info_photo img { transition: all 0.7s ease 0s; transform: scale(1.1); } .info_text { color: #333; font-size: 16px; margin: 1em 0 14px; height: 48px; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; padding: 0 10px; box-sizing: border-box; } .list_item:hover .info_text { color: #db1b21; } .list_item .time_wrap { display: flex; padding: 10px; box-sizing: border-box; } .list_item .time_wrap .time { color: #666; font-size: 0.875em; } .list_item .time_wrap .text { display: inline-block; /* width: 3.75em; */ padding: 2px 3px; background-color: #b2b2b2; color: #fff; text-align: center; /* line-height: 1.375em; */ font-size: 12px; margin-left: 12px; border-radius: 3px; display: none; } /* 鍒嗛〉 */ html, body { margin: 0; padding: 0; color: #333; background: #f6f6f6; } .page-content { width: 1160px; margin: 0 auto; } .title-line { position: relative; padding-left: 10px; font-size: 16px; font-weight: bold; color: #3d4e66; line-height: 30px; } .common-box { background: #fff; border: 1px solid #f0f0f0; padding: 10px 15px; border-radius: 8px; } .title-line:before { content: ""; display: block; position: absolute; top: 5px; left: 0; width: 4px; height: 20px; border-radius: 3px; background: linear-gradient(to bottom, #3ebd9b, #72e1c3); } .normal-table { border-collapse: collapse; width: 100%; background: #fff; } .normal-table tr td { border: 1px solid #d5d5d5; padding: 5px 8px; color: #888; } .normal-table tr td:nth-child(odd) { background: #f3f3f3; color: #666; width: 100px; } .title-and-btn-box { border-bottom: 1px solid #f0f0f0; padding: 0 0 6px; display: flex; align-items: center; } .title-and-btn-box .box-title { width: 50%; color: #3d4e66; } .title-and-btn-box .btn-box { width: 50%; text-align: right; } .info-title { font-size: 16px; color: #506d96; border-bottom: 1px dashed #e9f2f5; margin-bottom: 10px; } .btn-primary { background: #3ebd9b; color: #fff; border-radius: 3px; padding: 6px 12px; border: none; } .btn-primary:hover { background: #2e9075; } .disabled { } .float-r { float: right; } .flex { display: flex; } .flex-wrap { flex-wrap: wrap; } .flex-column { flex-direction: column; } .flex-align-center { align-items: center; } .flex-justify-center { justify-content: center; } .form-label { width: 110px; font-size: 14px; text-align: right; line-height: 16px; padding-right: 5px; } .page-plugin { width: 100%; display: flex; align-items: center; justify-content: center; font-size: 14px; flex-direction: row; margin-bottom: 64px; } .page-plugin > div { margin-left: 20px; } .page-plugin .page-index { display: flex; } .page-plugin .page-index > div { /* padding: 5px 12px; */ width: 28px; height: 28px; text-align: center; line-height: 28px; border: 1px solid #999; color: #999; cursor: pointer; user-select: none; border-radius: 3px; } /* .page-plugin .page-index > div:hover { border: 1px solid #3ebd9b; color: #8eecd3; } */ .page-plugin .page-index .active { border-color: #db1b21; color: #fff; background: #db1b21; } .page-plugin .page-index > div + div { margin-left: 12px; } .page-plugin { display: block; } .block { display: block !important; } .block .page-index { display: flex; justify-content: center; } .pagination { text-align: center; }