| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267 |
- body{
- color: #675303;
- background-color: #F1EEC2;
- }
- a{
- color: #675303;
- }
- a:hover{
- color: #FF1111;
- }
- /* 导航 */
- .header-nav{
- height: 50px;
- background: url(../images/bg/bg-header.jpg) repeat-x center bottom;
- }
- .header-nav ul{
- background-color: #c71e25;
- }
- .nav-secondLevel{
- top: 40px;
- }
- /* 中间部分 */
- .content{
- background-color: #f7f5dc;
- padding-top: 10px;
- }
- .content-row{
- overflow: hidden;
- padding-bottom: 20px;
- }
- .content-item{
- box-sizing: border-box;
- background: url(../images/bg/bg-top.png) no-repeat left top;
- width: 30.33%;
- float: left;
- margin: 10px 0 0 2.3%;
- }
- .content-wrap{
- background: url(../images/bg/bg-bottom.png) no-repeat right bottom;
- width: 100%;
- height: 364px;
- min-height: 364px;
- padding: 25px;
- }
- .content-wrap h2{
- font-size: 16px;
- margin: 2px 0 10px 10px;
- }
- .content-wrap h2 a{
- font-size: 14px;
- font-weight: normal;
- float: right;
- }
- .content-wrap li{
- height: 36px;
- line-height: 36px;
- border-bottom: 1px dashed #ccc;
- }
- .content-wrap li p{
- overflow: hidden;
- text-overflow:ellipsis;
- white-space: nowrap;
- width: calc(100% - 100px);
- float: left;
- }
- .content-wrap li:hover a{
- color: #FF1111;
- }
- .content-wrap .list-time{
- float: right;
- }
- /* 友情链接 */
- .footer-link{
- border-top: 1px solid #D3A005;
- background-color: #f7f5dc;
- padding: 12px 20px;
- }
- .footer-link ul{
- display: inline-block;
- }
- .footer-link ul li{
- display: inline-block;
- border-right: 1px solid #675303;
- padding-right: 8px;
- margin-right: 4px;
- }
- .footer-link ul li:last-child{
- border-right: none;
- }
- .footer-link ul li:hover a{
- color: #FF1111;
- }
- /* 底部 */
- .footer-mesg{
- background-color: #ae8f32;
- }
- /* 轮播 */
- .swiper-container {
- width: 315px;
- height: 315px;
- }
- .swiper-slide {
- width: 315px;
- height: 315px;
- }
- .swiper-slide a{
- display: block;
- width: 100%;
- height: 100%;
- background-position: center;
- background-size: cover;
- }
- .swiper-pagination-bullet{
- width: 10px;
- height: 10px;
- background-color: #fff;
- opacity: 1;
- }
- .swiper-pagination-bullet-active{
- background-color: #c71e25;
- }
- .swiper-button-next,
- .swiper-button-prev{
- background-color: rgba(0, 0, 0, .3);
- opacity: 0;
- }
- .swiper-title{
- box-sizing: border-box;
- width: 100%;
- padding: 0 10px;
- overflow: hidden;
- text-overflow: ellipsis;
- white-space: nowrap;
- background-color: #ae8f32;
- color: #fff;
- line-height: 26px;
- text-align: center;
- }
- /* 列表页 */
- .content-list-wrap{
- border: 1px solid #DBD162;
- }
- /* 面包屑 */
- .crumbs{
- background-color: #E9E39E;
- }
- /* 响应式 */
- .mobile-nav-icon{
- top: calc(50% - 5px);
- }
- @media screen and (max-width: 1200px) {
- .swiper-container,.swiper-slide{
- width: 100%;
- height: 100%;
- }
- }
- @media screen and (max-width: 980px) {
- .header-img{
- padding-bottom: 10px;
- background: url(../images/bg/bg-header.jpg) repeat-x center bottom;
- }
- /* 导航 */
- .header-nav{
- top: -10px;
- height: auto;
- }
- .header-nav ul{
- padding-bottom: 30px;
- background: #c71e25 url(../images/bg/bg-header.jpg) repeat-x center bottom;
- }
- /* 主体 */
- .content{
- padding-bottom: 20px;
- }
- .content:after{
- content:".";
- display:block;
- height:0;
- clear:both;
- visibility:hidden;
- }
- .content-item{
- width: 47%;
- }
- .content-row{
- overflow: inherit;
- }
- }
- @media screen and (max-width: 768px) {
- .wrap{
- width: 98%;
- }
- }
- @media screen and (max-width: 640px) {
- .header{
- width: 100%;
- }
- .header-img{
- height: 80px;
- }
- .mobile-nav-icon{
- right: 18px;
- }
- .content{
- margin-top: 80px;
- }
- .content-item{
- width: 94%;
- margin-left: 3%;
- margin-right: 3%;
- }
- .footer-link ul li{
- margin-top: 10px;
- }
- }
|