From 2cecfe47ab80cdc4c24a5103316faebb6bc0638b Mon Sep 17 00:00:00 2001 From: aparna <36874105+aparna-u@users.noreply.github.com> Date: Sun, 30 Jul 2023 19:54:23 +0530 Subject: [PATCH] feat: card image styling added --- static/style.css | 17 +++++++++++++++++ templates/turnup/categoy.html | 4 ++-- 2 files changed, 19 insertions(+), 2 deletions(-) diff --git a/static/style.css b/static/style.css index 88b25bd..2098ecf 100644 --- a/static/style.css +++ b/static/style.css @@ -285,6 +285,23 @@ border: 1px solid black; } + .category-cards .row { + justify-content: center; +} + +.category-cards .col-md-4 { + display: flex; + align-items: stretch; +} +.category-cards .col-md-8 { + display: flex; + justify-content: center; +} +.category-cards .card-body { + display: flex; + align-items: center; +} + .post-category { font-style: italic; font-size: 0.85rem; diff --git a/templates/turnup/categoy.html b/templates/turnup/categoy.html index f654cfe..ecf21b4 100644 --- a/templates/turnup/categoy.html +++ b/templates/turnup/categoy.html @@ -6,13 +6,13 @@
{{cat.description | safe}}