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

style(scss): fix style-lint media-feature-range-notation issue (#1072)

See also: https://stylelint.io/user-guide/rules/media-feature-range-notation/
This commit is contained in:
Cotes Chung
2023-06-04 12:29:33 +08:00
committed by GitHub
parent 29a8bc26bc
commit 1682ce9d7c
6 changed files with 21 additions and 21 deletions

View File

@@ -133,7 +133,7 @@
}
} /* #archives */
@media all and (max-width: 576px) {
@media all and (width <= 576px) {
#archives {
margin-top: -1rem;

View File

@@ -59,7 +59,7 @@
}
}
@media all and (max-width: 576px) {
@media all and (width <= 576px) {
#page-category,
#page-tag {
ul > li {

View File

@@ -139,7 +139,7 @@
} /* .pagination */
/* Tablet */
@media all and (min-width: 768px) {
@media all and (width >= 768px) {
#post-list {
%img-radius {
border-radius: 0 $base-radius $base-radius 0;
@@ -173,7 +173,7 @@
}
/* Hide SideBar and TOC */
@media all and (max-width: 830px) {
@media all and (width <= 830px) {
.pagination {
justify-content: space-evenly;
@@ -186,7 +186,7 @@
}
/* Sidebar is visible */
@media all and (min-width: 831px) {
@media all and (width >= 831px) {
#post-list {
margin-top: 2.5rem;
}
@@ -212,7 +212,7 @@
}
/* Panel is visible */
@media all and (min-width: 1200px) {
@media all and (width >= 1200px) {
#post-list {
padding-right: 0.5rem;
}

View File

@@ -380,7 +380,7 @@ h1 + .post-meta {
}
}
@media all and (max-width: 576px) {
@media all and (width <= 576px) {
.preview-img[data-src] {
margin-top: 2.2rem;
}
@@ -395,14 +395,14 @@ h1 + .post-meta {
}
}
@media all and (max-width: 768px) {
@media all and (width <= 768px) {
.post-content > p > img {
max-width: calc(100% + 1rem);
}
}
/* Hide SideBar and TOC */
@media all and (max-width: 849px) {
@media all and (width <= 849px) {
.post-navigation {
padding-left: 0;
padding-right: 0;