aboutsummaryrefslogtreecommitdiffstats
path: root/pyblackbird_cc/templates/resources
diff options
context:
space:
mode:
authorMatthew Lemon <y@yulqen.org>2024-07-11 20:52:20 +0100
committerMatthew Lemon <y@yulqen.org>2024-07-11 20:52:20 +0100
commit2c7dc01e289d39dcaac6761ff59870accc7575a8 (patch)
tree31c97777013419c3c9f19838e8054ccbfdbe2f4e /pyblackbird_cc/templates/resources
parente9fb79423a3dd6e2cda94014520ca751d7ca7cf5 (diff)
Very simple border round feature block for EY Literacy
Diffstat (limited to 'pyblackbird_cc/templates/resources')
-rw-r--r--pyblackbird_cc/templates/resources/resource_list.html5
1 files changed, 3 insertions, 2 deletions
diff --git a/pyblackbird_cc/templates/resources/resource_list.html b/pyblackbird_cc/templates/resources/resource_list.html
index 13d2a61..6f9edef 100644
--- a/pyblackbird_cc/templates/resources/resource_list.html
+++ b/pyblackbird_cc/templates/resources/resource_list.html
@@ -45,7 +45,8 @@
</div>
<div class="d-flex flex-row justify-content-between flex-wrap">
{% for resource in featured_resources %}
- <div class="card mx-2 mt-2 shadow-sm border border-2" style="width: 24rem;">
+ <!-- <div class="card mx-2 mt-2 shadow-sm ey_literacy_border" style="width: 24rem;"> -->
+ <div class="card mx-2 mt-2 shadow-sm ey_literacy_border" style="width: 24rem;">
<img class="card-img-top"
src="{{ resource.thumbnail_urls|first }}"
alt="{{ resource.thumbnail_filename }}" />
@@ -53,7 +54,7 @@
<h5 class="card-title"><a href="{% url 'resources:resource_detail' resource_id=resource.id %}">{{ resource.name }}</a></h5>
<div class="d-flex flex-row justify-content-start align-content-center">
<div>
- <span class="badge {{ resource.main_resource_category.colour_css_class }} me-2">{{ resource.main_resource_category_name }}</span>
+ <span class="badge {{ resource.main_resource_category_colour_css_class }} me-2">{{ resource.main_resource_category_name }}</span>
</div>
<div>
<span class="badge bg-secondary me-2">{{ resource.age_range }}</span>