Files
proxy_web_site/static/css/style.css
2025-07-28 18:06:46 +08:00

560 lines
12 KiB
CSS

@font-face {
font-family:"DMSans-Regular";
font-style:normal;
font-display:swap;
src:url("../font/DMSans-Regular.ttf") format("opentype")
}
@font-face {
font-family:"DMSans-Medium";
font-style:normal;
font-display:swap;
src:url("../font/DMSans-Medium.ttf") format("opentype")
}
@font-face {
font-family:"DMSans-Bold";
font-style:normal;
font-display:swap;
src:url("../font/DMSans-Bold.ttf") format("opentype")
}
body {
font-family:DMSans-Regular,sans-serif;
font-size:16px
}
* {
margin:0;
padding:0
}
em,i {
font-style:normal
}
div,span,p,img,i,ul,li,a {
caret-color:transparent;
}
li {
list-style:none
}
img {
border:0;
vertical-align:middle;
border:none
}
button {
cursor:pointer
}
a {
color:#333;
text-decoration:none
}
button,input {
font-family:Microsoft YaHei,SC,arial,Hiragino Sans GB,"\5B8B\4F53",sans-serif
}
input,textarea {
outline:none;
caret-color:#999
}
body,html{
width: 100%;
height: 100%;
background: #FAFCFF;
}
header{
width: 100%;
height: 60px;
position: fixed;
background: #FFFFFF;
top: 0;
left: 0;
}
header>div{
max-width: 1200px;
width: 100%;
margin: 0 auto;
}
header>div>a{
display: block;
height: 100%;
display: flex;
align-items: center;
}
.blog_active{
width: 100%;
margin-bottom: 24px;
}
.blog_active>a{
display: block;
width: 100%;
}
.blog_active>a>img{
width: 100%;
height: 120px;
}
.blog_detail_container {
padding-top:60px;
max-width:1200px;
width:100%;
margin:0 auto
}
.blog_detail_container>.back_btn {
display:flex;
align-items:center;
margin-bottom:24px;
font-size:20px;
color:#000
}
.blog_detail_container>.detaile_content {
display:flex;
justify-content:space-between;
gap: 20px;
margin-top:24px;
width:100%;
flex-wrap:wrap
}
.blog_detail_container>.detaile_content>.details {
max-width: 794px;
width:100%
}
.blog_detail_container>.detaile_content>.details>h1 {
font-weight:bold;
font-size:32px;
color:#000000;
line-height:140%;
margin-bottom:24px
}
.blog_detail_container>.detaile_content>.details>img {
margin-bottom:24px;
width:100%;
height: 300px;
}
.blog_detail_container>.detaile_content>.details>div.author_date {
display: flex;
align-items:center;
justify-content:space-between;
margin-top:auto;
margin-bottom:24px
}
.blog_detail_container>.detaile_content>.details>div.author_date>p {
display:flex;
align-items:center;
column-gap:9px
}
.blog_detail_container>.detaile_content>.details>div.author_date>p>span {
font-weight:bold;
font-size:16px;
color:#333333
}
.blog_detail_container>.detaile_content>.details>div.author_date>p>img {
width:32px;
height:32px;
border-radius:100%
}
.blog_detail_container>.detaile_content>.details>div.author_date>span {
font-size:14px;
color:#999999;
line-height:21px
}
.article_details_content{
width: 100%;
background: #FFFFFF;
padding: 40px;
box-sizing: border-box;
margin-bottom: 40px;
}
.article_details_content li,.article_details_content span{
line-height:2;
font-size:16px;
}
.article_details_content div{
width: 100%;
}
.recommend_content{
width: 100%;
display: flex;
align-items: center;
gap: 20px;
flex-wrap: wrap;
}
.recommend_content>div{
width: 385px;
}
.recommend_img{
width: 100%;
height: 142px;
margin-bottom: 12px;
}
.recommend_content>div>h2{
font-weight: bold;
font-size: 20px;
color: #000000;
line-height: 28px;
overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-line-clamp: 2;
margin-bottom: 12px;
-webkit-box-orient: vertical;
white-space: normal; /* 文本换行 */
min-height: calc(1.5em* 2);
}
.recommend_author_date{
display: flex;
align-items: center;
column-gap: 4px;
margin-bottom: 40px;
}
.recommend_author_date>img{
width: 32px;
height: 32px;
}
.recommend_author_date>p>span:nth-of-type(1){
font-weight: bold;
font-size: 14px;
color: #333333;
line-height: 21px;
display: block;
padding-left: 10px;
}
.recommend_author_date>p>span:nth-of-type(2){
font-size: 14px;
color: #999999;
line-height: 21px;
display: block;
padding-left: 10px;
}
.wp-block-image{
margin: 0 auto;
display: table;
}
.article_details_content img{
margin-top: 20px;
margin-right: auto;
margin-left: auto;
}
#ez-toc-container{
width: 385px;
border-radius: 8px 8px 8px 8px;
padding: 18px;
box-sizing: border-box;
position: sticky;
top: 100px;
}
#ez-toc-container h1{
font-weight: bold;
font-size: 24px;
line-height: 34px;
}
#ez-toc-container>nav ul{
border-left: 1px solid #D9D9D9;
border-right: none;
border-bottom: none;
border-top: none;
padding-left: 23px;
display: flex;
flex-direction: column;
row-gap: 16px;
margin-top: 18px;
}
#ez-toc-container>nav ul li{
font-size: 14px;
position: relative;
line-height: 20px;
}
#ez-toc-container>nav ul li a{
position: relative;
color: rgba(3,0,87,0.6);
}
/* #ez-toc-container>ul li.active{
border-left: 1px solid #866BED;
} */
#ez-toc-container>nav ul li a.active{
font-weight: 600;
font-size: 16px;
color: #030057;
}
#ez-toc-container>nav ul li a.active::before{
content: "";
position: absolute;
left: -24px;
top: 0;
height: 100%;
width: 1px;
background: #866BED;
}
@media screen and (max-width:980px) {
.blog_detail_container {
padding:20px;
box-sizing:border-box;
padding-top:80px
}
.blog_detail_container>.detaile_content>.details>h1 {
line-height:32px;
font-size:24px
}
.title_guide_content{
order: -1;
}
}
.title_guide_content{
height: auto; !important;
}
/* 底部样式开始 */
footer {
max-width:2560px;
width:100%;
margin:0 auto;
padding:70px 0;
background: #000000;
padding-bottom:0
}
footer>.footer_content {
max-width:1200px;
width:100%;
display:flex;
flex-wrap:wrap;
justify-content:space-between;
margin:0 auto;
padding-bottom:60px
}
footer>.footer_content>.footer_left>p {
font-size:16px;
color:#FFFFFF;
line-height:22px;
margin-top:8px;
margin-bottom:34px
}
footer>.footer_content>.footer_left .infolanguage-nav {
position:relative;
display:flex;
align-items:center;
width:204px;
height:40px;
border-radius:4px 4px 4px 4px;
border:1px solid #FFFFFF;
padding:0 8px;
box-sizing:border-box;
color:#FFFFFF;
margin:26px 0 39px;
cursor:pointer
}
footer>.footer_content>.footer_left .infolanguage-nav img {
transform:rotate(0deg);
transition:all .3s
}
footer>.footer_content>.footer_left .infolanguage-nav:hover .infol-text>img {
transform:rotate(180deg)
}
footer>.footer_content>.footer_left .infolanguage-nav:hover .infol-drop {
pointer-events:auto;
opacity:1
}
footer>.footer_content>.footer_left .infolanguage-nav .infol-text {
width:100%;
height:100%;
display:flex;
align-items:center;
justify-content:space-between;
font-size:16px;
font-weight:400;
cursor:pointer
}
footer>.footer_content>.footer_left .infolanguage-nav .infol-text>img {
width:12px;
height:auto
}
footer>.footer_content>.footer_left .infolanguage-nav .infol-drop {
pointer-events:none;
position:absolute;
top:38px;
left:50%;
transform:translateX(-50%);
box-sizing:border-box;
width:100%;
height:auto;
background:#ffffff;
border-radius:4px;
opacity:0;
transition:all .3s;
box-shadow:0 0 6px 0 rgba(0,0,0,0.15)
}
footer>.footer_content>.footer_left .infolanguage-nav .infol-drop li {
display:flex;
align-items:center;
width:100%;
height:48px;
line-height:48px;
font-size:15px;
font-weight:400;
color:#333;
cursor:pointer;
transition:all .2s;
border-bottom:1px solid #f2f7ff;
padding-left:20px;
box-sizing:border-box;
position:relative
}
footer>.footer_content>.footer_left .infolanguage-nav .infol-drop li>a {
display:block;
width:100%;
height:100%
}
footer>.footer_content>.footer_left .infolanguage-nav .infol-drop li.active i {
display:inline-block
}
footer>.footer_content>.footer_left .infolanguage-nav .infol-drop li:first-child {
border-radius:8px 8px 0 0
}
footer>.footer_content>.footer_left .infolanguage-nav .infol-drop li:last-child {
border-radius:0 0 8px 8px
}
footer>.footer_content>.footer_left .infolanguage-nav .infol-drop li>i {
width:15px;
height:15px;
background:url(https://pro.WebIP.com/wp-content/themes/img/lange-select-logo.png) no-repeat center;
background-size:cover;
position:absolute;
right:15px;
top:50%;
transform:translateY(-50%);
display:none
}
footer>.footer_content>.footer_left .infolanguage-nav .infol-drop li:last-child {
border:none
}
footer>.footer_content>.footer_left .infolanguage-nav .infol-drop li:hover {
background:#f2f7ff;
color:#8062EF
}
footer>.footer_content>.footer_left .infolanguage-nav .infol-drop li img {
padding-right:10px;
width:26px
}
footer>.footer_content>.footer_left>div>a {
display:flex;
align-items:center;
margin-bottom:25px;
font-size:14px;
color:#FFFFFF
}
footer>.footer_content>.footer_left>div>a>img {
margin-right:6px
}
footer>.footer_content>.footer_right {
display:flex;
padding-top:25px
}
footer>.footer_content>.footer_right>div {
display:flex;
flex-direction:column;
width:236px
}
footer>.footer_content>.footer_right>div>h2 {
font-weight:bold;
font-size:16px;
color:#FFFFFF;
line-height:24px;
margin-bottom:16px
}
footer>.footer_content>.footer_right>div>a {
font-size:14px;
color:rgba(255,255,255,0.6);
transition:all .3s;
margin-bottom:20px
}
footer>.footer_content>.footer_right>div>a:hover {
color:#fff
}
.footer_copyright{
max-width: 1200px;
width: 100%;
margin: 0 auto;
color: #FFFFFF;
text-align: center;
padding: 22px 0;
border-top: 1px solid rgba(255,255,255,0.2);
font-size: 14px;
color: rgba(255,255,255,0.5);
}
@media screen and (max-width:960px) {
footer>.footer_content {
margin:0 20px;
width:auto
}
footer>.footer_content>.footer_right {
flex-direction:column
}
footer>.footer_bottom {
padding:20px;
box-sizing:border-box;
flex-direction:column;
row-gap:20px
}
footer>.footer_bottom>div {
margin:0 20px
}
}
.article_details_content h1 {
font-size: 44px;
font-style: normal;
font-weight: 600;
line-height: 2;
}
.article_details_content h2 {
font-size: 32px;
font-style: normal;
font-weight: 600;
line-height:3;
/* 44.8px */
}
.article_details_content h3 {
font-size: 18px;
font-style: normal;
font-weight: 500;
line-height:3;
}
.article_details_content article {
padding: 0 80px 0 0;
width: 100%;
}
.article_details_content p {
font-size: 18px !important;
font-style: normal;
font-weight: 400 !important;
line-height:2;
/* 25.6px */
}
.article_details_content h4 {
font-size: 18px !important;
font-style: normal;
font-weight: 500;
line-height:3;
}
.article_details_content .articles-content-link,
.article_details_content a {
cursor: pointer;
font-size: 18px !important;
font-style: normal;
font-weight: 400 !important;
line-height:3;
text-decoration-line: underline;
text-decoration-style: solid;
text-decoration-skip-ink: none;
text-decoration-thickness: auto;
text-underline-offset: auto;
text-underline-position: from-font;
}
.article_details_content #ez-toc-container{
display: none;
}