From 6f4ba4a4f72fd1adb8c7066446c88be99dd8f6a7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tanel=20P=C3=B5ld?= Date: Sat, 29 Jun 2024 12:23:21 +0300 Subject: [PATCH] [TASK] improve styles --- Resources/Public/Css/pagelist.css | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/Resources/Public/Css/pagelist.css b/Resources/Public/Css/pagelist.css index 25355b7..59edffb 100644 --- a/Resources/Public/Css/pagelist.css +++ b/Resources/Public/Css/pagelist.css @@ -2,6 +2,14 @@ box-sizing: border-box; } +.pagelist figure { + display: block; + margin-block-start: 0; + margin-block-end: 0; + margin-inline-start: 0; + margin-inline-end: 0; +} + .pagelist img.image, .pagelist .img-dummy { width: 100%; @@ -45,8 +53,9 @@ grid-template-columns: repeat(auto-fill, minmax(min(100%, 21rem), 1fr)); grid-gap: 3rem; } -.pagelist .card { -} + +.pagelist .card {} + .pagelist .card .title { padding: 0.2em 0; margin: 0;