body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, form, fieldset, input, textarea, p, blockquote, th, td { margin: 0; padding: 0; border: 0 none; outline: 0; } body { background: #fff; font-size: 14px } table { border-collapse: collapse; border-spacing: 0 } fieldset, img { border: 0 none } address, caption, cite, code, dfn, em, strong, th, var { font-style: normal; font-weight: normal } ol, ul, li { list-style: none outside none } caption, th { text-align: left } h1, h2, h3, h4, h5, h6 { font-size: 100%; font-weight: normal } a { text-decoration: none; } .clearfix { *zoom: 1; } /*搜索框*/ .search { width: 92%; height: 0.86rem; margin: 0 auto; border: 1px solid #dcdfe6; border-radius: 8px; overflow: hidden; margin-bottom: 0.2rem; } .search input { width: 100%; height: 100%; line-height: 0.86rem; text-indent: 1rem; font-size: 16px; color: #999999; background-size: 0.5rem; background-color: #f9f9f9; background-repeat: no-repeat; background-position: 0.2rem 0.18rem; background-image: url(/uploads/image/simg/fdq.png); } /*文章列表*/ .article_list { box-sizing: border-box; padding: 0 0.32rem; } .article_list li a { display: block; } .article_list li a .img_box { border-radius: 6px; position: relative; margin-bottom: 16px; } .article_list li a .img_box img { width: 100%; object-fit: contain; } .img_mask { position: absolute; left: 0; bottom: 0; right: 0; top: 0; background-color: rgba(0, 0, 0, 0.3); } .article_list li li { border-top: 2px solid #dcdfe6; padding-top: 8px; } .article_list .article_item { overflow: auto; } .article_list li .article_title { float: left; width: 100%; font-weight: 600; color: #27a1c6; font-size: 16px; text-align: center; margin-bottom: 8px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; } .article_list li .arctile_content { float: left; width: 100%; line-height: 24px; font-size: 12px; margin-bottom: 16px; color: #666666; overflow : hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; } .article_card_1 { width: 92%; margin: 0 auto; border-radius: 4px; border: 2px solid #dcdfe6; margin-bottom: 16px; } .article_card_1 .card_header { position: relative; background: #fafafa; border-radius: 8px 8px 0px 0px; height: 1rem; line-height: 1rem; margin-bottom: 0.5rem; } .article_card_1 .card_header h3{ font-weight: 600; color: #369; text-indent: 0.2rem; font-size: 20px; } .article_card_1 .card_header a { position: absolute; font-size: 12px; color: #999999; top: 0; right: 0.1rem; } .article_card_1 .card_item { margin-bottom: 16px; overflow: auto; } .article_card_1 .card_item .card_left { float: left; width: 2rem; height: 1.64rem; overflow: hidden; border-radius: 0.2rem; margin: 0 0.2rem; position: relative; background-color: rgb(223, 223, 223); } .article_card_1 .card_item .card_left img { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 100%; object-fit: contain; } .article_card_1 .card_item .card_right { float: right; width: 6.5rem; margin-right: 0.2rem; } .article_card_1 .card_item .card_right .card_title { font-size: 16px; font-weight: 600; color: #333333; overflow : hidden; text-overflow: ellipsis; white-space: nowrap; margin-bottom: 8px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; } .article_card_1 .card_item .card_right .card_content { font-size: 12px; color: #666666; overflow : hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; } /* rank_list 排行榜列表 */ .rank_list { padding-bottom: 12px; } .rank_list li { /*margin-bottom: 16px;*/ } .rank_list .rank_num { display: inline-block; width: 22px; height: 22px; border-radius: 50%; font-size: 16px; text-align: center; line-height: 22px; margin: 0 18px; vertical-align: middle; background-color: #dcdcdc; color: #999; } .rank_list a:nth-of-type(1) .rank_num{ background-color: #ff816f; color: #fff; } .rank_list a:nth-of-type(2) .rank_num{ background-color: #00d097; color: #fff; } .rank_list a:nth-of-type(3) .rank_num{ background-color: #27a1c6; color: #fff; } .rank_list .rank_content { display: inline-block; width: 7rem; font-size: 16px; color: #333333; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; vertical-align: middle; } .rank_list .load_more { width: 100%; font-size: 24px; color: #369; text-align: center; padding-bottom: 10px; } /** 翻页按钮 */ .flip_over { width: 60px; background-color: #369; font-size: 16px; border-radius: 4px; text-align: center; padding: 5px; margin: 0 auto; } .flip_over a { color: #fff; }