From 8d1f465ceb2f5e357b19b6e4c8468703725b4795 Mon Sep 17 00:00:00 2001 From: Matthew Lemon Date: Wed, 15 May 2024 14:30:16 +0100 Subject: Fix the badges on the resource list. --- pyblackbird_cc/static/css/custom.css | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) (limited to 'pyblackbird_cc/static/css') diff --git a/pyblackbird_cc/static/css/custom.css b/pyblackbird_cc/static/css/custom.css index 5df7099..3698692 100644 --- a/pyblackbird_cc/static/css/custom.css +++ b/pyblackbird_cc/static/css/custom.css @@ -6149,6 +6149,27 @@ progress { display: none !important; } } +.badge { + display: inline-block; + padding: 0.35em 0.65em; + font-size: 0.75em; + font-weight: 700; + line-height: 1; + color: #fff; + text-align: center; + white-space: nowrap; + vertical-align: baseline; + border-radius: 0.25rem; +} +.badge:empty { + display: none; +} + +.btn .badge { + position: relative; + top: -1px; +} + h2, .h2 { color: #51635e; } -- cgit v1.2.3