更新样式
This commit is contained in:
parent
d475289530
commit
5d791d84ed
@ -581,7 +581,8 @@ pre code {
|
||||
.article-detail-container {
|
||||
}
|
||||
|
||||
.article-detail-container .article-header .trans {
|
||||
.article-detail-container .article-header .trans,
|
||||
.program-detail-container .program-header .trans {
|
||||
margin-bottom: 10px;
|
||||
color: #aaa;
|
||||
font-size: 12px;
|
||||
@ -591,51 +592,66 @@ pre code {
|
||||
.article-detail-container .article-content h2,
|
||||
.article-detail-container .article-content h3,
|
||||
.article-detail-container .article-content h4,
|
||||
.article-detail-container .article-content h5 {
|
||||
.article-detail-container .article-content h5,
|
||||
.program-detail-container .program-content h1,
|
||||
.program-detail-container .program-content h2,
|
||||
.program-detail-container .program-content h3,
|
||||
.program-detail-container .program-content h4,
|
||||
.program-detail-container .program-content h5 {
|
||||
font-weight: 700;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
.article-detail-container .article-content h1 {
|
||||
.article-detail-container .article-content h1,
|
||||
.program-detail-container .program-content h1 {
|
||||
font-size: 2rem;
|
||||
}
|
||||
|
||||
.article-detail-container .article-content h2 {
|
||||
.article-detail-container .article-content h2,
|
||||
.program-detail-container .program-content h2 {
|
||||
font-size: 1.75rem;
|
||||
}
|
||||
|
||||
.article-detail-container .article-content h3 {
|
||||
.article-detail-container .article-content h3,
|
||||
.program-detail-container .program-content h3 {
|
||||
font-size: 1.45rem;
|
||||
}
|
||||
|
||||
.article-detail-container .article-content h4 {
|
||||
.article-detail-container .article-content h4,
|
||||
.program-detail-container .program-content h4 {
|
||||
font-size: 1.25rem;
|
||||
}
|
||||
|
||||
.article-detail-container .article-content h5 {
|
||||
.article-detail-container .article-content h5,
|
||||
.program-detail-container .program-content h5 {
|
||||
font-size: 1rem;
|
||||
}
|
||||
|
||||
.article-detail-container .article-content video {
|
||||
.article-detail-container .article-content video,
|
||||
.program-detail-container .program-content video {
|
||||
width: 100%;
|
||||
margin: 10px auto;
|
||||
}
|
||||
|
||||
.article-detail-container .article-content span {
|
||||
.article-detail-container .article-content span,
|
||||
.program-detail-container .program-content span {
|
||||
margin: 0 5px;
|
||||
padding: 2px 6px;
|
||||
border-radius: 4px;
|
||||
}
|
||||
|
||||
.article-detail-container .article-content pre {
|
||||
.article-detail-container .article-content pre,
|
||||
.program-detail-container .program-content pre {
|
||||
margin-bottom: 2.5rem;
|
||||
}
|
||||
|
||||
.article-detail-container .article-content pre code {
|
||||
.article-detail-container .article-content pre code,
|
||||
.program-detail-container .program-content pre code {
|
||||
white-space: pre-wrap;
|
||||
word-wrap: break-word;
|
||||
}
|
||||
|
||||
.article-detail-container .article-content hr {
|
||||
.article-detail-container .article-content hr,
|
||||
.program-detail-container .program-content hr {
|
||||
margin: 40px auto;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user