Add custom CSS for sustainability team badge. (#261)

Fixes #258.
This commit is contained in:
Paul Kevan 2024-06-26 13:34:00 +01:00 committed by GitHub
parent 176cea1a3d
commit 26e6def921
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 9 additions and 1 deletions

View file

@ -213,3 +213,11 @@
.badge-test-team:before {
color: rgb(136, 79, 174);
}
.badge-sustainability-team {
background: rgba(23, 127, 106, 0.25);
box-shadow: 0 0 0 4px rgb(23, 127, 106);
}
.badge-sustainability-team:before {
color: rgb(23, 127, 106);
}

View file

@ -298,7 +298,7 @@ function get_badge_classes( $team ) {
break;
case 'sustainability team':
$classes = array( 'badge-meta', 'dashicons-admin-site-alt3' );
$classes = array( 'badge-sustainability-team', 'dashicons-admin-site-alt3' );
break;
case 'test team':