From 7f8a2a17e2e7b337f7c7f0441d393be796b3fcc3 Mon Sep 17 00:00:00 2001 From: Sahitya Buddharaju Date: Mon, 20 May 2024 10:18:55 -0500 Subject: [PATCH] feat(links): add icon to identify external links --- src/css/custom.css | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/css/custom.css b/src/css/custom.css index c19ec51499..96a2ab48b6 100644 --- a/src/css/custom.css +++ b/src/css/custom.css @@ -139,6 +139,18 @@ aside.theme-doc-sidebar-container { line-height: 20px; /* 125% */ } +.markdown a[target='_blank']:after { + content: 'open_in_new'; + display: inline-block; + font-family: var(--mdc-icon-font, 'Material Symbols Outlined'); + font-size: 0.875rem; + line-height: 1rem; + padding-left: 1px; + position: relative; + text-decoration: none; + top: 2px; +} + /* For readability concerns, you should choose a lighter palette in dark mode. */ /* html[data-theme='dark'] { --ifm-color-primary: #59cecd;