diff options
author | Matthew Lemon <y@yulqen.org> | 2024-05-14 20:45:40 +0100 |
---|---|---|
committer | Matthew Lemon <y@yulqen.org> | 2024-05-14 20:45:40 +0100 |
commit | 493dc0423f08fdd8ad99c24ef768979952fb9c56 (patch) | |
tree | ac9a7546efb30e029a6c7c2311a43fabf51649f6 | |
parent | c976b9f3685fb506f3095dbf705f864e21121f93 (diff) |
Further tinkering
Diffstat (limited to '')
-rw-r--r-- | pyblackbird_cc/static/css/project.css | 1 | ||||
-rw-r--r-- | pyblackbird_cc/templates/resources/resource_list.html | 5 |
2 files changed, 4 insertions, 2 deletions
diff --git a/pyblackbird_cc/static/css/project.css b/pyblackbird_cc/static/css/project.css index 401c8c4..0f95690 100644 --- a/pyblackbird_cc/static/css/project.css +++ b/pyblackbird_cc/static/css/project.css @@ -42,6 +42,7 @@ h1 { a { font-size: inherit; color: #394f49; + font-weight: bold; text-decoration: none; } diff --git a/pyblackbird_cc/templates/resources/resource_list.html b/pyblackbird_cc/templates/resources/resource_list.html index 98c70e9..c978b31 100644 --- a/pyblackbird_cc/templates/resources/resource_list.html +++ b/pyblackbird_cc/templates/resources/resource_list.html @@ -32,12 +32,13 @@ <div class="row my-4"> <div class="col"> {% if resource_list %} - <div class="d-flex flex-row justify-content-start flex-wrap"> + <div class="d-flex flex-row justify-content-between flex-wrap"> {% for resource in resource_list %} <div class="card mx-2 mt-2" style="width: 22rem;"> - <div class="card-header"> + <div class="card-header position-relative"> <div class="text-success"> Featured + <!-- <span class="position-absolute top-0 start-100 translate-middle badge rounded-pill bg-danger">£5.99!</span> --> </div> </div> <img class="card-img-top" src="{{ resource.thumbnail_urls|first }}" |