1
0
mirror of https://github.com/cotes2020/jekyll-theme-chirpy.git synced 2025-12-18 05:41:31 +00:00

Improve the SCSS code style

This commit is contained in:
Cotes Chung
2020-10-27 22:08:04 +08:00
parent 7d128769f6
commit 62aef9f850
8 changed files with 112 additions and 112 deletions

View File

@@ -10,7 +10,7 @@
#post-list {
margin-top: 1rem;
padding-right: .5rem;
padding-right: 0.5rem;
.post-preview {
padding-top: 1.5rem;
@@ -21,13 +21,13 @@
font-size: 1.4rem;
margin: 0;
~i { // pinned icon
font-size: .86rem;
font-size: 0.86rem;
}
}
.post-meta {
i {
font-size: .73rem;
font-size: 0.73rem;
&:not(:first-child) { // post-meta icons on the homepage
margin-left: 1.5rem;
}
@@ -35,8 +35,8 @@
}
.post-content {
margin-top: .6rem;
margin-bottom: .6rem;
margin-top: 0.6rem;
margin-bottom: 0.6rem;
color: var(--post-list-text-color);
>p {
/* Make preview shorter on the homepage */
@@ -128,7 +128,7 @@
}
.pagination {
font-size: .85rem;
font-size: 0.85rem;
.page-item .page-link {
width: 2.2rem;
height: 2.2rem;
@@ -142,4 +142,4 @@
#post-list {
padding-right: 0;
}
}
}