From 99b01e6055f47307ea6773ddc2926e446e1ab71c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Nivolle?= Date: Wed, 18 Dec 2024 17:22:26 +0100 Subject: [PATCH] fix: arrow for link in code tags --- assets/css/custom.css | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/assets/css/custom.css b/assets/css/custom.css index f72bd0ce..9f738eed 100644 --- a/assets/css/custom.css +++ b/assets/css/custom.css @@ -234,9 +234,15 @@ html[class~="dark"] .content a:has(code){ /* Display an arrow at the end of the linked variable */ .content a:not(.code-block code) code::after { content: "\00a0↗"; - color: tomato; - font-size: 1.1rem; - + color: tomato; + font-size: 1rem; + bottom: -2px; + position: relative; + left: 4px; + width: 14px; + display: inline-block; + height: 14px; + line-height: 0.35em; } /* Display arrow for external links in the main menu.