| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809 |
- body {
- color: #000;
- }
- a {
- color: #000;
- }
- a:hover {
- color: #7a7a7a;
- }
- .header {
- /* background-color: ; */
- background: #7a7a7a url("/main/dist/websites/images/xueshengchu/header-bg.png");
- background-size: cover;
- background-position: center;
- }
- .gallery {
- display: flex;
- justify-content: space-around;
- align-items: center;
- }
- .thumbnail {
- width: 100px; /* 初始大小 */
- transition: transform 0.3s ease; /* 平滑过渡效果 */
- }
- .thumbnail:hover {
- transform: scale(1.5); /* 鼠标经过时放大到1.5倍 */
- }
- .content-list-wrap,
- .banner-list {
- margin-bottom: 20px;
- }
- .banner-list,
- .banner-list img {
- width: 100%;
- height: 150px;
- object-fit: cover;
- }
- .swiper-wrapper {
- height: auto;
- }
- .banner .slide-content {
- position: absolute;
- top: 0;
- left: 0;
- right: 0;
- bottom: 0;
- display: flex;
- justify-content: center;
- /* align-items: center;
- text-align: center; */
- flex-direction: column;
- color: #fff; /* 文本颜色 */
- /* opacity: 0; */
- z-index: 1111;
- padding-left: 5%;
- /* background-color: rgba(132, 132, 132, 0.8); */
- /* transition: opacity 0.3s ease; */
- }
- .banner .slide-content h2 {
- font-size: 30px;
- line-height: 40px;
- }
- .banner .slide-content div {
- width: 3%;
- height: 10px;
- background-color: #ff1212;
- margin: 20px 0;
- }
- .banner .slide-content p {
- width: 30%;
- font-size: 18px;
- line-height: 30px;
- /* text-indent: 16px; */
- }
- .banner .swiper-slide:hover .slide-content {
- opacity: 1; /* 鼠标移入时显示内容 */
- }
- .mobile-nav-icon {
- top: calc(50% + -18px);
- }
- .header-top-bg {
- width: 100%;
- height: 14px;
- /* background-image: url('/main/dist/websites/images/gjjl/header-bg.png'); */
- }
- .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;
- }
- .header-img .header-img-line {
- width: 1px;
- height: 50px;
- margin: 10px;
- background-color: white;
- }
- .header-img img {
- display: inline-block;
- width: auto;
- height: 100px;
- }
- .swiper-pagination-bullet {
- width: 8%;
- height: 5px;
- border-radius: 3px;
- }
- .swiper-pagination-bullet-active {
- background-color: #7a7a7a;
- }
- /* 导航 */
- .header-nav {
- background-color: transparent;
- display: flex;
- justify-content: center;
- }
- /* .wrap{
- width: 100%;
- } */
- .header-nav > ul {
- /* width: 100%; */
- 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 {
- /* line-height: 50px; */
- 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: #7a7a7a;
- }
- .header-nav .nav-secondLevel li a {
- border-color: #958c8c;
- background-color: #7a7a7a;
- }
- .header-nav .nav-secondLevel li a:hover {
- background-color: #958c8c;
- }
- .header-nav .nav-threeLevel li a:hover {
- background-color: #958c8c;
- }
- .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;
- }
- /* 主体 */
- .swiper-slide img {
- display: block;
- width: 100%;
- }
- .swiper-pagination{
- height: 40px;
- background: rgb(171 172 172 / 50%);
- bottom: 0 !important;
- display: flex;
- align-items: center;
- justify-content: center;
- color: white;
- }
- .swiper-pagination span{
- flex: 1;
- border-right: #fff solid 1px;
- }
- .swiper-pagination span:last-child{
- border-right: none;
- }
- .wrap {
- width: 1600px;
- clear: both;
- display: flex;
- justify-content: center;
- margin: 0 auto;
- }
- .content-wrap h2 {
- margin-bottom: 20px;
- display: flex;
- justify-content: space-between;
- align-items: center;
- }
- .content-wrap h2 .left {
- color: #000;
- font-size: 20px;
- font-weight: bold;
- text-align: center;
- background-size: 30px 100%;
- display: flex;
- align-items: center;
- justify-content: space-between;
- }
- .content-wrap h2 .title-wrap {
- display: flex;
- flex-direction: column;
- align-items: flex-start;
- }
- .content-wrap h2 .title-line {
- width: 1px;
- height: 55px;
- background-color: #ababab;
- margin: 0 20px;
- }
- .content-wrap h2 .title-wrap img {
- width: 150px;
- margin-bottom: 10px;
- }
- .content-wrap h2 .title-wrap span {
- display: flex;
- align-items: center;
- }
- .content-wrap h2 .title-wrap span::before {
- content: "";
- width: 50px;
- margin-right: 10px;
- display: block;
- height: 1px;
- background-color: #ababab;
- }
- .content-wrap h2 a {
- font-size: 14px;
- font-weight: normal;
- color: #414141;
- }
- .content-wrap h2 a:hover {
- color: #b30000;
- }
- .content-wrap h2 .title-nav a {
- margin: 0 20px;
- font-size: 16px;
- cursor: pointer;
- }
- .content-wrap h2 .title-nav-selected {
- color: #b30000;
- }
- .content-item {
- width: 100%;
- box-sizing: border-box;
- }
- .xinwendongtai {
- padding: 40px 0;
- background-color: #efefef;
- }
- .xinwendongtai .main {
- display: flex;
- flex-wrap: wrap;
- margin-top: 20px;
- }
- .xinwendongtai .main .left {
- flex: 2;
- color: white;
- margin-right: 10px;
- box-sizing: border-box;
- position: relative;
- }
- .xinwendongtai .main .left .content {
- width: 45%;
- background-color: #ff1212;
- padding: 60px 20px;
- position: absolute;
- bottom: 0;
- left: 0;
- }
- .xinwendongtai .main .left img {
- width: 100%;
- height: auto;
- margin-bottom: 20px;
- }
- .xinwendongtai .main .left .date {
- font-size: 14px;
- }
- .xinwendongtai .main .left .headline {
- font-size: 18px;
- font-weight: bold;
- margin: 10px 0;
- line-height: 20px;
- display: -webkit-box;
- -webkit-box-orient: vertical;
- -webkit-line-clamp: 2;
- overflow: hidden;
- }
- .xinwendongtai .main .left .details {
- font-size: 14px;
- margin: 20px 0 30px;
- text-indent: 20px;
- line-height: 20px;
- display: -webkit-box;
- -webkit-box-orient: vertical;
- -webkit-line-clamp: 5;
- overflow: hidden;
- }
- .xinwendongtai .main .left .btn {
- background-color: white;
- color: black;
- padding: 10px 20px;
- text-decoration: none;
- border-radius: 40px;
- }
- .xinwendongtai .main .left .btn:hover {
- background-color: #b30000;
- color: #fff;
- }
- .xinwendongtai .main .right {
- flex: 2;
- display: flex;
- flex-wrap: wrap;
- gap: 10px;
- }
- .xinwendongtai .main .right .card {
- background-color: white;
- padding: 20px;
- height: 300px;
- flex: 1 1 calc(50% - 20px);
- box-sizing: border-box;
- display: flex;
- align-items: center;
- }
- .xinwendongtai .main .right .card img {
- width: 100%;
- height: auto;
- }
- .xinwendongtai .main .right .card .date {
- font-size: 14px;
- color: #b1b1b0;
- }
- .xinwendongtai .main .right .card .headline {
- font-size: 16px;
- font-weight: bold;
- margin: 20px 0;
- line-height: 20px;
- display: -webkit-box;
- -webkit-box-orient: vertical;
- -webkit-line-clamp: 2;
- overflow: hidden;
- }
- .xinwendongtai .main .right .card .details {
- color: #333333;
- text-indent: 20px;
- font-size: 14px;
- margin: 25px 0 40px;
- line-height: 20px;
- display: -webkit-box;
- -webkit-box-orient: vertical;
- -webkit-line-clamp: 5;
- overflow: hidden;
- }
- .xinwendongtai .main .right .card .btn {
- background-color: white;
- border: 1px solid #bbbbba;
- color: black;
- padding: 10px 20px;
- text-decoration: none;
- border-radius: 40px;
- }
- .xinwendongtai .main .right .card .btn:hover {
- background-color: #ff1212;
- border-color: #ff1212;
- color: #fff;
- }
- .xueshengzizhu {
- padding: 40px 0;
- }
- .xueshengzizhu .main {
- display: flex;
- flex-wrap: wrap;
- margin-top: 20px;
- }
- .xueshengzizhu .main .left {
- flex: 2;
- display: flex;
- flex-wrap: wrap;
- gap: 10px;
- }
- .xueshengzizhu .main .left .card {
- background-color: white;
- height: 300px;
- flex: 1 1 calc(50% - 20px);
- box-sizing: border-box;
- display: flex;
- align-items: center;
- position: relative;
- border-radius: 20px;
- overflow: hidden;
- }
- .xueshengzizhu .main .left .card img {
- width: 100%;
- height: 100%;
- object-fit: cover;
- }
- .xueshengzizhu .main .left .card a{
- color: #fff;
- }
- .xueshengzizhu .main .left .card .headline {
- width: 100%;
- font-size: 16px;
- line-height: 20px;
- display: -webkit-box;
- -webkit-box-orient: vertical;
- -webkit-line-clamp: 2;
- overflow: hidden;
- position: absolute;
- bottom: 20px;
- text-align: center;
- z-index: 1;
- }
- .xueshengzizhu .main .left .mark{
- width: 100%;
- height: 50%;
- background: linear-gradient(to top, rgba(255, 18, 18, 1) 30%, transparent 80%);;
- position: absolute;
- bottom: 0;
- border-radius: 20px;
- display: none;
- }
- .xueshengzizhu .main .left .card:hover .mark {
- /* visibility:visible; */
- display: block;
- }
- .xueshengzizhu .main .right {
- margin-left: 10px;
- flex: 2;
- color: #ffffff;
- box-sizing: border-box;
- position: relative;
- border-radius: 20px;
- overflow: hidden;
- }
- .xueshengzizhu .main .right a{
- color: #fff;
- }
- .xueshengzizhu .main .right img {
- width: 100%;
- height: 100%;
- object-fit: cover;
- }
- .xueshengzizhu .main .right .headline {
- width: 100%;
- font-size: 16px;
- line-height: 20px;
- display: -webkit-box;
- -webkit-box-orient: vertical;
- -webkit-line-clamp: 2;
- overflow: hidden;
- position: absolute;
- bottom: 20px;
- text-align: center;
- z-index: 1;
- }
- .xueshengzizhu .main .right .mark{
- width: 100%;
- height: 50%;
- background: linear-gradient(to top, rgba(255, 18, 18, 1) 20%, transparent 80%);;
- position: absolute;
- bottom: 0;
- border-radius: 20px;
- visibility: hidden;
- }
- .xueshengzizhu .main .right:hover .mark {
- visibility:visible;
- }
- .footer {
- background-color: #333;
- color: white;
- /* padding: 20px 0; */
- text-align: center;
- margin-top: 40px;
- }
- /* 列表页 */
- .content-list-wrap {
- width: 95%;
- border: 1px solid #7a7a7a;
- margin: 20px auto;
- }
- .crumbs {
- background-color: #7a7a7a;
- color: #fff;
- }
- .crumbs a {
- color: #fff;
- }
- .article-wrap video{
- max-width: 100%;
- height: 100%;
- }
- /* 目录页 */
- .catalog-title {
- border-color: #7a7a7a;
- }
- /* 底部 */
- .footer {
- padding-top: 5px;
- background-color: #7a7a7a;
- }
- .footer-mesg {
- background-color: transparent;
- padding: 30px 0;
- width: 98%;
- margin: 0 auto;
- }
- .mobile-nav-icon span {
- background-color: #fff;
- }
- .mobile-header-nav > ul {
- background-color: #7a7a7a;
- }
- .mobile-header-nav > ul > li {
- background-color: #7a7a7a;
- }
- .mobile-header-nav li a {
- border-color: #47ade8;
- }
- .mobile-header-nav .nav-secondLevel {
- background-color: #0099ff;
- }
- .mobile-header-nav .nav-threeLevel {
- background-color: #6dbedc;
- }
- /* 响应式 */
- @media screen and (max-width: 1600px) {
- .wrap{
- width: 1280px;
- }
- }
- @media screen and (max-width: 1280px) {
- .wrap{
- width: 1080px;
- }
- }
- @media screen and (max-width: 1080px) {
- .wrap{
- width: 960px;
- }
- }
- @media screen and (max-width: 980px) {
- .mobile-nav-icon,
- .mobile-header-nav {
- display: none;
- }
- .header-top .wrap {
- width: 100%;
- }
- .header-img img {
- width: auto;
- }
- .wrap {
- width: 90%;
- flex-direction: column;
- }
- .footer-mesg {
- flex-direction: column;
- }
- .footer-mesg > div {
- width: 100%;
- border: none;
- padding-left: 10px;
- }
- }
- @media screen and (max-width: 768px) {
- .mobile-nav-icon,
- .mobile-header-nav {
- display: block;
- }
- .header-nav {
- display: none;
- }
- .header-img {
- width: 90%;
- flex-direction: column;
- }
- .header-top-left,
- .header-top-right {
- display: none;
- }
- .header-img img {
- width: auto;
- }
- .mobile-nav-icon {
- right: 20px;
- }
- .wrap {
- width: 90%;
- }
- .banner .slide-content{
- padding-left: 10%;
- }
- .banner .slide-content h2{
- font-size: 20px;
- }
- .banner .slide-content div{
- width: 3%;
- height: 10px;
- background-color: #ff1212;
- margin: 10px 0;
- }
- .banner .slide-content p{
- font-size: 14px;
- }
- .xinwendongtai .main .left{
- width: 100%;
- margin-right: unset;
- height: 500px;
- margin-bottom: 10px;
- flex: unset;
- }
- .xinwendongtai .main .right{
- flex: unset;
- }
- .xueshengzizhu .main .right{
- width: 100%;
- margin-left: unset;
- height: 500px;
- margin-top: 10px;
- flex: unset;
- }
- .xueshengzizhu .main .left{
- flex: unset;
- }
- }
- @media screen and (max-width: 640px) {
- .content {
- margin-top: 128px !important;
- }
- .banner .slide-content{
- padding-left: 10%;
- }
- .banner .slide-content h2{
- font-size: 16px;
- line-height: 20px;
- }
- .banner .slide-content div{
- width: 3%;
- height: 10px;
- background-color: #ff1212;
- margin: 10px 0;
- }
- .banner .slide-content p{
- font-size: 14px;
- line-height: 20px;
- width: 100%;
- }
- .swiper-pagination{
- height:30px
- }
- .content-wrap h2 .title-nav a{
- margin: 0;
- }
- .content-wrap h2 .title-line{
- margin: 0 10px;
- }
- .content-wrap h2 .right{
- margin-top: 4px;
- }
- .header-nav {
- display: none;
- }
- .header-top .wrap {
- width: 100%;
- }
- .header-img {
- width: 90%;
- flex-direction: column;
- height: 100%;
- }
- .header-top-left,
- .header-top-right {
- display: none;
- }
- .header-img img {
- width: 80%;
- }
- .mobile-nav-icon {
- right: 20px;
- }
- .wrap {
- width: 90%;
- }
- }
|