/**代码高亮-https://www.xcbtmw.com/26354.html**/
.entry-content pre:before {
content: '';
position: absolute;
top: 0;
left: 25px;
width: 15px;
height: 15px;
border-radius: 50%;
margin: 15px 25px;
background: #fdbc40;
}
ol.linenums:after {
content: '';
position: absolute;
top: 0;
left: 50px;
width: 15px;
height: 15px;
border-radius: 50%;
margin: 15px 25px;
background: #35cd4b;
}.entry-content pre:after {
content: '';
position: absolute;
top: 0;
left: 0;
width: 15px;
height: 15px;
border-radius: 50%;
background: #fc625d;
margin: 15px 25px;
}.entry-content pre {
position: relative;
border-radius: 6px;
/**background: #21252b;**/
padding-top: 50px;
box-shadow: 0px 8px 20px -10px #000;
}.entry-content pre .copy {
position: absolute;
top: 0;
right: 0;
margin: 10px 20px;
cursor: pointer;
color: #8224e3;
}
/**代码高亮-https://www.xcbtmw.com/26354.html**/
/* 全局导航样式 */
.post-list-cats {
overflow-x: auto;
overflow-y: hidden;
-ms-overflow-style: none;
scrollbar-width: none;
white-space: nowrap;
}
.post-list-cats::-webkit-scrollbar {
display: none;
}
.post-list-cats .post-carts-list-row {
display: inline-flex;
flex-wrap: nowrap;
width: auto;
padding-right: 20px;
}
.post-list-cats .post-carts-list-row .cat-list {
flex: 0 0 auto;
display: inline-block;
white-space: nowrap;
}
/* 确保其他元素不在同一行 */
.post-list-cats,
.modules-title-box {
width: 100%;
margin-bottom: 10px;
}
/* 如果这两个元素在一个flex容器内,确保它们竖直排列 */
.post-modules-top {
display: flex;
flex-direction: column;
}
/* 移动端特定样式(如果需要) */
@media (max-width: 767px) {
/* 如果有任何只适用于移动端的样式,可以放在这里 */
}
/* PC端特定样式 */
@media (min-width: 768px) {
.post-modules-top {
flex-direction: row;
align-items: center;
flex-wrap: wrap;
}
.modules-title-box {
flex: 0 0 auto;
margin-right: 20px;
margin-bottom: 20px;
}
.post-list-cats {
flex: 1;
overflow-x: visible;
white-space: normal;
}
.post-list-cats .post-carts-list-row {
display: flex;
flex-wrap: wrap;
justify-content: flex-start;
padding-right: 0;
}
.post-list-cats .post-carts-list-row .cat-list {
margin-right: 10px;
margin-bottom: 10px;
white-space: nowrap;
}
}
/*Npcink
版本:1.0
整理:Muze
帮助:https://www.npc.ink/12031.html
*/
.buy-container {
color: #ccc;
padding: 60px 40px 50px 40px;
margin: 0 auto;
background: rgb(224, 32, 140);
background: -moz-linear-gradient(
left,
rgb(224, 32, 140) 0%,
rgb(250, 100, 0) 100%
);
background: -webkit-linear-gradient(
left,
rgb(224, 32, 140) 0%,
rgb(250, 100, 0) 100%
);
background: linear-gradient(
to right,
rgb(224, 32, 140) 0%,
rgb(250, 100, 0) 100%
);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#e0208c', endColorstr='#fa6400',GradientType=1 );
-webkit-border-radius: 10px;
-moz-border-radius: 10px;
-o-border-radius: 10px;
border-radius: 10px;
}
.buy-container .buy-box {
display: -webkit-box;
display: flex;
-webkit-box-pack: justify;
justify-content: space-between;
-webkit-box-align: center;
align-items: center;
max-width: 900px;
margin: 0 auto;
}
@media screen and (max-width: 700px) {
.buy-container .buy-box {
display: block;
text-align: center;
}
.buy-container .buy-box .slogan {
margin-bottom: 30px;
}
}
.buy-container .buy-box .slogan h3 {
color: #fff;
font-size: 26px;
margin: 0 0 10px 0;
}
@media screen and (max-width: 800px) {
.buy-container .buy-box .slogan h3 {
font-size: 24px;
}
}
@media screen and (max-width: 500px) {
.buy-container .buy-box .slogan h3 {
font-size: 20px;
}
}
@media screen and (max-width: 400px) {
.buy-container .buy-box .slogan h3 {
font-size: 18px;
}
}
.buy-container .buy-box .slogan p {
color: #fff;
font-size: 14px;
font-weight: bold;
margin: 10px 0;
}
.buy-container .buy-box .actions {
display: -webkit-box;
display: flex;
-webkit-box-align: center;
align-items: center;
list-style-type: none;
margin: 0;
padding: 0;
}
@media screen and (max-width: 700px) {
.buy-container .buy-box .actions {
-webkit-box-pack: justify;
justify-content: center;
}
}
.buy-container .buy-box .actions li {
margin: 0;
}
.buy-container .buy-box .actions li:last-child {
margin-left: 10px;
}
.buy-container .buy-box .actions li a {
position: relative;
color: #fff !important;
font-size: 14px;
font-weight: bold;
line-height: 1;
text-decoration: none;
padding: 10px 20px;
background-color: rgba(255, 255, 255, 0.1);
-webkit-border-radius: 4px;
-moz-border-radius: 4px;
-o-border-radius: 4px;
border-radius: 4px;
-webkit-transition: 0.2s;
-moz-transition: 0.2s;
-o-transition: 0.2s;
transition: 0.2s;
}
.buy-container .buy-box .actions li a:hover {
-webkit-transform: translateY(-2px);
-moz-transform: translateY(-2px);
-o-transform: translateY(-2px);
transform: translateY(-2px);
-webkit-box-shadow: 0 5px 10px 0 rgba(0, 0, 0, 0.2);
-moz-box-shadow: 0 5px 10px 0 rgba(0, 0, 0, 0.2);
-o-box-shadow: 0 5px 10px 0 rgba(0, 0, 0, 0.2);
box-shadow: 0 5px 10px 0 rgba(0, 0, 0, 0.2);
opacity: 1 !important;
}
@media screen and (max-width: 330px) {
.buy-container .buy-box .actions li a {
font-size: 12px;
}
}
.buy-container .buy-box .actions li a:not(.primary):before {
content: "";
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
-webkit-box-shadow: inset 0 0 0 1px currentColor;
-moz-box-shadow: inset 0 0 0 1px currentColor;
-o-box-shadow: inset 0 0 0 1px currentColor;
box-shadow: inset 0 0 0 1px currentColor;
-webkit-border-radius: 4px;
-moz-border-radius: 4px;
-o-border-radius: 4px;
border-radius: 4px;
-khtml-opacity: 0.3;
-moz-opacity: 0.3;
opacity: 0.3;
}
.buy-container .buy-box .actions li a:after {
display: none;
}
.buy-container .buy-box .actions li a.primary {
color: #ff3b30 !important;
background-color: #fff;
}
.buy-container .tips {
border-top: 1px solid rgba(255, 255, 255, 0.1);
display: block;
color: #fff;
font-size: 12px;
text-align: center;
max-width: 900px;
margin: 30px auto 0 auto;
padding-top: 30px;
}
/* 对于移动设备,隐藏同时具有 b2font、b2-add-line 和 b2-radius 类的元素 */
@media only screen and (max-width: 768px) {
i.b2font.b2-add-line.b2-radius {
display: none;
}
}
/* 对于移动设备,隐藏 mobile-footer-center 类的元素 */
@media only screen and (max-width: 768px) {
.mobile-footer-center {
display: none;
}
}
/*学习*/
/* 图标基础样式 */
[class^="icon-"]:before, [class*=" icon-"]:before {
font-family: "fontello";
font-style: normal;
font-weight: normal;
speak: none;
display: inline-block;
text-decoration: inherit;
width: 1em;
margin: 0 0.2em;
text-align: center;
opacity: 0.8;
font-variant: normal;
text-transform: none;
line-height: 1em;
font-size: 120%;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
text-shadow: 1px 1px 1px rgba(127, 127, 127, 0.3);
}
/* 图标内容 */
.icon-course-1:before { content: 'N'; }
.icon-course-2:before { content: 'P'; }
.icon-course-3:before { content: 'C'; }
.icon-course-4:before { content: 'I'; }
.icon-course-5:before, .icon-course-10:before { content: 'K'; }
.icon-course-6:before { content: 'N'; }
.icon-course-7:before { content: 'P'; }
.icon-course-8:before { content: 'C'; }
.icon-course-9:before { content: 'I'; }
/* 主要样式 */
.home-section-bottom {
background: #fff;
}
.container {
width: 100%;
margin: 0 auto;
padding: 0 15px;
position: relative;
overflow: hidden;
*zoom: 1;
}
.home-section-bottom .container {
padding-top: 20px;
padding-bottom: 0px;
}
@media (min-width: 768px) {
.container {
overflow: visible;
max-width: 1330px;
}
.home-section-bottom .container {
padding-top: 80px;
padding-bottom: 0;
}
}
.home-section-bottom .container .items {
display: flex;
flex-wrap: wrap;
}
.home-section-bottom .container .item {
width: 50%;
position: relative;
margin-bottom: 25px;
padding: 0 5px 0 60px;
}
@media (min-width: 768px) {
.home-section-bottom .container .item {
margin-bottom: 70px;
padding: 0 35px 0 80px;
}
}
@media (min-width: 1024px) {
.home-section-bottom .container .item {
width: 20%;
}
}
.home-section-bottom .container .item h2 {
font-size: 14px;
color: #0c253d;
margin-bottom: 10px;
line-height: 1.2;
height: 1.2em;
overflow: hidden;
}
.home-section-bottom .container .item h4 {
font-size: 12px;
font-weight: 400;
color: #8f8f8f;
line-height: 1.1;
height: 1.1em;
overflow: hidden;
}
@media (min-width: 768px) {
.home-section-bottom .container .item h2 {
font-size: 20px;
margin-bottom: 15px;
}
.home-section-bottom .container .item h4 {
font-size: 14px;
}
}
.home-section-bottom .container .item .item-thumb {
position: absolute;
left: 0;
top: 0;
width: 45px;
height: 45px;
line-height: 45px;
border-radius: 4px;
color: #fff;
text-align: center;
font-size: 22px;
}
@media (min-width: 768px) {
.home-section-bottom .container .item .item-thumb {
line-height: 60px;
width: 60px;
height: 60px;
border-radius: 6px;
}
}
/* 缩略图背景 */
.home-section-bottom .container .item:nth-child(1) .item-thumb { background-image: linear-gradient(180deg, #0075ce, #46bbfe); }
.home-section-bottom .container .item:nth-child(2) .item-thumb { background-image: linear-gradient(180deg, #ff6b01, #ffa15f); }
.home-section-bottom .container .item:nth-child(3) .item-thumb { background-image: linear-gradient(180deg, #8803ff, #c17bff); }
.home-section-bottom .container .item:nth-child(4) .item-thumb { background-image: linear-gradient(180deg, #676fb6, #8d99fd); }
.home-section-bottom .container .item:nth-child(5) .item-thumb { background-image: linear-gradient(180deg, #ff3600, #ff7800); }
.home-section-bottom .container .item:nth-child(6) .item-thumb { background-image: linear-gradient(180deg, #5e99b7, #aed6ea); }
.home-section-bottom .container .item:nth-child(7) .item-thumb { background-image: linear-gradient(180deg, #c300e6, #ea77ff); }
.home-section-bottom .container .item:nth-child(8) .item-thumb { background-image: linear-gradient(180deg, #00cfd3 1%, #00e4bb); }
.home-section-bottom .container .item:nth-child(9) .item-thumb { background-image: linear-gradient(180deg, #f708f9, #ff26be); }
.home-section-bottom .container .item:nth-child(10) .item-thumb { background-image: linear-gradient(180deg, #008be5, #00dbff); }
.home-section-bottom .container .item a:hover h2 {
color: #3385ff;
}
/* 优酷专题 */
/*优设文章专题*/
/*图标*/
@charset "utf-8";
/* Icon */
.icon-play-1:before {
content: '☛';
}
.container {
width: 100%;
max-width: 1330px;
margin: 0 auto;
padding: 0 15px;
position: relative;
}
.part-hot-knowledge .part-title {
font-size: 20px;
color: #3c3c3c;
margin: 0 -15px;
font-weight: 400;
background: #f5f9fc;
padding: 15px;
}
.part-hot-knowledge .part-content {
margin: 0 0 30px;
}
.articles_knowledge {
margin: 0 -14px;
overflow: hidden;
}
.articles_knowledge .item_wrap {
float: left;
width: 100%;
padding: 25px 14px 15px;
}
.articles_knowledge .item {
background: #fff;
padding: 15px;
border-radius: 20px;
transition: all 0.2s;
min-height: 145px;
}
.articles_knowledge .item:hover {
box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
transform: translateY(-3px);
}
.articles_knowledge .item-main {
position: relative;
padding-right: 126px;
}
.articles_knowledge .item-main .item-thumb {
position: absolute;
right: 0;
top: 0;
width: 110px;
}
.articles_knowledge .item-main .item-thumb .item-href {
display: block;
border-radius: 20px;
}
.articles_knowledge .item-main .item-thumb .thumb {
padding-top: 130%;
border-radius: 6px;
background-size: contain;
}
.articles_knowledge .item-main h2 {
font-size: 14px;
line-height: 1.5;
height: 3em;
overflow: hidden;
margin-bottom: 5px;
font-weight: 400;
color: #2c3e50;
}
.articles_knowledge .item-main h2 a {
color: #2c3e50;
}
.articles_knowledge .item-main h2 a:hover {
color: #3385ff;
}
.articles_knowledge .item-main ul li {
display: block;
padding: 5px;
overflow: hidden;
font-size: 12px;
}
.articles_knowledge .item-main ul li:nth-child(odd) {
background: hsla(0, 0%, 84.7%, 0.16);
}
.articles_knowledge .item-main ul li a {
position: relative;
display: block;
height: 22px;
line-height: 22px;
overflow: hidden;
color: #7c808a;
}
.articles_knowledge .item-main ul li a:hover {
color: #3385ff;
}
.articles_knowledge h4 {
font-size: 12px;
line-height: 24px;
font-weight: 400;
color: #bdbdbd;
overflow: hidden;
height: 24px;
display: none;
}
.articles_knowledge h4 a {
color: #bdbdbd;
}
.articles_knowledge h4 a:hover {
color: #3385ff;
}
.articles_knowledge h4 span {
float: left;
margin-right: 40px;
}
.articles_knowledge .avatar {
width: 24px;
height: 24px;
border-radius: 100%;
padding: 0;
display: inline-block;
vertical-align: top;
}
.thumb {
display: block;
width: 100%;
height: 0;
padding-top: 66.7%;
background-position: 50%;
background-repeat: no-repeat;
background-size: cover;
background-color: transparent;
position: relative;
overflow: hidden;
}
/* Button */
.section-more {
text-align: center;
margin-bottom: 30px;
}
.section-more .btn {
display: block;
text-align: center;
background: #f7f7f7;
border-radius: 3px;
color: #9e9e9e;
height: 50px;
line-height: 50px;
padding: 0 50px;
white-space: nowrap;
}
/* Media Queries */
@media (min-width: 768px) {
.home-section-knowledge {
padding: 60px 0;
}
.container {
overflow: visible;
}
.part-hot-knowledge .part-title {
font-size: 30px;
background: transparent;
margin: 0 0 30px;
padding: 0;
}
.part-hot-knowledge .part-content {
margin: 0;
}
.articles_knowledge .item {
padding: 30px 40px;
}
.articles_knowledge .item-main {
height: 210px;
padding-right: 246px;
margin-bottom: 30px;
}
.articles_knowledge .item-main .item-thumb {
top: -50px;
width: 200px;
}
.articles_knowledge .item-main h2 {
font-size: 18px;
margin-bottom: 20px;
}
.articles_knowledge .item-main ul li {
padding: 10px;
font-size: 14px;
border-radius: 20px;
}
.articles_knowledge h4 {
display: block;
}
.section-more {
margin-bottom: 0;
}
.section-more .btn {
background-color: #3385ff;
background-image: linear-gradient(90deg, #006eff, #13adff);
box-shadow: 0 5px 10px 0 rgba(16, 110, 253, 0.3);
border-radius: 20px;
color: #fff;
display: inline-block;
font-size: 16px;
}
.section-more .btn:hover {
background-image: linear-gradient(270deg, #006eff, #13adff);
}
}
@media (min-width: 1024px) {
.articles_knowledge .item_wrap {
width: 50%;
margin-bottom: 30px;
}
}
/*专题*/
/*标题*/
@media (min-width:768px) {
.section-title strong {
font-size: 32px;
margin: 0 30px 0 0;
padding: 0;
background: rgba(0,0,0,0);
font-weight: 500
}
}
.section-title {
margin-bottom: 15px;
position: relative;
}
.section-title .more {
position: absolute;
right: 0;
top: 50%;
-webkit-transform: translateY(-50%);
-ms-transform: translateY(-50%);
transform: translateY(-50%);
font-size: 14px;
font-weight: 400;
color: #adafb8
}
.section-title .more em {
font-style: normal;
color: #3385ff
}
.section-title .more:hover {
color: #3385ff
}
/*模块*/
.container {
width: 100%;
margin: 0 auto;
padding: 0 15px;
position: relative;
overflow: hidden;
*zoom: 1
}
@media (min-width:768px) {
.container {
overflow: visible;
max-width: 1330px
}
}
.container:after,.container:before {
content: "";
height: 0;
line-height: 0;
display: block;
visibility: none;
clear: both
}
.container .row {
margin: 0 -7.3333px
}
.container .col-1-4,.container .col-2-4,.container .col-3-4 {
float: left;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
padding: 0 7.3333px;
width: 100%
}
@media (min-width:768px) {
.container .col-1-4 {
width: 50%
}
}
@media (min-width:1024px) {
.container .col-1-4 {
width: 25%
}
}
@media (min-width:768px) {
.container .col-2-4 {
width: 100%
}
}
@media (min-width:1024px) {
.container .col-2-4 {
width: 50%;
padding-right: 8px
}
}
@media (min-width:768px) {
.container .col-3-4 {
width: 100%
}
}
@media (min-width:1024px) {
.container .col-3-4 {
width: 75%;
padding-right: 8.6666px
}
}
.home-section-jichu {
/* display: none; */ /* 移动端不显示 */
background: #eff3f5;
padding: 0 0 60px
}
@media (min-width:768px) {
.home-section-jichu {
display: block
}
}
.home-section-jichu .section-title {
margin-bottom: 20px
}
.home-section-jichu .items {
overflow: hidden;
margin: 0 -16px 30px
}
.home-section-jichu .items .item-wrap {
float: left;
width: 33.3333%;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
padding: 16px
}
.home-section-jichu .items .item {
background: #fff;
-webkit-border-radius: 6px;
border-radius: 6px;
overflow: hidden;
-webkit-transition: all .2s;
-o-transition: all .2s;
transition: all .2s
}
.home-section-jichu .items .item:hover {
-webkit-transform: translateY(-5px);
-ms-transform: translateY(-5px);
transform: translateY(-5px)
}
.home-section-jichu .items a {
display: block
}
.home-section-jichu .items .item-thumb .thumb {
padding-top: 58.25%
}
.home-section-jichu .items .item-thumb .thumb:hover {
opacity: .8
}
.home-section-jichu .items .item-main {
padding: 26px 20px
}
.home-section-jichu .items .item-main h2 {
font-size: 20px;
color: #3c3c3c;
margin-bottom: 10px;
line-height: 1.5;
height: 1.5em;
overflow: hidden
}
.home-section-jichu .items .item-main h4 {
font-size: 14px;
color: #a5a8b1;
font-weight: 400;
line-height: 1.5;
height: 3em;
overflow: hidden;
margin-bottom: 20px
}
.home-section-jichu .items .item-main h5 {
position: relative
}
.home-section-jichu .items .item-main h5 .avatars {
display: none
}
@media (min-width:1024px) {
.home-section-jichu .items .item-main h5 .avatars {
display: inline
}
}
.home-section-jichu .items .item-main h5 .avatars em {
display: none;
width: 30px;
margin: 0 5px
}
.home-section-jichu .items .item-main h5 .avatars em:first-child,.home-section-jichu .items .item-main h5 .avatars em:nth-child(2) {
display: inline-block
}
@media (min-width:1330px) {
.home-section-jichu .items .item-main h5 .avatars em {
display: inline-block
}
}
.home-section-jichu .items .item-main h5 .avatars em .thumb {
padding-top: 100%;
-webkit-border-radius: 100%;
border-radius: 100%
}
.home-section-jichu .items .item-main h5 .btn {
display: inline-block;
background: #e5f0ff;
color: #3385ff;
font-size: 14px;
font-weight: 400;
line-height: 40px;
height: 40px;
padding: 0 2em
}
@media (min-width:1024px) {
.home-section-jichu .items .item-main h5 .btn {
display: block;
position: absolute;
right: 0;
top: 0
}
}
.home-section-jichu .items .item-main h5 .btn:hover {
background: #3385ff;
color: #fff
}
/*图片*/
.thumb {
display: block;
width: 100%;
height: 0;
padding-top: 66.7%;
background-position: 50%;
background-repeat: no-repeat;
-webkit-background-size: cover;
background-size: cover;
background-color: rgba(0,0,0,0);
position: relative;
overflow: hidden;
}
/*按钮*/
.btn {
display: block;
cursor: pointer;
-webkit-border-radius: 3px;
border-radius: 3px;
text-align: center;
line-height: 2.4;
outline: none;
border: none;
}
@media (max-width: 767px) {
.home-section-jichu .items .item-wrap {
width: 100%; /* 使得每个项目在小屏幕上占据100%宽度 */
padding: 16px; /* 可以调整间距以满足设计需求 */
}
/* 如果有其他需要单独显示的列,也可以在这里设置 */
.container .col-1-4,
.container .col-2-4,
.container .col-3-4 {
width: 100%; /* 所有列都将变为100%宽度 */
padding: 0 15px; /* 这里恢复了原来的内边距 */
}
}
/*专题*/
.module-collection{
padding: 32px 0;
}
.collection-out > ul li{
width:25%;
}
.home-collection-in{
display: flex;
align-items: center;
background:none;
}
.home-collection-info h2{
font-size: 16px;
color: #fff;
font-weight: normal;
}
.home-collection .home-collection-content{
padding:20px;
border-radius: 4px;
}
.home-collection-content > div > div.home-collection-image{
width: auto;
}
.home-collection-content > div > div.home-collection-info{
display: block;
flex:1;
width:auto;
}
.home-collection-in .home-collection-thumb{
position: relative;
width:72px;
height: 72px;
overflow: hidden;
border-radius: 4px;
}
.home-collection-info h2{
height: auto;
margin: 0 20px 8px;
}
.home-collection-row-1{
font-size: 14px;
border:none;
padding-bottom: 0;
color:rgba(255,255,255,.8);
}
/*首页文章缩略图鼠标悬浮放大特效-https://www.xcbtmw.com/29409.html*/
.post-thumb {
transition: .35s;
}
.post-thumb:hover {
-ms-transform: scale(1.100);
-moz-transform: scale(1.100);
-webkit-transform: scale(1.100);
transform: scale(1.100)
}
/*首页文章缩略图鼠标悬浮放大特效-https://www.xcbtmw.com/29409.html*/
/*隐藏导航*/
.header-banner {position: absolute;height: 1px;}
.header-banner-content {height: 0px;position: absolute;}
.header-banner-content > div {
position: absolute;
top: 13px;
right: 50px;
}
.header.logo-left {
position: relative;
z-index: 1;
}
.site-header{height: 50px;}
.site.up .site-header-in{transform: translate(0,-60px);}
.header-banner-left {
display: none !important;
}
/* 导航 */
.home-section-division {
background: #fff;
}
.container {
width: 100%;
max-width: 1330px;
margin: 0 auto;
padding: 0 15px;
position: relative;
overflow: hidden;
}
@media (min-width: 768px) {
.container {
overflow: visible;
}
}
/* 主要区域样式 */
.home-section-division .home-division {
overflow: hidden;
}
.home-section-division .home-division a {
color: #525252;
display: block;
padding: 20px 0 10px;
position: relative;
box-sizing: border-box;
width: 100%;
text-align: center;
transition: all 0.3s ease;
}
@media (min-width: 768px) {
.home-section-division .home-division a {
text-align: left;
padding: 22px 10px 30px 50px;
}
}
@media (min-width: 1330px) {
.home-section-division .home-division a {
padding-right: 60px;
padding-left: 106px;
}
}
/* 悬停效果 */
.home-section-division .home-division a:hover {
background-color: #f3f8ff;
}
.home-section-division .home-division a:hover .item-thumb,
.home-section-division .home-division a:hover h3,
.home-section-division .home-division a:hover p {
color: #3385ff;
}
/* 列表样式 */
.home-section-division .home-division ul {
margin: 0 -14px;
overflow: hidden;
}
.home-section-division .home-division li {
float: left;
line-height: 1;
width: 25%;
box-sizing: border-box;
padding: 0 14px;
}
/* 标题样式 */
.home-section-division .home-division li h3 {
font-size: 13px;
line-height: 1;
margin: 10px 0;
color: #43484d;
font-weight: 400;
transition: color 0.3s ease;
}
@media (min-width: 768px) {
.home-section-division .home-division li h3 {
font-size: 18px;
font-weight: 700;
}
}
/* "Go" 按钮样式 */
.home-section-division .home-division li h3 .go {
background: #3385ff;
display: none;
height: 20px;
line-height: 20px;
padding: 2px 8px 2px 10px;
border-radius: 20px;
color: #fff;
font-weight: 400;
font-size: 12px;
text-transform: uppercase;
vertical-align: top;
transition: all 0.3s ease;
position: relative;
}
@media (min-width: 1024px) {
.home-section-division .home-division li h3 .go {
display: inline-flex;
align-items: center;
}
}
/* 箭头样式 */
.home-section-division .home-division li h3 .go::after {
content: '';
display: inline-block;
width: 6px;
height: 6px;
border-top: 2px solid #fff;
border-right: 2px solid #fff;
transform: rotate(45deg);
margin-left: 5px;
transition: transform 0.3s ease;
}
.home-section-division .home-division li h3 .go:hover::after {
transform: rotate(45deg) translate(2px, -2px);
}
/* 描述文本样式 */
.home-section-division .home-division li p {
font-size: 13px;
color: #9a9a9a;
display: none;
transition: color 0.3s ease;
}
@media (min-width: 1024px) {
.home-section-division .home-division li p {
display: block;
}
}
/* 缩略图样式 */
.home-section-division .home-division li .item-thumb {
font-size: 28px;
transition: color 0.3s ease;
}
@media (max-width: 1023px) {
.home-section-division .home-division li .item-thumb {
color: #3385ff;
}
}
@media (min-width: 768px) {
.home-section-division .home-division li .item-thumb {
position: absolute;
left: 5px;
top: 20px;
font-size: 40px;
}
}
@media (min-width: 1330px) {
.home-section-division .home-division li .item-thumb {
top: 30px;
left: 50px;
}
}
/* 特殊项目样式 */
@media (min-width: 1024px) {
.home-section-division .home-division li .item {
background: #fff;
transition: all .3s;
color: #525252;
}
.home-section-division .home-division li .item:hover {
background: #f3f8ff;
color: #3385ff;
}
.home-section-division .home-division li .item:hover .item-thumb,
.home-section-division .home-division li .item:hover h3,
.home-section-division .home-division li .item:hover p {
color: #3385ff;
}
}
/* 图标样式 */
[class^="icon-"]:before, [class*=" icon-"]:before {
font-family: "fontello";
font-style: normal;
font-weight: normal;
speak: none;
display: inline-block;
text-decoration: inherit;
width: 1em;
text-align: center;
font-variant: normal;
text-transform: none;
line-height: 1em;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
transition: content 0.3s ease;
}
.icon-inspiration-nav-1:before { content: 'N'; }
.home-section-division .home-division a:hover .icon-inspiration-nav-1:before { content: "I"; }
.icon-tool-nav-1:before { content: 'P'; }
.home-section-division .home-division a:hover .icon-tool-nav-1:before { content: "N"; }
.icon-course-nav-1:before { content: 'C'; }
.home-section-division .home-division a:hover .icon-course-nav-1:before { content: "K"; }
.icon-tree:before { content: 'V'; }
/* 全宽页面样式 */
.page-template-full-width .content-areaa {
max-width: 0;
left: 0;
margin: 0;
border: 0;
padding: 0;
}
.page-template-full-width .site {
margin: 0;
}
.single .content-areaa,
.page .content-areaa,
.links-register .content-areaa {
max-width: 100%;
margin-top: -10px;
margin-bottom: -66px;
flex: 1;
}
温馨提示: