1
0
mirror of https://github.com/cotes2020/jekyll-theme-chirpy.git synced 2026-01-02 04:53:17 +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:
Cotes Chung
2023-07-02 20:16:36 +08:00
parent 2bbfda79ad
commit e07e6d46d7
7 changed files with 23 additions and 22 deletions

View File

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