posts: add hidden 720x720 thumbnail option (#4944).

Allow 720x720 thumbnails with https://danbooru.donmai.us/posts?size=720.
This commit is contained in:
evazion
2021-12-28 11:36:14 -06:00
parent 6d7a139ef1
commit 572b1b74f7
4 changed files with 9 additions and 2 deletions

View File

@@ -28,6 +28,7 @@
&.post-gallery-225 .post-preview-container { height: 225px; }
&.post-gallery-270 .post-preview-container { height: 270px; }
&.post-gallery-360 .post-preview-container { height: 360px; }
&.post-gallery-720 .post-preview-container { height: 720px; }
}
&.post-gallery-150 .posts-container { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
@@ -37,6 +38,7 @@
&.post-gallery-270 .posts-container { grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); }
&.post-gallery-270w .posts-container { grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); }
&.post-gallery-360 .posts-container { grid-template-columns: repeat(auto-fill, minmax(360px, 1fr)); }
&.post-gallery-720 .posts-container { grid-template-columns: repeat(auto-fill, minmax(720px, 1fr)); }
@media screen and (max-width: 660px) {
.posts-container {
@@ -50,5 +52,6 @@
&.post-gallery-270 .posts-container { grid-template-columns: repeat(2, auto); }
&.post-gallery-270w .posts-container { grid-template-columns: repeat(2, auto); }
&.post-gallery-360 .posts-container { grid-template-columns: repeat(1, auto); }
&.post-gallery-720 .posts-container { grid-template-columns: repeat(1, auto); }
}
}