| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509 |
- body {
- color: #000;
- }
- a {
- color: #000;
- }
- a:hover {
- color: #940f19;
- }
- .header {
- background-color: #940f19;
- /* background: #940f19 url("/main/dist/websites/images/jy/header_bg.png"); */
- background-size: cover;
- background-position: center;
- }
- .mobile-nav-icon {
- top: 50%;
- }
- .header-top-bg {
- width: 100%;
- height: 14px;
- }
- .header-top .header-top-left {
- /* width: 100%; */
- padding: 0 30px;
- float: left;
- }
- .header-top .header-top-right {
- /* width: 100%; */
- padding: 0 30px;
- float: right;
- }
- .header-top-left span:last-child,
- .header-top-right span:last-child {
- border: none;
- /* float: right; */
- }
- /* .header-top .header-top-left span:nth-last-of-type(1),
- .header-top .header-top-left span:nth-last-of-type(2),
- .header-top .header-top-left span:nth-last-of-type(3) {
- float: right;
- } */
- /* .header-top .header-top-left span:nth-last-of-type(3),.header-top .header-top-left span:nth-last-of-type(4){
-
- border: none;
- } */
- .header-top div span {
- padding: 0 10px;
- color: white;
- border-right: 1px solid #fff;
- }
- .header-top div span:first-child {
- padding-left: 0;
- }
- .header-top div span a {
- color: white;
- }
- .header-img {
- clear: both;
- display: flex;
- justify-content: center;
- align-items: center;
- margin-bottom: 10px;
- }
- .header-img .header-img-line {
- width: 1px;
- height: 50px;
- margin: 10px;
- background-color: white;
- }
- .header-img img {
- display: inline-block;
- width: auto;
- height: 70px;
- }
- /* 导航 */
- .header-nav {
- background-color: transparent;
- display: flex;
- justify-content: center;
- }
- .header-nav > ul {
- height: 40px;
- line-height: 40px;
- background-color: transparent;
- display: inline-block;
- }
- .header-nav > ul > li {
- width: 100px;
- float: left;
- display: flex;
- align-items: center;
- height: 40px;
- justify-content: center;
- }
- .header-nav > ul > li a {
- font-size: 16px;
- }
- .nav-secondLevel {
- top: 40px;
- }
- .header-nav li:last-child {
- background: none;
- }
- .header-nav li:hover a {
- background-color: transparent;
- }
- .header-nav .nav-secondLevel {
- background-color: #b24f4d;
- }
- .header-nav .nav-secondLevel li a {
- border-color: #ae1420;
- background-color: #b24f4d;
- }
- .header-nav .nav-secondLevel li a:hover {
- background-color: #ae1420;
- }
- .header-nav .nav-threeLevel li a:hover {
- background-color: #ae1420;
- }
- .header-nav li a {
- position: relative;
- font-weight: normal;
- }
- .header-nav a i {
- width: 0;
- height: 0;
- border: 6px solid transparent;
- border-bottom-color: #fff;
- position: absolute;
- bottom: 0;
- left: 50%;
- transform: translateX(-50%);
- opacity: 0;
- }
- .header-nav li:hover a i {
- opacity: 1;
- }
- .title {
- width: 100%;
- margin: 1rem 0;
- justify-content: space-between;
- display: flex;
- align-items: center;
- }
- .title a,
- .time,
- .part1-content>div>a {
- color: #b4b4b4;
- }
- .calendar1,.calendar2 ,.calendar2 a{
- width: 100%;
- display: flex;
- align-items: center;
- }
- .calendar1 div,.calendar2 div {
- display: flex;
- align-items: center;
- justify-content: center;
- flex-direction: column;
- width: 4rem;
- height: 4rem;
- text-align: center;
- font-weight: bold;
- color: #fff;
- background-color: #940f19;
- }
- .calendar1 div span,.calendar2 div span {
- font-size: 1.2rem;
- }
- .calendar1 p,.calendar2 p {
- padding-left: 0.5rem;
- font-size: 1rem;
- line-height: 1.3rem;
- display: -webkit-box;
- -webkit-box-orient: vertical;
- -webkit-line-clamp: 2;
- overflow: hidden;
- }
- .calendar2 div {
- color: #940f19;
- background-color: #f6dee0;
- }
- .banner .swiper-container {
- max-height: 730px;
-
- }
- .banner .swiper-container img{
- width: 100%;
- height: 100%;
- object-fit: cover;
- }
- .banner .swiper-pagination {
- width: 100%;
- background: rgba(0, 0, 0, 0.4);
- position: absolute;
- bottom: 0;
- }
- .banner .swiper-pagination-bullet {
- text-align: center;
- width: 2rem;
- height: 3rem;
- line-height: 3rem;
- background-color: transparent;
- color: #fff;
- border-radius: 0;
- margin: 0 !important;
- }
- .banner .swiper-pagination-bullet-active {
- background-color: #940f19;
- }
- .wrap {
- width: 70%;
- margin: 0 auto;
- text-align: left;
- }
- .part1 .title{
- margin: 2rem 0;
- }
- .part1-content,.part3-content{
- display: grid;
- gap: 1rem;
- grid-template-columns: repeat(3,32.5%);
- }
- .part1-content img{
- width: 100%;
- margin: 0.5rem 0;
- }
- .part1-content>div>p{
- font-size: 1rem;
- line-height: 1.5rem;
- margin-bottom: 1rem;
- display: -webkit-box;
- -webkit-box-orient: vertical;
- -webkit-line-clamp: 2;
- overflow: hidden;
- }
- .part1-content>div>a{
- width: 100%;
- text-align: right;
- display: block;
- }
- .part1-content li,.part3-content li{
- line-height: 2.1rem;
- }
- .part1-content li a,.part3-content li a{
- display: flex;
- font-size: 1rem;
- justify-content: space-between;
- }
- .part1-content li p,.part3-content li p{
- position: relative;
- width: calc(100% - 3.5rem);
- padding-left: 0.5rem;
- display: -webkit-box;
- -webkit-box-orient: vertical;
- -webkit-line-clamp: 1;
- overflow: hidden;
- }
- .part1-content li p::before{
- position: absolute;
- top: 50%;
- transform: translateY(-50%);
- left: 0;
- content: " ";
- width: 0.5rem;
- height: 0.5rem;
- background: #bbb;
- border-radius: 50%;
- display: block;
- }
- .part1-content-list{
- height: 430px;
- overflow: hidden;
- }
- .part2{
- width: 100%;
- margin: 2rem 0;
- }
- .part2-content{
- width: 100%;
- display: flex;
- }
- .part2-content>div{
- flex: 1;
- height: 22.5rem;
- position: relative;
- }
- .part2-content>div:last-child div{
- height: 50%;
- position: relative;
- }
- .part2-content p{
- width: 100%;
- padding: 0 5%;
- position: absolute;
- bottom:5%;
- color: #fff;
- font-size: 1rem;
- line-height: 2rem;
- display: -webkit-box;
- -webkit-box-orient: vertical;
- -webkit-line-clamp: 2;
- overflow: hidden;
- }
- .part2-content img{
- width: 100%;
- height: 100%;
- object-fit: cover;
- }
- .part3-content{
- margin-bottom: 2rem;
- }
- .part3-content .calendar2{
- padding: 1.4rem 0;
- border-bottom: 1px solid #eeeeee;
- }
- .part3-content li p{
- width: calc(100% - 3rem);
- padding-left: 0;
- }
- .crumbs {
- background-color: #940f19;
- color: #fff;
- }
- .crumbs a {
- color: #fff;
- }
- /* 目录页 */
- .catalog-title {
- border-color: #940f19;
- }
- /* 底部 */
- .footer {
- padding-top: 5px;
- background-color: #940f19;
- }
- .footer-mesg {
- background-color: transparent;
- padding: 30px 0;
- width: 98%;
- margin: 0 auto;
- }
- .footer-mesg > div {
- width: 33%;
- padding-left: 50px;
- text-align: left;
- justify-content: space-between;
- flex-direction: column;
- border-right: 1px solid #fff;
- }
- .footer-link {
- background-color: #c1d6e3;
- line-height: 36px;
- }
- .footer-link ul {
- display: inline-block;
- }
- .footer-link ul li {
- display: inline-block;
- margin-right: 15px;
- }
- .mobile-nav-icon span {
- background-color: #fff;
- }
- .mobile-header-nav > ul {
- background-color: #940f19;
- overflow: unset !important;
- }
- .mobile-header-nav > ul > li {
- background-color: #940f19;
- }
- .mobile-header-nav li a {
- border-color: #940f19;
- }
- .mobile-header-nav .nav-secondLevel {
- background-color: #ae1420;
- }
- .mobile-header-nav .nav-threeLevel {
- background-color: #ae1420;
- }
- @media screen and (max-width: 1600px) {
- .part1-content-list{
- height: 380px;
- }
- }
- /* 响应式 */
- @media screen and (max-width: 1315px) {
- .banner .swiper-container{
- height: 700px;
- }
- .mobile-nav-icon,
- .mobile-header-nav {
- display: none;
- }
- .header-nav li {
- width: 80px;
- }
- .part1-content-list{
- height: 380px;
- }
- }
- @media screen and (max-width: 1080px) {
- .header {
- position: relative;
- }
- .banner .swiper-container{
- height: 500px;
- }
- .part1-content-list{
- height: 330px;
- }
- .mobile-nav-icon,
- .mobile-header-nav {
- display: block;
- }
- .header-nav {
- display: none;
- }
- .header-top-left,
- .header-top-right {
- display: none;
- }
-
- }
- @media screen and (max-width: 768px) {
- .banner .swiper-container{
- height: 300px;
- }
- .wrap{
- width: 90%;
- }
-
- .part1-content,.part3-content{
- display: grid;
- grid-template-columns:repeat(1,100%);
- grid-template-rows: repeat(3,1fr);
- }
- .part2-content {
- flex-direction: column;
- }
- }
- @media screen and (max-width: 640px) {
- .content{
- margin-top: 0 !important;
- }
- .header-img img {
- display: inline-block;
- width: auto;
- height: 65px;
- margin-right: 35px;
- }
- }
|