.cultureBlock { background: url(../images/dangjian/cultureBg.jpg) no-repeat top center/cover; padding: 60px 0; } .cultureBlock .w1280 .list { display: flex; justify-content: space-between; margin-bottom: 20px; padding: 15px; background: #fff; } .cultureBlock .w1280 .list .img { width: 250px; height: 140px; font-size: 0; } .cultureBlock .w1280 .list .img img { width: 100%; height: 100%; -o-object-fit: cover; object-fit: cover; } .cultureBlock .w1280 .list .text { width: calc(100% - 290px); padding-top: 2px; padding-right: 25px; } .cultureBlock .w1280 .list .text .tit { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: bold; font-size: 16px; line-height: 1.75; color: #333; } .cultureBlock .w1280 .list .text .tips { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; height: 49px; margin-top: 10px; font-size: 14px; line-height: 1.75; color: #999; } .cultureBlock .w1280 .list .text .info { display: flex; align-items: center; justify-content: space-between; margin-top: 19px; } .cultureBlock .w1280 .list .text .info .time { font-size: 14px; color: #999; } .cultureBlock .w1280 .list .text .info .more { display: flex; align-items: center; font-size: 16px; line-height: 24px; color: #f08200; } .cultureBlock .w1280 .list .text .info .more img { margin-left: 7px; transform: translateY(1px); } .cultureBlock .w1280 .first .img { width: 500px; height: 280px; } .cultureBlock .w1280 .first .text { width: calc(100% - 540px); padding-top: 18px; } .cultureBlock .w1280 .first .text .tit { font-size: 24px; } .cultureBlock .w1280 .first .text .tips { -webkit-line-clamp: 3; height: 75px; } .cultureBlock .w1280 .first .text .info { margin-top: 69px; } @media (max-width: 1080px) { .cultureBlock { padding: 40px 0; } } @media (max-width: 750px) { .cultureBlock .w1280 .list { flex-direction: column; padding: 0; } .cultureBlock .w1280 .list .img { width: 100%; height: auto; } .cultureBlock .w1280 .list .img img { width: 100%; height: auto; -o-object-fit: initial; object-fit: initial; } .cultureBlock .w1280 .list .text { width: 100%; padding: 15px 20px; } }/*# sourceMappingURL=culture.css.map */ .culture-bg { padding: 60px 0; background: url(../images/dangjian/img-2.jpg) no-repeat center bottom / cover; } .culture-bg.article-info { background: #f7f7f7; } .culture-list { display: grid; grid-template-columns: repeat(3, 1fr); grid-column-gap: 30px; grid-row-gap: 30px; padding: 60px 0px; } .culture-box .text { background: #fff; transition: all 0.3s; padding: 35px 40px 40px; border-bottom: 5px solid #fff; box-sizing: border-box; } .culture-box:hover .text { transition: all 0.3s; box-shadow: 1px 10px 40px 0px rgba(0, 0, 0, 0.1); border-bottom: 5px solid #f08200; } .culture-box .img { height: 260px; display: block; overflow: hidden; } .culture-box .img:hover img { transform: scale(1.1); transition: all 0.3s; } .culture-box .img img { transition: all 0.3s; width: 100%; height: 100%; object-fit: cover; } .culture-box .time { font-size: 16px; line-height: 1em; font-weight: 400; color: #999999; margin-bottom: 20px; } .culture-box .title { font-size: 18px; font-weight: bold; color: #333333; line-height: 30px; text-overflow: ellipsis; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; transition: color 0.3s; } .culture-box .title:hover { transition: color 0.3s; color: #f08200; } .culture-box .description { font-size: 16px; font-family: Microsoft YaHei; font-weight: 400; color: #999999; margin-top: 22px; line-height: 28px; text-overflow: ellipsis; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; } .culture-detail { background: #fff; padding: 0 70px 50px; } .culture-detail .title { text-align: center; font-size: 28px; font-weight: 400; color: #333333; line-height: 40px; padding: 64px 0 34px; } .culture-detail .tools { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; padding-bottom: 24px; border-bottom: 1px solid rgba(0, 0, 0, 0.05); } .culture-detail .tools .text, .culture-detail .tools .share p { font-size: 15px; font-weight: 400; color: #666666; line-height: 1em; } .culture-detail .tools .share { display: flex; align-items: center; } .culture-detail .tools .share .wechat { margin-right: 10px; } .culture-detail .tools .share .wechat, .culture-detail .tools .share .toutiao { font-size: 0; } .culture-detail .tools .share img { width: 30px; } .culture-detail .tools .text { position: relative; padding-right: 34px; margin-right: 30px; } .culture-detail .tools .text::after { content: ''; width: 1px; height: 16px; background: rgba(0, 0, 0, 0.1); position: absolute; top: 0; bottom: 0; margin: auto; right: 0; } .culture-detail .content { padding: 40px 0; } .culture-detail .content, .culture-detail .content * { line-height: 36px; color: #333; } .culture-detail .content div,.culture-detail .content p{ margin-bottom: 10px; } .culture-detail .content img { margin: 0 auto; display: block; } .culture-detail .page-detail { display: flex; align-items: center; justify-content: space-between; border-top: 1px solid rgba(0, 0, 0, 0.05); padding-top: 40px; } .culture-detail .page-detail .page { font-size: 16px; font-weight: 400; color: #333333; line-height: 30px; display: flex; width: 400px; } .culture-detail .page-detail .page a { text-overflow: ellipsis; white-space: nowrap; overflow: hidden; flex: 1; width: 0; } .culture-bg .back { display: flex; align-items: center; justify-content: center; width: 200px; height: 65px; background: #f2f2f2; border-radius: 33px; margin: 0 20px; } .culture-bg .back p { font-size: 16px; font-weight: 400; color: #333333; margin-left: 10px; } .culture-bg .back img { width: 19px; } .culture-detail .tools .share .wechat, .culture-detail .tools .share .toutiao{ position: relative; } .posiCode{ display: none; position: absolute; width: 90px; height: 90px; margin-top: 15px; margin-left: -30px; padding: 5px; background: #fff; border: 1px solid rgba(0, 0, 0, 0.1); } .posiCode img{ width: 100% !important; height: auto; } .moreFile{ display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; padding-bottom: 20px; } .moreFile a{ display: flex; align-items: flex-start; width: calc((100% - 40px)/2); padding: 20px 0; border-top: 1px solid rgba(0, 0, 0, 0.05); } .moreFile a img{ width: 18px; margin-right: 8px; transform: translateY(2px); } .moreFile a span{ width: calc(100% - 26px); font-size: 16px; color: #666; } .content td{ border:1px solid #333; padding: 10px; } @media (max-width: 768px) { .culture-bg { padding: 20px 0; } .culture-detail { padding: 0 20px 30px; } .culture-detail .title { font-size: 18px; line-height: 28px; font-weight: bold; text-align: justify; padding: 35px 0 25px; } .culture-detail .tools .text:first-child { margin-left: 0; } .culture-detail .tools .text { padding-right: 0; margin-right: 0; font-size: 14px; margin-left: 20px; } .culture-detail .tools .text:nth-child(3), .culture-detail .tools .text::after, .culture-detail .tools .share { display: none; } .culture-detail .content { padding: 25px 0; } .culture-detail .content, .culture-detail .content * { font-size: 14px !important; line-height: 24px !important; } .culture-detail .page-detail { display: block; padding-top: 20px; } .culture-detail .page-detail .back { display: none; } .back.mobile { width: 150px; height: 50px; background: #ffffff; margin: 30px auto; } .back.mobile p { font-size: 14px; font-weight: bold; } .back.mobile img { width: 15px; } .culture-detail .page-detail .page { font-size: 14px; width: auto; } .culture-list { padding-top: 0; padding-bottom: 40px; grid-template-columns: repeat(1, 1fr); } .culture-box .img { height: 220px; } .culture-box .text { padding: 25px 30px 35px; } .culture-box .time { margin-bottom: 15px; } .culture-box .title { font-size: 16px; line-height: 28px; } .culture-box .description { margin-top: 10px; font-size: 14px; line-height: 24px; } .culture-new-bg{ padding-top: 40px; } .moreFile a { width: 100%; } .moreFile a span{ font-size: 14px; } }