From 7e2f3fca091c08771486df0b870ce187f869d363 Mon Sep 17 00:00:00 2001 From: muqiuhan Date: Tue, 28 Feb 2023 09:58:51 +0000 Subject: deploy: b780169745c17f9fc971299e923e5ca5669b5a22 --- css/partials/post_gallery.css | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 css/partials/post_gallery.css (limited to 'css/partials/post_gallery.css') 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; + } +} -- cgit v1.2.3