186 lines
4.6 KiB
CSS
186 lines
4.6 KiB
CSS
.detail-page {
|
|
min-height: 1587px;
|
|
background: url(./static/header-bg.bae299f7.png), #f7fbff;
|
|
background-repeat: no-repeat;
|
|
background-size: 100% 389px;
|
|
position: relative;
|
|
padding-bottom: 0;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
}
|
|
.detail-page .detail-header {
|
|
width: 1600px;
|
|
height: 389.33px;
|
|
padding-top: 26px;
|
|
margin-bottom: 26px;
|
|
}
|
|
.detail-page .detail-header .breadcrumb {
|
|
font-size: 14px;
|
|
color: #666;
|
|
margin-bottom: 24px;
|
|
position: relative;
|
|
height: 20px;
|
|
}
|
|
.detail-page .detail-header .breadcrumb .breadcrumb-link {
|
|
cursor: pointer;
|
|
}
|
|
.detail-page .detail-header .breadcrumb .breadcrumb-link a {
|
|
color: #164ce4;
|
|
}
|
|
.detail-page .detail-header .breadcrumb .breadcrumb-current {
|
|
color: #091221;
|
|
}
|
|
.detail-page .detail-header .header-content {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
}
|
|
.detail-page .detail-header .header-content .article-header .article-tag {
|
|
display: inline-block;
|
|
width: 83px;
|
|
height: 29px;
|
|
background: linear-gradient(266.44deg, #ffc3a8 2.19%, #dadfff 51.91%, #7cabff 101.15%);
|
|
border: 1px solid;
|
|
border-color: rgba(255, 255, 255, 0.6);
|
|
border-radius: 5px;
|
|
margin-bottom: 16px;
|
|
text-align: center;
|
|
line-height: 29px;
|
|
font-family: alibabaReg;
|
|
color: #09176f;
|
|
font-size: 15px;
|
|
}
|
|
.detail-page .detail-header .header-content .article-header .article-title {
|
|
width: 694px;
|
|
height: 96px;
|
|
line-height: 50px;
|
|
font-family: alibabaPuhuiM;
|
|
color: #091221;
|
|
font-size: 33px;
|
|
margin: 0 0 24px 0;
|
|
}
|
|
.detail-page .detail-header .header-content .article-header .article-meta {
|
|
display: flex;
|
|
align-items: center;
|
|
grid-gap: 16px;
|
|
gap: 16px;
|
|
height: 25px;
|
|
}
|
|
.detail-page .detail-header .header-content .article-header .article-meta .meta-group {
|
|
display: flex;
|
|
align-items: center;
|
|
grid-gap: 12px;
|
|
gap: 12px;
|
|
}
|
|
.detail-page .detail-header .header-content .article-header .article-meta .meta-group .meta-icon {
|
|
height: 12px;
|
|
}
|
|
.detail-page .detail-header .header-content .article-header .article-meta .meta-group .meta-text {
|
|
line-height: 40px;
|
|
font-family: alibabaReg;
|
|
color: #223452;
|
|
font-size: 16px;
|
|
}
|
|
.detail-page .detail-header .header-content .article-header .article-meta .meta-divider {
|
|
width: 1px;
|
|
height: 11px;
|
|
background-color: #e0e0e0;
|
|
}
|
|
.detail-page .detail-header .header-content .banner-section {
|
|
width: 520px;
|
|
height: 297px;
|
|
background: rgba(15, 57, 234, 0.04);
|
|
border: 1px solid;
|
|
border-color: #ffffff;
|
|
border-radius: 22px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
.detail-page .detail-header .header-content .banner-section .banner-image {
|
|
width: 460px;
|
|
height: 237px;
|
|
object-fit: cover;
|
|
border-radius: 18px;
|
|
}
|
|
.detail-page .content-wrapper {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
grid-gap: 40px;
|
|
gap: 40px;
|
|
width: 1600px;
|
|
}
|
|
.detail-page .content-wrapper .article-content {
|
|
padding: 40px;
|
|
overflow: hidden;
|
|
flex: 1 1;
|
|
}
|
|
.detail-page .content-wrapper .article-content .markdown-body {
|
|
color: #333;
|
|
}
|
|
.detail-page .content-wrapper .sidebar {
|
|
position: sticky;
|
|
width: 300px;
|
|
top: 90px;
|
|
align-self: start;
|
|
flex-shrink: 0;
|
|
}
|
|
.detail-page .content-wrapper .sidebar .sidebar-card {
|
|
width: 300px;
|
|
background: #ffffff;
|
|
border-radius: 12px;
|
|
overflow: hidden;
|
|
}
|
|
.detail-page .content-wrapper .sidebar .sidebar-card .next-article {
|
|
padding: 24px;
|
|
}
|
|
.detail-page .content-wrapper .sidebar .sidebar-card .next-article .next-title {
|
|
font-size: 18px;
|
|
color: #091221;
|
|
margin: 0 0 20px 0;
|
|
}
|
|
.detail-page .content-wrapper .sidebar .sidebar-card .next-article .next-list {
|
|
list-style: none;
|
|
padding: 0;
|
|
margin: 0;
|
|
}
|
|
.detail-page .content-wrapper .sidebar .sidebar-card .next-article .next-list .next-item {
|
|
font-size: 14px;
|
|
padding: 12px 0;
|
|
border-bottom: 1px solid #f0f0f0;
|
|
cursor: pointer;
|
|
transition: color 0.3s;
|
|
font-family: alibabaReg;
|
|
}
|
|
.detail-page .content-wrapper .sidebar .sidebar-card .next-article .next-list .next-item a {
|
|
color: #091221;
|
|
}
|
|
.detail-page .content-wrapper .sidebar .sidebar-card .next-article .next-list .next-item:last-child {
|
|
border-bottom: none;
|
|
}
|
|
@media (max-width: 1200px) {
|
|
.detail-page {
|
|
width: 100%;
|
|
padding: 60px 20px 0;
|
|
}
|
|
.detail-page .content-wrapper {
|
|
grid-template-columns: 1fr;
|
|
grid-gap: 24px;
|
|
gap: 24px;
|
|
}
|
|
.detail-page .sidebar {
|
|
position: static;
|
|
margin-top: 40px;
|
|
}
|
|
.detail-page .floating-actions {
|
|
right: 20px;
|
|
bottom: 20px;
|
|
}
|
|
}
|
|
/* stylelint-disable no-duplicate-selectors */
|
|
/* stylelint-disable */
|
|
/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */
|
|
|