Modified: 优化 CSS 样式

This commit is contained in:
XPoet 2020-03-27 21:38:48 +08:00
parent 33e1f2fc06
commit 1c51f444fa
2 changed files with 10 additions and 14 deletions

View File

@ -6,31 +6,27 @@
.article-post-item { .article-post-item {
margin-bottom 30px margin-bottom: 30px;
padding-bottom 30px padding-bottom: 30px;
border-bottom: 1px solid $border-color; border-bottom: 1px solid $border-color;
.article-post-title { .article-post-title {
h3 { h3 {
text-transform: uppercase;
font-weight: 600; font-weight: 600;
color: $article-title-color; color: $article-title-color;
font-size: 22px; font-size: 22px;
margin: 0; margin: 0;
} }
a { a {
color: $article-title-color; color: $article-title-color;
} }
} }
.article-post-content { .article-post-content {
padding 15px 0 padding: 15px 0;
line-height 2em line-height: 2em;
} }
} }
@ -38,18 +34,18 @@
.paginator { .paginator {
padding-bottom 40px padding-bottom: 40px;
.page-number { .page-number {
display none !important display: none !important;
} }
a.prev { a.prev {
float left float: left;
} }
a.next { a.next {
float right float: right;
} }
} }

View File

@ -60,7 +60,8 @@
img { img {
padding: 1px; padding: 2px;
margin: 2px 0;
width: 100%; width: 100%;
border: 1px solid $border-color; border: 1px solid $border-color;
} }
@ -80,7 +81,6 @@
padding: 4px; padding: 4px;
border: solid $border-color; border: solid $border-color;
border-width: 0 1px 1px 0; border-width: 0 1px 1px 0;
} }
} }
} }