summaryrefslogtreecommitdiff
path: root/css/partials/post_gallery.css
diff options
context:
space:
mode:
authormuqiuhan <[email protected]>2023-02-28 09:58:51 +0000
committermuqiuhan <[email protected]>2023-02-28 09:58:51 +0000
commit7e2f3fca091c08771486df0b870ce187f869d363 (patch)
tree025e1b18a0d94c940a85eb631a7f48951efbc18d /css/partials/post_gallery.css
parent2605fd54aa163fcfc97fc265a300b1b54bf38543 (diff)
downloadblog-7e2f3fca091c08771486df0b870ce187f869d363.tar.gz
deploy: b780169745c17f9fc971299e923e5ca5669b5a22
Diffstat (limited to 'css/partials/post_gallery.css')
-rw-r--r--css/partials/post_gallery.css35
1 files changed, 35 insertions, 0 deletions
diff --git a/css/partials/post_gallery.css b/css/partials/post_gallery.css
new file mode 100644
index 00000000..663b46fe
--- /dev/null
+++ b/css/partials/post_gallery.css
@@ -0,0 +1,35 @@
+.post-gallery-list .h-line-secondary {
+ margin-top: $margin-m-1;
+}
+.post-gallery-list .h-line-secondary:last-child {
+ display: none;
+}
+.post-gallery-item {
+ display: flex;
+ margin-top: $margin-primary;
+ margin-bottom: $margin-m-1;
+}
+.post-gallery-item .post-info {
+ margin-right: $margin-l-0;
+ width: 50%;
+ display: flex;
+ flex-direction: column;
+}
+.post-gallery-item .post-info .post-title {
+ margin-bottom: $margin-m-1;
+}
+.post-gallery-item .post-img {
+ width: 50%;
+}
+@media (max-width: 480px) {
+ .post-gallery-item {
+ flex-wrap: wrap;
+ }
+ .post-gallery-item .post-info {
+ width: 100%;
+ }
+ .post-gallery-item .post-img {
+ width: 100%;
+ margin-top: $margin-m-1;
+ }
+}