/**/ [class*='col-md']{ /*border:solid 1px pink;*/ /*padding: 0px;*/ } /*3、正文(左右两侧)-------------------------------------------------------*/ .film-news{ width: 100%;height: auto; margin-top: 60px; } /*左侧-----------------------------*/ .film-left{ height: auto; padding: 0 2rem; padding-top: 2rem; } .film-left-head{ width: 100%;height: auto; } .film-left-head h1{ float: left; position: relative; top: -1.2rem;margin: 0; font-size: 5.5rem; padding-right: 8px; background: #fff; margin-bottom: 8px; } .film-left-head h1 span{ position: absolute; top: 2rem;left: 2.5rem; font-size: 2.1rem; padding: 5px; background: #fff; } .film-left-head>p{ border-bottom: 1px solid #333; } .film-left-head .class-txt{ float: right; margin-top: 2rem; font-size: 1.6rem; } .film-left-head .class-txt>a{ margin: 0 1rem; } .film-left-head .class-txt>a:link,.film-left-head .class-txt>a:visited{ color: #666;text-decoration: none; } .film-left-head .class-txt>a:hover{ color: #333; } @media only screen and (max-width: 500px) { .film-left-head h1{ float: left; position: relative; top: -1.2rem;margin: 0; font-size: 2.5rem; padding-right: 3px; background: #fff; margin-bottom: 3px; } .film-left-head h1 span{ position: absolute; top: 1.5rem;left: .8rem; font-size: 1.2rem; padding: 5px; background: #fff; } .film-left-head>p{ border-bottom: 1px solid #333; } .film-left-head .class-txt{ float: right; margin-top: 2rem; font-size: 1.1rem; } .film-left-head .class-txt>a{ margin: 0 0; } } /*左侧正文内容------------------------------------*/ .film-left-main{ float: left; width: 100%; height: auto; margin-top: 4rem; } .main-li{ margin-bottom: 2rem; } .main-li:hover .img{ -webkit-transform: scale(1.1); -moz-transform: scale(1.1); } .film-content{ height: auto; padding-left: 1rem; } .film-content h3 { font-size: 1.8rem; font-weight: 600; margin-bottom: .5em; margin-top: .8rem; height: auto; max-height: 5rem; /*line-height: 1.4;*/ overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .film-content .li-text-txt { font-size: 1.4rem; margin-bottom: .5em; height: auto; /*max-height: 6.3rem;*/ /*line-height: 1.8;*/ overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .film-content h3>a:link,.film-content h3>a:visited{ color: #666; text-decoration: none; } .film-content h3>a:hover{ color: #366df0; } .film-content .li-text-txt>a{ color: #999; text-decoration: none; } .film-content .li-text-tag{ line-height: 1.2rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .li-text-tag .tag1{ float: left; display: inline-block; width: 17px; height: 1.5rem; /*margin-right: 0.4rem;*/ background: url(../img/news/star_icon.png) no-repeat 0 -135px; /*top: 4px;*/ } .li-text-tag .tag2{ line-height: 1.5rem; margin-left: 1.8rem; } .li-text-tag .tag2 a{ display: inline-block; font-size: 1rem; padding: 0px 5px; margin-bottom: 0.5rem; border: 1px solid #c1c1c1; border-radius: 3px; } .li-text-tag .tag2 a:link,.li-text-tag .tag2 a:visited{ color: #666;text-decoration: none; } .li-text-tag .tag2 a:hover{ color: #366df0; } .author{ height: auto; max-height: 18px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .author span{ display: block;float: left; font-size: 1.2rem; height: 1.5rem; color: #999; padding-left: 1.8rem; background: url(../img/news/articon.png) no-repeat scroll 0 -296px; } .author em{ display: block;float: left; font-size: 1.2rem; height: 1.5rem; color: #999; padding-left: 2rem; background: url(../img/news/articon.png) no-repeat scroll 5px -329px; } /*右侧-----------------------------*/ .film-right{ height: auto; padding-left: 1.5rem; padding-right: 2rem; padding-top: 2rem; } .hostlist{ height: auto; margin-bottom: 3rem; } .hostlist .hostlogo{ float: left; width: 100%; text-align: right; } .host-li{ margin-top: 1.5rem; } .host-li>.p1{ padding: 0 1rem; } .host-li:hover .img{ border: 1px solid #31B0D5; } .host-li .film-content h4 { cursor: pointer; font-size: 1.6rem; /*font-weight: 600;*/ margin: 0; padding: 1rem 0 ; height: auto; /*max-height: 5rem;*/ /*line-height: 1.4;*/ overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .host-li .film-content h4>a{ display: block; width: 100%; text-overflow: ellipsis; white-space: nowrap; overflow: hidden; } .film-content h4>a:link,.film-content h4>a:visited{ color: #333; text-decoration: none; } .film-content h4>a:hover{ color: #366df0; } /*右三-----------------------------*/ .hosttxt-li{ padding: .5rem 0; border-bottom: 1px dotted #c1c1c1; } .txt-div{ overflow: hidden; white-space: nowrap; text-overflow: ellipsis; } .txt-div>b{ font-size: 2rem; font-weight: 900; margin-right: .5rem; } .txt-div>i{ font-size: 1.8rem; margin-right: 1rem; } .txt-div>.title{ font-size: 1.5rem; color: #666; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; } .txt-div-hover{ padding: 1rem 0; display: none; } .txt-div-hover .film-content h3{ font-size: 1.6rem; } .txt-div-hover .film-content .li-text-txt{ font-size: 1.3rem; } .num{ position: relative; } .num>em{ position: absolute; top: 0;color: #FFFEFE; padding: .2rem .5rem; background: #31708F; } .tagword{ color: #666; font-size: 1rem; } @media only screen and (min-width: 992px) and (max-width: 1200px) { .film-content h3{ font-size: 1.6rem; } .host-li .film-content h4{ font-size: 1.3rem; } .txt-div>.title{ font-size: 1.3rem; } .txt-div-hover .film-content h3{ font-size: 1.5rem; } .txt-div-hover .film-content .li-text-txt{ font-size: 1.2rem; } } @media only screen and (max-width: 992px) { .film-content h3{ font-size: 1.6rem; } .host-li .film-content h4{ font-size: 1.3rem; } .txt-div>.title{ font-size: 1.3rem; } .txt-div-hover .film-content h3{ font-size: 1.4rem; } .txt-div-hover .film-content .li-text-txt{ font-size: 1.1rem; } }