From a01dc62468e01e25f2e07f2e587a1b8266a3ac25 Mon Sep 17 00:00:00 2001 From: Divyansh Singh Date: Fri, 24 Mar 2023 01:23:40 +0530 Subject: [PATCH 1/2] 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 ca1c2dfa..9d8c9558 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 61ae7a48..be588e9b 100644 --- a/docs/_includes/layouts/base.njk +++ b/docs/_includes/layouts/base.njk @@ -18,8 +18,6 @@ {% if feedTitle and feedUrl %} {% endif %} - - From 08afad5d819468d315f2400f9c6affd4de1620be Mon Sep 17 00:00:00 2001 From: Divyansh Singh Date: Fri, 24 Mar 2023 01:25:15 +0530 Subject: [PATCH 2/2] end with newline --- docs/_includes/index.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/_includes/index.css b/docs/_includes/index.css index 9d8c9558..f1d4c57f 100644 --- a/docs/_includes/index.css +++ b/docs/_includes/index.css @@ -547,4 +547,4 @@ main .elv-toc + h1 .direct-link { .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 +}