From 16f0d764a174a8c60925d8c749aa2e3f34068ae3 Mon Sep 17 00:00:00 2001 From: Om Thorat Date: Fri, 18 Oct 2024 14:13:00 +0530 Subject: [PATCH] new notice board design --- bandhuapp/templates/landing_page.html | 5 +++-- static/css/bandhu.css | 26 +++++++++++++++++++++----- 2 files changed, 24 insertions(+), 7 deletions(-) diff --git a/bandhuapp/templates/landing_page.html b/bandhuapp/templates/landing_page.html index 33a58ed..a0a033d 100644 --- a/bandhuapp/templates/landing_page.html +++ b/bandhuapp/templates/landing_page.html @@ -121,8 +121,9 @@
  • - {{ act.title }} -

    {{ act.description|truncatechars:135 }}

    +
    + {{ act.title }} +

    {{ act.description|truncatechars:135 }}

    {% if act.start_date %}

    diff --git a/static/css/bandhu.css b/static/css/bandhu.css index 0107ed9..ba7abcf 100644 --- a/static/css/bandhu.css +++ b/static/css/bandhu.css @@ -644,9 +644,10 @@ } } + .recent-activity-card { padding: 10px !important; - background-color: #f2f1f1; + background-color: #f2f1f1a3; border-radius: 0; border-bottom-left-radius: 5px; border-bottom-right-radius: 5px; @@ -657,14 +658,29 @@ padding: 0; } +.recent-activity-ol { + list-style: none; + padding: 0; +} + +.recent-activity-ol { + list-style: none; + padding: 0; +} + +.recent-activity-li-header{ + width: inherit; + padding: 10px; + font-size: 16px; + background: #ff9800d4; + border-radius: 10px 10px 0px 0px !important; +} + .recent-activity-li { margin-top:5px; color: black; - padding: 10px !important; - padding-right: 40px !important; font-size: 18px !important; - border: 1px solid #ece5e5 !important; - border-radius: 5px !important; + border-radius: 10px !important; background-color: white !important; box-shadow: 0px 1px 0px 0px #d8d6d6 !important; }