diff options
Diffstat (limited to 'css/partials/post_gallery.css')
| -rw-r--r-- | css/partials/post_gallery.css | 35 |
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; + } +} |
