mirror of
https://github.com/cotes2020/jekyll-theme-chirpy.git
synced 2026-01-10 00:46:30 +00:00
refactor: revert media query range notation (#1072)
Media queries range syntax not supported by Safari for iOS under 16.4
See also:
- https://caniuse.com/?search=media-queries
This reverts commit 1682ce9d7c.
This commit is contained in:
@@ -139,7 +139,7 @@
|
||||
} /* .pagination */
|
||||
|
||||
/* Tablet */
|
||||
@media all and (width >= 768px) {
|
||||
@media all and (min-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 (width <= 830px) {
|
||||
@media all and (max-width: 830px) {
|
||||
.pagination {
|
||||
justify-content: space-evenly;
|
||||
|
||||
@@ -186,7 +186,7 @@
|
||||
}
|
||||
|
||||
/* Sidebar is visible */
|
||||
@media all and (width >= 831px) {
|
||||
@media all and (min-width: 831px) {
|
||||
#post-list {
|
||||
margin-top: 2.5rem;
|
||||
}
|
||||
@@ -212,7 +212,7 @@
|
||||
}
|
||||
|
||||
/* Panel is visible */
|
||||
@media all and (width >= 1200px) {
|
||||
@media all and (min-width: 1200px) {
|
||||
#post-list {
|
||||
padding-right: 0.5rem;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user