aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/assets/css
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2022-10-28 08:37:22 +0200
committerEgor Tensin <Egor.Tensin@gmail.com>2022-10-28 11:11:57 +0200
commitcc2273f7af3a56e2b7198290d4c337e146a4213a (patch)
treeeee77d02967b53806c0dc41a65f6d6bfa8832640 /assets/css
parentposts: redesign feed again (diff)
downloadjekyll-theme-cc2273f7af3a56e2b7198290d4c337e146a4213a.tar.gz
jekyll-theme-cc2273f7af3a56e2b7198290d4c337e146a4213a.zip
posts: narrower feed on mobile
Diffstat (limited to '')
-rw-r--r--assets/css/jekyll-theme/posts.css8
1 files changed, 8 insertions, 0 deletions
diff --git a/assets/css/jekyll-theme/posts.css b/assets/css/jekyll-theme/posts.css
index 1e0fc47..25d75ba 100644
--- a/assets/css/jekyll-theme/posts.css
+++ b/assets/css/jekyll-theme/posts.css
@@ -4,6 +4,14 @@
align-items: baseline;
column-gap: 1.5em;
}
+@media(max-width: 480px) {
+ .flex-header {
+ column-gap: 1em;
+ }
+ .feed-entry .hide-on-mobile {
+ display: none;
+ }
+}
.flex-header-left, .flex-header-right {
flex: none;