From a01dc62468e01e25f2e07f2e587a1b8266a3ac25 Mon Sep 17 00:00:00 2001 From: Divyansh Singh Date: Fri, 24 Mar 2023 01:23:40 +0530 Subject: [PATCH] fix: remove extra links from docs css --- docs/_includes/index.css | 15 +++++++++++++++ docs/_includes/layouts/base.njk | 2 -- 2 files changed, 15 insertions(+), 2 deletions(-) diff --git a/docs/_includes/index.css b/docs/_includes/index.css index ca1c2df..9d8c955 100644 --- a/docs/_includes/index.css +++ b/docs/_includes/index.css @@ -533,3 +533,18 @@ main .elv-toc + h1 .direct-link { .header-anchor:hover::after { content: " 🔗"; } + +.mdi { + display: inline-block; + width: 1em; + height: 1em; + background-color: currentColor; + -webkit-mask: no-repeat center / 100%; + mask: no-repeat center / 100%; + -webkit-mask-image: var(--svg); + mask-image: var(--svg); +} + +.mdi.mdi-content-copy { + --svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cpath fill='black' d='M19 21H8V7h11m0-2H8a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h11a2 2 0 0 0 2-2V7a2 2 0 0 0-2-2m-3-4H4a2 2 0 0 0-2 2v14h2V3h12V1Z'/%3E%3C/svg%3E"); +} \ No newline at end of file diff --git a/docs/_includes/layouts/base.njk b/docs/_includes/layouts/base.njk index 61ae7a4..be588e9 100644 --- a/docs/_includes/layouts/base.njk +++ b/docs/_includes/layouts/base.njk @@ -18,8 +18,6 @@ {% if feedTitle and feedUrl %} {% endif %} - -