xt-align: left;margin:1rem 0 1rem 0;font-size: 12px;color: #fff;transition: color 0.4s;background: #12afb5;padding: 3px 8px;border-radius: 30px;display: inline-block;} .tem_con_block .list ul li .news_b:hover .txt .cate{width: auto;text-align: left;margin:1rem 0 1rem 0;font-size: 12px;color: #fff;transition: color 0.4s;background: #12afb5;padding: 3px 8px;border-radius: 30px;display: inline-block;} .tem_con_block .list ul li .news_b .txt .title{width: 98%;text-align: left;margin:0 0 1rem;} .tem_con_block .list ul li .news_b .txt .title a{width: 100%;display: block;font-size: calc(16px + (20 - 16) * ((100vw - 1280px) / (2560 - 1280)));color: #333;transition: color 0.4s;} .tem_con_block .list ul li .news_b:hover .txt .title a{color: #0eaea5;} .tem_con_block .list ul li .news_b .txt .summary{width: 98%;text-align: left;font-size: calc(12px + (16 - 12) * ((100vw - 1280px) / (2560 - 1280)));color: #888;transition: color 0.4s;margin:0 0 1rem;font-weight: 100;} .tem_con_block .list ul li .news_b:hover .txt .summary{color: #222;} .read-more-btn {display: none;} .tem_con_block .list ul li .news_b .txt .date{color: #222;font-size: calc(11px + (13 - 11) * ((100vw - 1280px) / (2560 - 1280)));font-weight: 600;transition: all 0.4s;margin-top: calc(0px + (90 - 0) * ((100vw - 1280px) / (2560 - 1280)));} .tem_con_block .list ul li .news_b:hover .txt .date{color: #1bc3ba;font-size: calc(11px + (13 - 11) * ((100vw - 1280px) / (2560 - 1280)));font-weight: 600;transition: all 0.4s;} .tem_con_block .list ul li .news_b .txt .date i{margin-right: 6px;font-size: calc(11px + (13 - 11) * ((100vw - 1280px) / (2560 - 1280)));} .tem_con_block .list ul li .news_b .txt .btn{position: absolute;bottom: 10px;right: 10px;} .tem_con_block .list ul li .news_b .txt .btn i{font-size: calc(18px + (26 - 18) * ((100vw - 1280px) / (2560 - 1280)));color: #1bc3ba;transition: all 0.4s;} .tem_con_block .list ul li .news_b:hover .txt .btn i{color: #c8eae6;} @media (max-width: 1180px) and (min-width: 300px) { .tem_con_block .list { width: 94%; margin-top: 3rem; } .tem_con_block .list ul { width: 100%; margin: auto; display: flex; flex-wrap: wrap; justify-content: space-between; } .tem_con_block .list ul li { width: 100%; margin-bottom: 30px; } .tem_con_block .list ul li .news_b { width: 98%; margin: auto; display: flex; flex-wrap: wrap; flex-direction: column; align-content: center; background: #fff; cursor: pointer; transition: all .4s; padding: 25px; border: 1px solid #ededed; border-radius: 12px; box-sizing: border-box; position: relative; } .tem_con_block .list ul li .news_b:hover { width: 98%; margin: auto; display: flex; flex-wrap: wrap; flex-direction: column; align-content: center; background: #f4feff; cursor: pointer; padding: 25px; border: 1px solid #f4feff; border-radius: 12px; box-sizing: border-box; } .tem_con_block .list ul li .news_b .pic { width: 98%; text-align: center; } .tem_con_block .list ul li .news_b .pic a { width: 100%; display: block; } .tem_con_block .list ul li .news_b .pic img { width: 100%; margin: auto; display: block; border-radius: 12px; transition: all .4s; opacity: 1; } .tem_con_block .list ul li .news_b:hover .pic img { transform: scale(1.02); opacity: 0.85; border-radius: 12px; } .tem_con_block .list ul li .news_b .txt { width: 98%; } .tem_con_block .list ul li .news_b .txt .cate { width: auto; text-align: left; margin: 1rem 0 1rem 0; font-size: 12px; color: #fff; transition: color 0.4s; background: #12afb5; padding: 3px 8px; border-radius: 30px; display: inline-block; } .tem_con_block .list ul li .news_b:hover .txt .cate { width: auto; text-align: left; margin: 1rem 0 1rem 0; font-size: 12px; color: #fff; transition: color 0.4s; background: #12afb5; padding: 3px 8px; border-radius: 30px; display: inline-block; } .tem_con_block .list ul li .news_b .txt .title { width: 98%; text-align: left; margin: 0 0 1rem; } .tem_con_block .list ul li .news_b .txt .title a { width: 100%; display: block; font-size: calc(16px + (20 - 16) * ((100vw - 300px) / (1180 - 300))); color: #333; transition: color 0.4s; } .tem_con_block .list ul li .news_b:hover .txt .title a { color: #0eaea5; } /********summary-折叠*********/ .tem_con_block .list ul li .news_b .txt .summary { width: 98%; text-align: left; font-size: calc(14px + (16 - 14) * ((100vw - 300px) / (1180 - 300))); color: #666; transition: color 0.4s; margin: 0 0 1rem; font-weight: 200; line-height: 1.6; overflow: hidden; height: 1.3em; display: block; } .tem_con_block .list ul li .news_b .txt .summary.expanded { } .tem_con_block .list ul li .news_b:hover .txt .summary { color: #222; } /* 查看更多按钮样式 */ .read-more-btn { background: none; border: none; color: #524ab8; cursor: pointer; font-weight: 600; margin-top: -10px; padding: 5px 0; font-size: calc(12px + (16 - 12) * ((100vw - 300px) / (1180 - 300))); transition: color 0.2s; } .read-more-btn:hover { color: #3a3a8a; } /*********summary-折叠********/ .tem_con_block .list ul li .news_b .txt .date { color: #222; font-size: calc(11px + (13 - 11) * ((100vw - 300px) / (1180 - 300))); font-weight: 600; transition: all 0.4s; margin-top: 24px; } .tem_con_block .list ul li .news_b:hover .txt .date { color: #1bc3ba; font-size: calc(11px + (13 - 11) * ((100vw - 300px) / (1180 - 300))); font-weight: 600; transition: all 0.4s; } .tem_con_block .list ul li .news_b .txt .date i { margin-right: 6px; font-size: calc(11px + (13 - 11) * ((100vw - 300px) / (1180 - 300))); } .tem_con_block .list ul li .news_b .txt .btn { position: absolute; bottom: 10px; right: 10px; } .tem_con_block .list ul li .news_b .txt .btn i { font-size: calc(18px + (26 - 18) * ((100vw - 300px) / (1180 - 300))); color: #524ab8; transition: all 0.4s; } .tem_con_block .list ul li .news_b:hover .txt .btn i { color: #cbc8ea; } }
康宁要闻
    {pboot:list num=4 order=date}