:root { --bs-primary-rgb: 48, 157, 62; } .header { height: 300px; background: url("../images/header-bg.jpg") center center no-repeat; background-size: cover; } .header-top { display: flex; justify-content: space-between; } .header-logo { /*width: 100%;*/ } .header .search { border: 1px solid #309e3f; /*width: 400px;*/ height: 48px; display: flex; } .header .search-input { border: none; height: 100%; /*width: 320px;*/ flex: 1; outline: none; } .header .search-button { width: 80px; height: 100%; border: none; background: #309e3f url("../images/search.png") center center no-repeat; } .header-navbar { border-bottom: 4px solid #309e3f; padding: 0; height: 68px; } .header-navbar .nav-link.active { color: #ffffff; } .header-navbar .container-fluid { padding: 0; height: 100%; } .header-navbar .navbar-collapse { height: 100%; } .mobile-navbar{ transition: all .5s; } .mobile-navbar-active{ background: #fff; } .swiper { height: 300px; margin-left: 0; } .box2 .title{ width: 140px; } .box3{ /*height: 320px;*/ height: 208px; /*background: #fff url("../images/bg1.jpg") no-repeat center center;*/ } .box4 .title{ border-bottom: 1px solid #72BB2C; } .box4 .title .img{ width: 18px; height: 18px; } .box4 li{ border-bottom: 1px dashed #dedede; } .box5 .title{ border-bottom: 1px solid #72BB2C; } .box5 .title .img{ width: 18px; height: 18px; } .box5 .member{ height: 320px; background: #eaf7e3 url("../images/bg2.png") center center no-repeat; background-size: contain; } .footer .search { height: 48px; display: flex; } .footer .search-input { border: none; height: 100%; flex: 1; outline: none; } .footer .search-button { width: 80px; height: 100%; border: none; background: #ff9c00 url("../images/arrow.png") center center/auto no-repeat; } .article .go{ width: 50px; height: 50px; background: url("../images/go.png") center center/auto no-repeat; } .article .item:hover .go{ background: url("../images/go-active.png") center center/auto no-repeat; } .cate-item{ background-color: #ffffff; color: #000000; transition: all .2s; } .cate-item:hover{ background-color: #ff9c00; color: #ffffff; } .cate-item-active{ background-color: #ff9c00; color: #ffffff; } .position a{ text-decoration: none; color: #000; } @media screen and (min-width: 1400px) { .container { max-width: 1440px; padding: 0; } } /*澶т簬576px*/ @media screen and (min-width: 576px) { .header { height: 500px; } .header-top{ /*margin-bottom: 266px;*/ margin-bottom: 10px; } .header-logo { width: 500px; } .swiper { height: 500px; } .navbar-nav { flex: 1; height: 100%; } .nav-item { display: flex; justify-content: center; flex: 1; background-color: #e1f7ea; } .nav-item .nav-link { color: #000000; } .nav-item .active { background-color: #309e3f; } .nav-link { display: flex; justify-content: center; align-items: center; height: 100%; flex: 1; } .nav-link:hover { background-color: #309e3f; color: #ffffff; } .nav-item-image{ display: none; } .nav-item-image-active{ display: none; } .nav-item:hover .dropdown-menu { display: block; } .nav-item:hover .nav-item-image { display: block!important;; } .nav-item:hover .nav-item-image-active { display: none!important; } .dropdown-menu[data-bs-popper] { margin-top: 0; background-color: #309e3f; padding: 0; border-radius: 0 0 10px 10px; overflow: hidden; } .dropdown-item { color: #ffffff; padding: 15px 5px; } .dropdown-item:hover { background-color: #72BB2C; color: #ffffff; } } #pages{ list-style: none; display: flex; justify-content: center; align-items: center; flex-wrap: wrap; padding: 0; margin: 0; padding-bottom: 3rem; } #pages > li { border-radius: 2px; background-color: #fff; color: #dfdfdf; border: 1px solid #dfdfdf; margin: 4px 4px; } #pages > li > a{ color: #309d3e; } #pages > li > a, #pages > li > span{ display: flex; justify-content: center; align-items: center; padding: 10px 20px; text-decoration: none; } #pages > li.active{ background-color: #72BB2C; color: #ffffff; }