From 6cc86e9b60f8b900edc9bae40a8d51113c1f1717 Mon Sep 17 00:00:00 2001 From: Simon Clark <52653938+jsimonclark@users.noreply.github.com> Date: Wed, 31 Jan 2024 00:52:33 +0100 Subject: [PATCH] Update custom.css --- sphinx/_static/css/custom.css | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/sphinx/_static/css/custom.css b/sphinx/_static/css/custom.css index c74974f..35f91d5 100644 --- a/sphinx/_static/css/custom.css +++ b/sphinx/_static/css/custom.css @@ -63,6 +63,11 @@ html:not([data-theme='light']) .bd-content svg.my-svg { height: 100vh; border: none; } +/* this fixes darkmode within the json-ld playground iframe +by inverting all colors if darkmode is active */ +html[data-theme="dark"] iframe[src*="json-ld.org/playground"] { + filter: invert(0.9); +}