From ea721b0547c4dafe3e9228b27b8c8ef9899aa128 Mon Sep 17 00:00:00 2001 From: Raimund Klink Date: Wed, 10 Apr 2024 17:07:17 +0200 Subject: [PATCH 1/3] Fix overexposed images --- build_files/theme/css/theme_overrides.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build_files/theme/css/theme_overrides.css b/build_files/theme/css/theme_overrides.css index d1ad7b724..9fcc3424f 100644 --- a/build_files/theme/css/theme_overrides.css +++ b/build_files/theme/css/theme_overrides.css @@ -176,7 +176,7 @@ a[href^="#fig-"]::after { /* Mark external links. */ a.external { - filter: brightness(150%); + filter: brightness(100%); } /* List blender.org as internal. */ -- 2.30.2 From e3cac188a672c203ff3decf017b2161f3f484659 Mon Sep 17 00:00:00 2001 From: Raimund Klink Date: Thu, 11 Apr 2024 14:26:06 +0200 Subject: [PATCH 2/3] Remove the full block --- build_files/theme/css/theme_overrides.css | 5 ----- 1 file changed, 5 deletions(-) diff --git a/build_files/theme/css/theme_overrides.css b/build_files/theme/css/theme_overrides.css index 9fcc3424f..690f57f8f 100644 --- a/build_files/theme/css/theme_overrides.css +++ b/build_files/theme/css/theme_overrides.css @@ -174,11 +174,6 @@ a[href^="#fig-"]::after { content: "\201d"; } -/* Mark external links. */ -a.external { - filter: brightness(100%); -} - /* List blender.org as internal. */ .external[href^="https://www.blender.org"], .external[href^="https://docs.blender.org"], -- 2.30.2 From 76f05dc5f0ffb83d6df59308af39887cea13c2e9 Mon Sep 17 00:00:00 2001 From: Raimund Klink Date: Fri, 12 Apr 2024 10:30:43 +0200 Subject: [PATCH 3/3] Highlight external links but not images --- build_files/theme/css/theme_overrides.css | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/build_files/theme/css/theme_overrides.css b/build_files/theme/css/theme_overrides.css index 690f57f8f..5772350bf 100644 --- a/build_files/theme/css/theme_overrides.css +++ b/build_files/theme/css/theme_overrides.css @@ -174,6 +174,11 @@ a[href^="#fig-"]::after { content: "\201d"; } +/* Mark external links. */ +a.external:not(figure > a.external) { + filter: brightness(150%); +} + /* List blender.org as internal. */ .external[href^="https://www.blender.org"], .external[href^="https://docs.blender.org"], -- 2.30.2