.main{ margin:30px auto; overflow:hidden; position:relative; } .main .sider{ float:left; position:relative; z-index:1; width:220px } .main .sider ul{ font-size:16px; border:1px solid #f2f2f2; border-radius:6px; box-shadow:0 0 10px rgba(0,0,0,0.03); background:#fff; } .main .sider.lock{ position:fixed; top:120px; } .main .sider li{ padding:20px 0; text-align:center; border-bottom:1px solid #f2f2f2; } .main .sider li:last-child{ border-bottom:0; } .main .sider li.cur a{ color:#547DD4; font-weight:700; } .main .lists{ margin-left:250px; } /* 澶ф爣棰 */ .title{ justify-content: space-between; border-bottom: 1px solid rgba(238,238,246,1); padding-bottom: 8px; position:relative; } .title .more{ position:absolute; bottom:0; right:0; display:block; height:100%; line-height:65px; color:#999; } .title .more svg{ fill:#999; } h2{ font-size:32px; font-weight:600; color:rgba(51,51,51,1); letter-spacing:1px; display: inline-block; vertical-align: middle; margin-right:10px; } h2 i{ font-size:16px; /*font-family:BebasNeueBold;*/ color:rgba(103,112,148,0.3); letter-spacing:-1px; display: inline-block; vertical-align: middle; font-style:normal; margin-left:20px; font-weight:normal; } /* 鍏叡鏍峰紡缁撴潫 */ .banner{ background-size: cover; width: 100%; height: 37.5vw; } .banner h1{ color:#fff; font-size:64px; text-align:center; font-weight:700; padding:10vw 0; text-shadow: 1px 1px 10px rgba(0,0,0,0.5); } .slide{ width: 100%; height: 37.5vw; } /* 鏂伴椈鍒楄〃 */ .list-title{ font-size:26px; font-weight:bold; color:rgba(51,51,51,1); letter-spacing:2px; line-height: 32px; max-width: 22.45vw; text-overflow: -o-ellipsis-lastline; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; } .list-line span:first-child{ width: 20px; height: 6px; background: #6C86E7; display: inline-block; } .list-line span:last-child{ width: 50px; height: 6px; background: #E2E7FD; display: inline-block; } .news .image{ width: 95%; height: 300px; position: relative; border-radius: 6px; } .news .image .list-bg{ position: absolute; bottom: -2.6vw; width: 5.2vw; height: 5.2vw; background:rgba(235,238,248,1); z-index: -1; } .box-left{ left: -2.6vw; } .box-right{ right: -2.6vw; } .news .row{ margin:40px auto 60px auto; } .news .row h4{ font-size:22px; width:80%; font-weight:bold; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .news .row .time{ color:#999; } .news .row .desc{ margin-top:30px; font-size:16px; width:80%; } #pages{ text-align: center; margin:40px auto; } #pages svg{ display:inline-block; width:48px; height:48px; background:#DEE5EC; text-align:center; fill:#fff; padding: 10px; margin: 0 20px; cursor: pointer; } #pages svg:hover{ background:#6C74CD; } /* 濯掍綋鏂伴椈 */ .media{ background: #F1F5F9; } .media .container .title{ border-bottom: 2px solid #E3E3EF; position: relative; margin-bottom: 30px; } .media .container .title h2{ font-size: 32px; font-weight: 600; color: rgba(51,51,51,1); letter-spacing: 1px; display: inline-block; vertical-align: middle; margin-right: 10px; } h2 i { font-size: 16px; color: rgba(103,112,148,0.3); letter-spacing: -1px; display: inline-block; vertical-align: middle; font-style: normal; margin-left: 20px; font-weight: normal; text-transform: uppercase; } .more-text{ position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size:16px; font-weight: 600; color:rgba(51,51,51,1); letter-spacing:2px; } .media-list .item{ margin-bottom: 20px; overflow: hidden; height: 470px; } .media-list .img{ width: 100%; height: 250px; margin-bottom: 10px; } .media-list-title{ font-size: 18px; font-weight: bold; color: #333333; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .media-list-time{ font-size: 14px; color: #888888; margin-bottom: 30px; } .media-list-intro{ font-size: 14px; color: #555555; letter-spacing:2px; overflow:hidden; text-overflow:ellipsis; display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:3; } .media-list-bot{ /* margin-top: 50px;*/ } .media-list-bot span{ color: #333333; vertical-align: middle; } .media-list-bot img{ width: 50px; height: 50px; vertical-align: middle; } .artlist{ margin:20px 15px; } .artlist .row{ padding:20px 0; } .artlist h4{ font-size:22px; font-weight:700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .artlist .bg-img{ height:180px; } .artlist .bg-img a{ display: block; height:100%; } .artlist .info{ padding-left:30px; } .artlist .time{ color:#999; margin-bottom:15px; } footer{ margin:0; } input.se{ width:100%; border:1px solid #f2f2f2; padding:6px 10px 6px 40px; height:42px; line-height:42px; background:url('../../images/web/icon_search.png') 0 0 / contain no-repeat; } input.se:focus{ box-shadow: 0 0 6px rgba(0,0,0,0.08); } .pro{ margin-top:20px; } .pro h3{ text-align:center; font-size:18px; font-weight:700; } .pro .item{ margin: 10px auto; padding:8px 0; } .pro .thumb{ width:100%; height:140px; border:10px; } .pro h4{ text-align:center; } .pro .item:hover{ box-shadow: 0 0 6px rgba(0,0,0,0.08); } /* PAD */ @media screen and (min-width:768px) and (max-width:1199px) { .banner h1{ font-size:48px; } .media .container .title h2{ font-size: 28px; } h2 i{ font-size: 14px; } .more-text{ font-size: 14px; } .media-list .img{ height: 180px; } .media-list-title{ font-size: 22px; } .media-list-time{ font-size: 14px; margin-bottom: 20px; } .media-list-intro{ font-size: 14px; line-height: 24px; } .media-list-bot span{ font-size: 16px; } } /* 鎵嬫満 */ @media screen and (max-width:767px) { .banner h1{ font-size:32px; } .media .container .title{ margin-bottom: 15px; } .media .container .title h2{ font-size: 18px; } h2 i{ font-size: 12px; margin-left: 10px; } .more-text{ font-size: 14px; } .media-list .item{ height: 340px; } .media-list .img{ height: 180px; } .media-list-title{ font-size: 16px; } .media-list-time{ font-size: 12px; margin-bottom: 10px; } .media-list-intro{ font-size: 14px; line-height: 20px; } .media-list-bot{ margin-top: 30px; } .media-list-bot span{ font-size: 14px; } .media-list-bot img{ width: 40px; height: 40px; } .media-list .pic{ height:200px; } h2{ font-size:24px; } /* 鍏徃鏂伴椈 */ .news .image{ width:100%; height:200px; } .news .row h4{ font-size:18px; width:100%; } .news .row .desc{ width:100%; margin-top:5px; font-size:14px; } .main .sider{ float:none; width:100%; } .main .lists{ margin:30px auto 0 auto; } .main .sider.lock{ top:64px; left:0; right:0; } .main .sider li{ padding: 10px 0; display:inline-block; border:0; width:31%; } .artlist .info{ padding:0; } .artlist .bg-img{ height:240px; } .pro .item{ padding: 10px 0; display:inline-block; border:0; width:32%; } .pro .item h4{ height:24px; overflow:hidden; } }