From 2e827e3ff96d8a5b7b18564e59bb1e739dd0ef2f Mon Sep 17 00:00:00 2001 From: Scott Reilly Date: Thu, 25 Jan 2024 23:05:34 +0000 Subject: [PATCH] Breathe: Add CSS for Core Performance team's SVG badge. Props krupalpanchal, coffee2code. See #6428. git-svn-id: https://meta.svn.wordpress.org/sites/trunk@13152 74240141-8908-4e6f-9713-ba540dce6ec7 --- .../wp-content/themes/pub/wporg-breathe/style.css | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/wordpress.org/public_html/wp-content/themes/pub/wporg-breathe/style.css b/wordpress.org/public_html/wp-content/themes/pub/wporg-breathe/style.css index 8b0716b0b0..f442d14d97 100644 --- a/wordpress.org/public_html/wp-content/themes/pub/wporg-breathe/style.css +++ b/wordpress.org/public_html/wp-content/themes/pub/wporg-breathe/style.css @@ -1643,6 +1643,14 @@ h2.toc-heading + h3.toc-heading:target { #masthead li.timeline a:before { content: "\f321"; } #masthead li.browser a:before { content: "\f475"; } +.icon-core-performance { + background-image: url("data:image/svg+xml,%3C%3Fxml version='1.0' encoding='UTF-8'%3F%3E%3Csvg version='1.1' viewBox='0 0 94 94' xmlns='http://www.w3.org/2000/svg' xmlns:cc='http://creativecommons.org/ns%23' xmlns:dc='http://purl.org/dc/elements/1.1/' xmlns:rdf='http://www.w3.org/1999/02/22-rdf-syntax-ns%23'%3E%3Cdefs%3E%3Cstyle%3Epath%7Bfill:%23555;%7D%3C/style%3E%3C/defs%3E%3Cpath d='m39.21 20.85h-11.69c-1.38 0-2.5 1.12-2.5 2.5v11.69c0 1.38 1.12 2.5 2.5 2.5h11.69c1.38 0 2.5-1.12 2.5-2.5v-11.69c0-1.38-1.12-2.5-2.5-2.5z'/%3E%3Cpath d='M41.71,58.96v11.69c0,.66-.26,1.3-.73,1.77-.47,.47-1.11,.73-1.77,.73h-11.69c-.66,0-1.3-.26-1.77-.73-.47-.47-.73-1.11-.73-1.77v-21.37c0-.4,.1-.79,.28-1.14,.03-.06,.07-.12,.1-.18,.21-.33,.49-.61,.83-.82l11.67-7.04c.44-.27,.95-.39,1.47-.36,.51,.03,1,.23,1.4,.55,.26,.21,.47,.46,.63,.75,.16,.29,.26,.61,.29,.94,.02,.11,.02,.22,.02,.34v5.38s0,.07,0,.11v11.08s0,.04,0,.07Z'/%3E%3Cpath d='M68.98,30.23v16.84c0,.33-.06,.65-.19,.96-.13,.3-.31,.58-.54,.81l-6.88,6.88c-.23,.23-.51,.42-.81,.54-.3,.13-.63,.19-.96,.19h-13.15c-.66,0-1.3-.26-1.77-.73-.47-.47-.73-1.11-.73-1.77v-11.69c0-.66,.26-1.3,.73-1.77,.47-.47,1.11-.73,1.77-.73h13.08s1.11,0,1.11-1.11-1.11-1.11-1.11-1.11h-13.08c-.66,0-1.3-.26-1.77-.73s-.73-1.11-.73-1.77v-11.69c0-.66,.26-1.3,.73-1.77,.47-.47,1.11-.73,1.77-.73h13.15c.33,0,.65,.06,.96,.19,.3,.13,.58,.31,.81,.54l6.88,6.88c.23,.23,.42,.51,.54,.81,.13,.3,.19,.63,.19,.96Z'/%3E%3C/svg%3E%0A"); + background-position: center; + background-repeat: no-repeat; + height: 24px; + width: 24px; +} + /* Override wp4.css form styles for o2 */ #page .text { height: auto !important;