| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246 |
- .mobile-nav-icon{
- width: 25px;
- position: absolute;
- top: calc(50% + 3px);
- right: 30px;
- transform: translateY(-50%);
- cursor: pointer;
- display: none;
- }
- .mobile-nav-icon span{
- display: block;
- width: 100%;
- height: 3px;
- background-color: #fff;
- margin-bottom: 6px;
- transition: all .1s;
- }
- .nav-icon-active span{
- transform:rotate(-45deg);
- }
- .nav-icon-active span:first-child{
- transform:rotate(45deg) translate(6px,6px);
- }
- .nav-icon-active span:last-child{
- display: none;
- }
- /* 导航 */
- .mobile-header-nav{
- font-weight: bold;
- overflow-y: auto;
- position: absolute;
- top: 0;
- right: -100%;
- width: 100%;
- text-align: right;
- opacity: 0;
- z-index: 10000000;
- display: none;
- }
- .mobile-header-nav>ul{
- width: 50%;
- height: 100%;
- background-color: #C90303;
- float: right;
- }
- .mobile-header-nav>ul>li{
- background-color: #C90303;
- }
- .mobile-header-nav li{
- position: relative;
- }
- .mobile-header-nav span{
- margin-left: 10px;
- float: left;
- transform: rotate(180deg);
- }
- .mobile-header-nav .nav-secondLevel{
- width: 100%;
- position: absolute;
- top: 0;
- left: -95%;
- text-align: center;
- display: none;
- }
- .mobile-header-nav .nav-threeLevel{
- width: 100%;
- position: relative;
- top: 0;
- left: 0;
- display: none;
- }
- .mobile-header-nav>ul>li:hover .nav-secondLevel,
- .mobile-header-nav li:hover .nav-threeLevel{
- display: none;
- }
- .mobile-header-nav .nav-secondLevel{
- background-color: #ff1111;
- }
- .mobile-header-nav .nav-threeLevel{
- background-color: #f55555;
- }
- .mobile-header-nav li a{
- display: block;
- height: 50px;
- line-height: 50px;
- color: #fff;
- padding: 0 20px;
- border-bottom: 1px solid #D20000;
- }
- .mobile-header-nav .nav-threeLevel li{
- width: 100%;
- }
- .mobile-header-nav .nav-threeLevel li a{
- border: none;
- padding: 0;
- }
- @media screen and (max-width: 1200px) {
- .wrap{
- width: 98%;
- }
- }
- @media screen and (max-width: 1024px) {}
- @media screen and (max-width: 980px) {
- .header{
- position: relative;
- }
-
- .mobile-nav-icon,.mobile-header-nav{
- display: block;
- }
- .header-img{
- position: relative;
- }
- /* 导航 */
- .header-nav{
- display: none;
- }
- }
- @media screen and (max-width: 768px) {
- .wrap{
- width: 95%;
- }
- /* 两列列表页 */
- .content-part{
- flex-wrap: wrap;
- }
- .content-left{
- width: 100%;
- margin-right: 0;
- }
- .content-left-list{
- display: flex;
- flex-wrap: wrap;
- }
- .content-left-list li{
- width: 50%;
- }
- .list-pic .content-img-list li{
- width: 50%;
- }
- }
- @media screen and (max-width: 640px) {
- .header {
- position: fixed;
- top: 0;
- left: 0;
- z-index: 1000;
- width: 100%;
- }
- .header-img{
- height: 70px;
- overflow: hidden;
- }
- .header-img img{
- width: auto;
- height: 100%;
- }
- .mobile-nav-icon{
- /* right: 18px; */
- }
- .content{
- margin-top: 80px !important;
- }
- .footer-mesg span{
- display: block;
- }
- /* 列表页 */
- .crumbs{
- padding: 0 20px;
- }
- .list-wrap li{
- padding: 0 20px;
- }
- .list-wrap .list-title{
- width: calc(100% - 100px);
- overflow: auto;
- }
- .content-img-list{
- flex-wrap: wrap;
- }
- .content-img-list li {
- width: 100% !important;
- }
- .list-pic .content-img-list li a{
- margin: 0;
- }
- /* 正文 */
- .article-main{
- margin-top: 28px;
- }
- .article-title{
- margin: 20px 0;
- }
- .article-mesg{
- line-height: 26px;
- }
- }
- @media screen and (max-width: 375px) {}
- @media screen and (max-width: 360px) {}
|