diff options
author | Matthew Lemon <y@yulqen.org> | 2024-09-01 19:55:34 +0100 |
---|---|---|
committer | Matthew Lemon <y@yulqen.org> | 2024-09-01 19:55:34 +0100 |
commit | 597a67f1d4c0a9b77d351cc1e1fe07f53d9f388d (patch) | |
tree | 390681e7311318b9f48e4926adf440f499687a24 /pyblackbird_cc/templates/resources/resource_card_featured.html | |
parent | c763111cdc6bcba0138886fa8ad7945f9688431b (diff) |
Drop shadows on the featured and standard resource panels
Diffstat (limited to '')
-rw-r--r-- | pyblackbird_cc/templates/resources/resource_card_featured.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pyblackbird_cc/templates/resources/resource_card_featured.html b/pyblackbird_cc/templates/resources/resource_card_featured.html index 2d11ee8..e920cef 100644 --- a/pyblackbird_cc/templates/resources/resource_card_featured.html +++ b/pyblackbird_cc/templates/resources/resource_card_featured.html @@ -1,7 +1,7 @@ {% load static %} {% load markdown_extras %} -<div class="card mx-2 mt-2 shadow-sm" style="border-color: {{ resource.main_resource_category_colour_css_class }}; border-width: 3px;"> +<div class="card mx-2 mt-2 my-card-shadow-sm" style="border-color: {{ resource.main_resource_category_colour_css_class }}; border-width: 1px;" onmouseover="this.classList.add('my-card-shadow-lg')" onmouseout="this.classList.remove('my-card-shadow-lg')"> <img class="card-img-top" src="{{ resource.thumbnail_urls|first }}" alt="{{ resource.thumbnail_filename }}"> |