| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387 |
- body{
- color: #000;
- background-color: #EFD79C;
- }
- a{
- color: #000;
- }
- a:hover{
- color: #ff1111;
- }
- .header-img{
- position: relative;
- }
- /* 导航 */
- .header-nav{
- background: url(../images/bg/bg-nav-tw.jpg) repeat-x center;
- }
- .header-nav ul{
- height: 44px;
- line-height: 44px;
- background-color: transparent;
- }
- .nav-secondLevel{
- top: 44px;
- }
- .header-nav li:last-child{
- background: none;
- }
- .header-nav li:hover a {
- background-color: rgba(199,30,37,.8);
- }
- .nav-secondLevel li:hover a {
- background-color: rgba(199,30,37,1);
- }
- .header-nav .nav-secondLevel li a{
- border-color: #C90303;
- }
- .header-nav li a{
- position: relative;
- height: 44px;
- line-height: 44px;
- }
- /* banner */
- .banner img{
- display: block;
- width: 100%;
- }
- /* 主体 */
- .content{
- background-color: #FFEFBC;
- }
- .content-row{
- display: flex;
- justify-content: space-between;
- flex-wrap: wrap;
- width: 1024px;
- margin: 20px auto 0;
- }
- .content-item{
- width: 48%;
- box-sizing: border-box;
- margin-bottom: 15px;
- }
- .content-item img{
- width: 100%;
- }
- .content-item-swiper{
- width: 100%;
- }
- .content-item h2{
- height: 38px;
- line-height: 38px;
- font-size: 18px;
- overflow: hidden;
- padding: 0 15px;
- margin-bottom: 15px;
- border-bottom: 2px solid #bb4c39;
- }
- .content-item h2 a{
- font-weight: normal;
- float: right;
- font-size: 14px;
- }
- .content-item h2 a:hover{
- color: #FF0000;
- }
- .content-item h2 a:hover .triangle{
- border-left-color: #FF0000;
- }
- .content-item h2 .triangle{
- display: inline-block;
- width: 0;
- height: 0;
- border: 7px solid transparent;
- border-left-color: #fff;
- vertical-align: middle;
- margin: -2px 0 0 2px;
- }
- .content-wrap ul li{
- height: 38px;
- line-height: 38px;
- margin: 0 10px;
- }
- .content-wrap li p{
- width: calc(100% - 80px);
- overflow: hidden;
- text-overflow: ellipsis;
- white-space: nowrap;
- float: left;
- }
- .content-wrap .list-time {
- float: right;
- color: #666;
- }
- .content-wrap a:hover .list-time {
- color: #ff1111;
- }
- .content-tow-lines {
- flex-grow: 2;
- }
- .content-tow-lines ul{
- display: flex;
- justify-content: space-between;
- flex-wrap: wrap;
-
- }
- .content-tow-lines li{
- width: 48%;
- overflow: hidden;
- }
- .content-item-swiper ul{
- margin-left: 50%;
- margin-top: 5px;
- }
- /* 轮播 */
- .content-item-swiper .swiper-container{
- width: 49%;
- float: left;
- margin-top: 5px;
- }
- .swiper-pagination-bullet{
- width: 12px;
- height: 12px;
- }
- .swiper-pagination-bullet-active {
- color:#fff;
- background: #ff3300;
- }
- .swiper-container-horizontal>.swiper-pagination-bullets{
- text-align: right;
- left: -8px;
- }
- .swiper-slide{
- position: relative;
- }
- .swiper-slide img{
- display: block;
- width: 100%;
- }
- .swiper-slide .swiper-title{
- position: absolute;
- left: 0;
- bottom: 0;
- height: 38px;
- line-height: 38px;
- background-color: rgba(0,0,0,.6);
- color: #fff;
- padding: 0 125px 0 10px;
- box-sizing: border-box;
- width: 100%;
- overflow: hidden;
- text-overflow: ellipsis;
- white-space: nowrap;
- }
- /* 列表页 */
- .content-list-wrap{
- border: 1px solid #EF0000;
- margin-top: 10px;
- }
- .crumbs{
- background-color: #EF0000;
- color: #fff;
- }
- .crumbs a{
- color: #fff;
- }
- .list-wrap .list-time{
- color: #666;
- }
- /* 底部 */
- .footer{
- background-color: #FFEFBC;
- border-bottom: 10px solid #a40001;
- }
- .footer-mesg{
- background-color: transparent;
- color: #bb4c39;
- }
- .footer-mesg a{
- color: #000;
- }
- .footer-nav{
- background: #eb0000 url(../images/banner/footer-tw-left.jpg) no-repeat 170px center;
- padding: 30px 0;
- }
- .footer-nav-wrap{
- background: url(../images/banner/footer-tw-right.jpg) no-repeat 940px center;
- }
- .footer-nav ul{
- width: 600px;
- margin: 0 auto;
- display: flex;
- flex-wrap: wrap;
- }
- .footer-nav ul li{
- width: 200px;
- line-height: 32px;
- text-align: center;
- }
- .footer-nav ul li a{
- font-weight: bold;
- color: #fff;
- }
- .footer-nav ul li a:hover{
- color: #ff0;
- }
- /* 响应式 */
- @media screen and (max-width: 1024px) {
- .header-img img{
- width: 100%;
- }
- .banner.wrap{
- width: 100%;
- }
- .content-row{
- width: 98%;
- }
- .footer-nav{
- background-position-x: left;
- }
- .footer-nav-wrap{
- background-position-x: right;
- }
- }
- @media screen and (max-width: 980px) {
- .header-nav{
- background-repeat: repeat;
- background-position: left top;
- }
- .header-nav ul{
- height: auto;
- }
- /* flex布局,item元素补全 */
- .header-nav ul::after{
- content: "";
- width: 50%;
- }
- .content-item{
- width: 100% !important;
- }
- .content-item-img{
- width: 49% !important;
- }
- }
- @media screen and (max-width: 768px) {
- .content-item{
- width: 100%;
- }
- .content-tow-lines li{
- width: 100%;
- }
- /* 轮播 */
- .content-item-swiper .swiper-container{
- width: 100%;
- float: inherit;
- }
- .content-item-swiper ul{
- margin-left: 0;
- }
- .footer-nav{
- background-image: none;
- }
- .footer-nav ul{
- margin: 0;
- }
- }
- @media screen and (max-width: 640px) {
- .header-top{
- display: none;
- }
- .header-img{
- width: 100%;
- }
- .header-img img{
- width: auto;
- }
- .content-wrap li p{
- width: calc(100% - 100px);
- }
- .header-right{
- display: none;
- }
- .footer-nav ul{
- width: calc(100% - 120px);
- }
- .footer-nav ul li{
- width: 50%;
- }
- }
|