From e823e66949b3f8989f954bb6f47088df8f381f04 Mon Sep 17 00:00:00 2001 From: Anton Titovets Date: Thu, 1 Aug 2024 09:05:12 +0300 Subject: [PATCH] Update custom.css --- docs/docusaurus/src/css/custom.css | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/docs/docusaurus/src/css/custom.css b/docs/docusaurus/src/css/custom.css index 59b8c6023..d484c7594 100644 --- a/docs/docusaurus/src/css/custom.css +++ b/docs/docusaurus/src/css/custom.css @@ -236,4 +236,25 @@ li > a.menu__link { .button:-webkit-details-marker { display: none; +} + +.navbar-community-menu:after { + transition: opacity 0.2s; + content: ""; + width: 24px; + height: 24px; + display: flex; + background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white' width='24px' height='24px'%3E%3Cpath d='M0 0h24v24H0z' fill='none'/%3E%3Cpath d='M20 2H4c-1.1 0-1.99.9-1.99 2L2 22l4-4h14c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zM6 9h12v2H6V9zm8 5H6v-2h8v2zm4-6H6V6h12v2z'/%3E%3C/svg%3E"); + background-repeat: no-repeat; + background-position: center; + margin-right: 12px; +} + +.navbar-community-menu:hover:after { + opacity: 0.5; +} + +.navbar-community-menu:after, .navbar-community-link:after { + border-style: none !important; + margin-left: -5px !important; } \ No newline at end of file