.bg-blue { --bs-bg-opacity: 1; background-color: #023e7f !important; background: url(../images/head-bg.jpg); background-size: cover; resize: both; } li { list-style: none; } a { color: #232323; text-decoration: none; transition: all 0.4s ease-in-out; } .img_scale { overflow: hidden; } .img_scale img { transition: All 0.4s ease-in-out; -webkit-transition: All 0.4s ease-in-out; -moz-transition: All 0.4s ease-in-out; -o-transition: All 0.4s ease-in-out; } .img_scale:hover img { transform: scale(1.1); -webkit-transform: scale(1.1); -moz-transform: scale(1.1); -o-transform: scale(1.1); -ms-transform: scale(1.1); } .img_content { width: 100%; overflow: hidden; } .navbar { transition: all 0.5s ease-in-out; } .navbar .btn-outline-light:hover { color: var(--bs-dark); } .navbar-sticky { opacity: 0.9; box-shadow: 0 0 10px rgba(0, 0, 0, 0.5); } .navbar .first-level { font-size: calc(100vw * 23 / 1920); font-weight: 600; } @media screen and (min-width: 1400px) { .navbar .first-level { font-size: 17px; font-weight: 600; } } @media screen and (max-width: 960px) { .navbar .first-level { font-size: 16px; font-weight: 600; } } .sitelogo { width: 36%; max-width: 600px; min-height: 40px; } .sitelogo img { width: 100%; } .header { background-size: cover; } .homeControl { line-height: 25px; z-index: 1040; position: fixed; top: 5px; right: 10px; color: #fff; } .homeControl a { color: #fff; --bs-btn-padding-y: 2px; --bs-btn-padding-x: 5px; } .homeControl .top-control a:hover { background-color: #1d9d74; color: #fff; text-decoration: none } .homeControl .top-control .search { padding: 8px 10px 5px 10px; } .homeControl .search-panel { background-color: rgba(60, 60, 60, .8); } .w3l-formhny { max-width: 600px; margin: 0 auto; background: #fff; padding: 40px; opacity: 1; border-radius: 4px; } .wp_search table { width: 100% !important; } .wp_search .keyword { width: 100% !important; border-radius: 0.375rem; height: 40px !important; line-height: 1.7 !important; background-color: #fff; border: 1px solid !important; } .wp_search .search { height: 40px; border-radius: 0.375rem; border: none; width: 75px; background-image: url("../images/search.png"); } @media screen and (max-width: 992px) { .homeControl { line-height: 25px; position: fixed; top: 5px; right: 80px; z-index: 1; } .sitelogo { width: 300px; } } @media screen and (max-width: 500px) { .homeControl { z-index: 1; } } /************/ .panel { height: 50px; } .panel .title { line-height: 45px; height: 50px; font-weight: bold; background-image: url(../images/panel_header_bg.png); background-repeat: no-repeat; background-position: left bottom; } .panel .more_btn a { font-size: 16px; cursor: pointer; font-weight: bold; color: #023e7f; } .panel .more_btn a:hover { color: #666; } /**************科研动态*************/ .reseach { width: 100%; float: left; margin-left: -0.8%; margin-bottom: 10px; } .research li { float: left; width: 25%; } .research a .research-title { display: block; font-weight: bold; font-size: 18px; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; height: 50px; line-height: 25px; white-space: inherit; margin: 10px 10px 5px 10px; } .research a .research-time { display: block; text-align: right; font-size: 16px; margin: 0px 15px 0px 0px; } .research a:hover { background-color: #023e7f; color: #fff; } .research .img_content img { height: 215px; width: 100%; } @media only screen and (max-width: 1200px) { .research .img_content img { height: calc((100vw / 4 - 20px) / 4 * 3); height: -webkit-calc((100vw / 4 - 20px) / 4 * 3); width: 100%; } } @media only screen and (max-width: 1200px) and (max-width: 800px) { .research li { float: left; width: 50%; } .research .img_content img { height: calc((100vw / 2 - 20px) / 4 * 3); height: -webkit-calc((100vw / 2 - 20px) / 4 * 3); } } @media only screen and (max-width: 800px) and (max-width: 500px) { .research li { float: left; padding-left: 20px; width: 100%; } .research .img_content img { height: calc((100vw / 1 - 20px) / 4 * 3); height: -webkit-calc((100vw / 1 - 20px) / 4 * 3); } } /**********通知公告****************/ .notification { width: 100%; float: left; } .notification h4 { font-size: 18px; line-height: 1.6; } .notification li { width: 100%; float: left; margin: 12px 12px 12px 0px; } .notification li a { display: block; text-decoration: none; color: #666; width: 100%; height: 80px; padding: 15px 10px 10px 100px; background-color: #fff; /* border-bottom: solid 4px #023e7f; */ position: relative; -webkit-box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15); box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15); } .notification li a .bt { overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; max-height: 50px; height: auto !important; line-height: 25px; white-space: inherit; } .notification li a .sTime { font-size: 16px; width: 75px; position: absolute; left: 10px; top: 10px; color: #023e7f; text-align: center; } .notification li a .sTime b { display: block; font-size: 36px; line-height: 36px; color: #023e7f; font-weight: bold; } .notification li a:hover { background-color: #023e7f; color: #fff; } .notification li a:hover .sTime { color: #fff; } .notification li a:hover .sTime b { color: #fff; } .events { width: 100%; float: left; } .events h4 { font-size: 18px; line-height: 1.6; background-color: #023e7f; height: 65px; } .events li { width: 100%; float: left; margin: 12px 12px 5px 0px; } .events li dl { margin-bottom: 12px; } .events li a { display: block; text-decoration: none; color: #ebe5e5; width: 100%; padding-left: 20px; padding-right: 10px; word-wrap: wrap; /*padding: 15px 10px 5px 20px;*/ background-color: #023e7f; /* border-bottom: solid 4px #023e7f; */ position: relative; -webkit-box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15); box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15); } .events a:hover { background-color: #023e7f; color: #10bcee; padding-left: 22px; } /***********footer************/ .footer { background-color: #0f2f52 !important; background-size: cover; resize: both; } .footer h5 { padding-left: 30px; font-weight: 600; } .footer .address { margin-left: 30px; } .footer .footer-left, .footer .footer-mid { border-right: 1px solid rgba(255, 255, 255, 0.2); } .footer p { margin: 0; } .footer .quick-link { padding-bottom: 10px; } .footer .quick-link a { margin-left: 30px; color: #fff; text-align: left; } .footer .quick-link a:hover { color: #10bcee; margin-left: 32px; } .footer .copyright { background-color: #0e2f52; opacity: 0.8; } .swiper { width: 100%; height: 100%; } .swiper-slide { text-align: center; font-size: 18px; background: #fff; display: flex; justify-content: center; align-items: center; } .swiper-slide img { display: block; width: 100%; height: 100%; object-fit: cover; } .swiper.sw_news .swiper-slide a { width: 100%; display: block; height: 50px; position: absolute; color: #fff; background-color: #023e7f; bottom: 0px; } .slide .carousel-item img { width: 100%; } /**自定义新闻列表**/ .post .news_list { margin: 0px; padding: 0px; } .post .news_list li { padding-bottom: 4px; margin-bottom: 4px; } .post .news_box .news_title { font-size: 18px; line-height: 24px; font-weight: bold; overflow: hidden; padding-top: 2px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; } .post .news_box .news_title a { color: #333; } .post.post-10 .news_imgs { padding: 0; position: relative; overflow: hidden; } .post.post-10 .news_imgs img { width: 100%; height: 440px; } @media screen and (max-width: 960px) { .post.post-10 .news_imgs img { width: 100%; height: auto; } } .post.post-10 .news_wz { position: absolute; bottom: 0px; width: 100%; left: 0; padding: 2px 17px 3px 15px; background-color: #023e7f; opacity: 0.75; } .post.post-10 .news_wz .news_time { color: #D5D5D5; } .post.post-10 .news_wz .news_title { color: #D5D5D5; width: 100%; height: 40px; padding-top: 8px; } .post.post-10 .news_wz .news_title a { color: #D5D5D5; font-size: 18px; } .post.post-11 .selected { background-color: #ddd; } .post.post-11 .news_box { height: 80px; } .post.post-11 .news_list li { border-bottom: 1px solid #D5D5D5; padding-bottom: 4px; margin-bottom: 4px; } /*****侧边导航栏******/ .side_col { display: block; } .side_col .top-channel { color: white; font-size: 24px; background-color: #023e7f; font-weight: bold; line-height: 80px; border-radius: 5px 5px 0 0; background-repeat: no-repeat; background-position: right center; background-size: auto 100%; padding-left: 20px; } .side_col .top-channel .navbar-toggler { display: none; position: relative; height: 40px; top: 20px; right: 10px; } @media screen and (max-width: 768px) { .side_col .top-channel .navbar-toggler { display: inline-block; } } .side_col .col-bottom { background-color: #023e7f; height: 4px; border-radius: 0 0 4px 4px; } .side_col .channel-list .chanel { margin-top: 0px; box-sizing: border-box; border-left: solid 4px #023e7f; line-height: 40px; border-bottom: solid 1px #ffffff; background-color: #f3f3f3; font-size: 18px; } .side_col .channel-list .sub-chanel { border-top: solid 1px #ffffff; border-left: none; padding-left: 20px; font-size: 16px; } .side_col .nav-link.selected { /*border-left-color: #ffb217;*/ font-weight: bold; color: #023e7f; } .side_col .sub-chanel.selected { /*border-left-color: #ffb217;*/ font-weight: bold; color: #023e7f; } .side_col .nav li a { color: #333; font-weight: 600; } .side_col .nav.channel-list li a:hover { background: #3385dc; color: white; } /**********列表页上面板***********/ .right_col { float: left; width: 100%; min-height: 500px; } .col-panel { width: 100%; float: left; border-top: #023e7f 2px solid; background: #f0f0f0; display: block; } .col-panel .col-title { display: block; float: left; height: 48px; padding-left: 10px; } .col-panel .col-title h2 { display: block; font-size: 20px; font-weight: 600; color: #023e7f; font-family: "Microsoft YaHei"; line-height: 48px; } /**当前栏目**/ .col-panel .col-path { display: block; float: right; white-space: nowrap; line-height: 48px; padding-right: 10px; color: #666; } /**当前位置**/ .col-panel .col-path a { color: #2F2F2F; } .right_col .wp_paging { font-size: 16px; } .right_col ul { width: 100%; float: left; padding: 12px 0px; } .right_col .news_item a { float: left; text-indent: 12px; font-size: 18px; color: #333; line-height: 48px; height: 48px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; width: -moz-calc(100% - 100px); width: -webkit-calc(100% - 100px); width: calc(100% - 100px); } .right_col .news_item a:hover { color: #0c407a; font-weight: bold; text-indent: 17px; } .right_col .news_item span { float: right; font-size: 16px; color: #666; line-height: 48px; } .right_col .wp_paging { font-size: 16px; } /**文章页**/ .infobox { padding: 20px 60px; margin: 0 auto; width: auto; } .article { padding-top: 10px; } .article h1.arti_title { line-height: 36px; font-family: "Microsoft YaHei"; font-size: 24px; font-weight: 600; text-align: center; color: #023e7f; } /**文章标题**/ .article h2.arti_title { line-height: 34px; font-family: "Microsoft YaHei"; font-size: 20px; text-align: center; color: #1B1B1B; } /**文章副标题**/ .article .arti_metas { padding: 10px; text-align: center; /* border-top:1px solid #ececec; */ } .article .arti_metas span { margin: 0 5px; font-size: 15px; color: #787878; } /**文章其他属性**/ .wp_articlecontent a { text-decoration: underline; } .wp_articlecontent a:hover { text-decoration: underline; color: rgb(0, 0, 200); } .article .entry { margin: 0 auto; overflow: hidden; margin-top: 10px; } /**文章内容**/ .wp_entry .wp_articlecontent { padding-top: 20px } /**阅读字体**/ .wp_entry .wp_articlecontent, .wp_entry .wp_articlecontent p, .article .entry .read, .article .entry .read p { line-height: 1.8; font-size: 16px; color: #333; font-family: 微软雅黑, "microsoft yahei"; text-indent: 2em; margin-bottom: 5px; } .wp_entry .wp_articlecontent img, .article .entry .read img { /*padding-bottom:10px;*/ /*width: 700px;*/ display: block; /* box-shadow: 5px 5px 5px #666;*/ margin: 0 auto; max-width: 720px; } .alignleft { display: inline !important; } /**文章阅读部分图片大小限制**/ .wp_entry .wp_articlecontent table, .article .entry .read table { margin: 0 auto; border: none; max-width: 95%; } @media screen and (max-width: 768px) { .wp_entry .wp_articlecontent img, .article .entry .read img { max-width: 100%; } } /*列表*/ .wp_entry .wp_articlecontent li, .article .entry .read li { list-style: unset; margin: 0; padding-left: 0px; list-style-position: outside; } .wp_entry .wp_articlecontent li p, .article .entry .read li p { text-indent: 0; } .article .entry .read ol, .article .entry .read ul, .article .entry .read dl { margin-top: 0.5em; margin-bottom: 0.5em; } .article .entry .read table p { text-indent: 0; } /***********人员列表 ***********/ .people-list a { width: 10rem !important; margin: 10px 5px 0px 5px; font-size: 1.2em; text-decoration: none; } .people-list .supervisors a { width: auto !important; color: #111111; } .people-list a:hover { background-color: #023e7f; color: white; } @media only screen and (max-width: 1200px) {} @media only screen and (max-width: 1200px) and (max-width: 800px) {} @media only screen and (max-width: 800px) and (max-width: 500px) {} .possplit { background-image: url(../images/posSplit.gif); background-repeat: no-repeat; background-position: left center; text-indent: 22px; background-position: center; width: 10px; display: inline-block; border: 0px solid red; } /*********人员信息******/ .people-info { color: #333; background-color: #f8f8f8; border: 1px solid #d8d8d8; flex-wrap: nowrap; } @media screen and (max-width: 768px) { .people-info { flex-wrap: wrap; } } .people-info .avatar { padding: 20px; } .people-info .avatar img { height: 300px; } .people-info .info { padding: 20px; font-size: 18px; } .people-info .info .info-head { padding: 20px 20px 20px 0px; border-bottom: 1px solid #d8d8d8; } .people-info .info .name { font-size: 36px; } .people-detail { background-color: #f8f8f8; border: 1px solid #d8d8d8; } #goTop { display: none; /* 默认隐藏 */ position: fixed; bottom: 20px; right: 30px; z-index: 99; border: none; outline: none; background-color: #023e7f; /* 设置背景颜色,你可以设置自己想要的颜色或图片 */ color: white; /* 文本颜色 */ cursor: pointer; padding: 15px; border-radius: 10px; opacity: 0.5; /* 圆角 */ } #goTop:hover { background-color: #555; } /****sidebar****/ .sidebar .offcanvas-start { width: 220px; } .sidebar .offcanvas { background: #051d37 !important; opacity: 0.95; } .sidebar .navbar-nav .nav-link { font-size: 16px; width: 130px; display: inline-block; } /* 统一调整左右按钮的通用样式 */ .mySwiper .swiper-button-next, .mySwiper .swiper-button-prev { background-color: rgba(255, 255, 255, 0.85); /* 白色半透明背景 */ width: 45px; /* 按钮宽度 */ height: 45px; /* 按钮高度 */ border-radius: 50%; /* 变成完美圆形 */ box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); /* 添加柔和阴影 */ transition: all 0.3s ease; /* 增加过渡动画 */ } /* 调整箭头本身的大小和颜色 */ .mySwiper .swiper-button-next::after, .mySwiper .swiper-button-prev::after { font-size: 18px; /* 缩小箭头,显得更精致 */ color: #333333; /* 箭头颜色改为深灰/黑色 */ font-weight: bold; } /* 鼠标悬停(Hover)时的互动效果 */ .mySwiper .swiper-button-next:hover, .mySwiper .swiper-button-prev:hover { background-color: #ffffff; /* 悬停时变成纯白 */ transform: scale(1.1); /* 微微放大 */ box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2); /* 阴影加深 */ }