mirror of
https://github.com/cotes2020/jekyll-theme-chirpy.git
synced 2026-01-14 02:46:06 +00:00
style: improve SCSS style
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
|
||||
.pagination {
|
||||
color: var(--btn-patinator-text-color);
|
||||
font-family: 'Lato', sans-serif;
|
||||
font-family: Lato, sans-serif;
|
||||
|
||||
a:hover {
|
||||
text-decoration: none;
|
||||
@@ -49,9 +49,8 @@
|
||||
&:last-child .page-link {
|
||||
border-radius: 50%;
|
||||
}
|
||||
} // .page-item
|
||||
|
||||
} // .pagination
|
||||
} /* .page-item */
|
||||
} /* .pagination */
|
||||
|
||||
#post-list {
|
||||
margin-top: 1rem;
|
||||
@@ -83,6 +82,18 @@
|
||||
em {
|
||||
@extend %normal-font-style;
|
||||
}
|
||||
|
||||
.pin {
|
||||
i {
|
||||
transform: rotate(45deg);
|
||||
padding-left: 3px;
|
||||
color: var(--pin-color);
|
||||
}
|
||||
|
||||
span {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.post-content {
|
||||
@@ -100,21 +111,8 @@
|
||||
-webkit-box-orient: vertical;
|
||||
}
|
||||
}
|
||||
|
||||
.pin {
|
||||
> i {
|
||||
transform: rotate(45deg);
|
||||
padding-left: 3px;
|
||||
color: var(--pin-color);
|
||||
}
|
||||
|
||||
> span {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
} // .post-preview
|
||||
} // #post-list
|
||||
} /* .post-preview */
|
||||
} /* #post-list */
|
||||
|
||||
/* Hide SideBar and TOC */
|
||||
@media all and (max-width: 830px) {
|
||||
@@ -125,9 +123,7 @@
|
||||
&:not(:first-child):not(:last-child) {
|
||||
display: none;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@@ -165,15 +161,12 @@
|
||||
width: 2rem;
|
||||
height: 2rem;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
.page-index {
|
||||
display: none;
|
||||
}
|
||||
|
||||
} // .pagination
|
||||
|
||||
} /* .pagination */
|
||||
}
|
||||
|
||||
/* Panel hidden */
|
||||
|
||||
Reference in New Issue
Block a user