From 13af5183d01cd252056b0cd387a1c907b751a501 Mon Sep 17 00:00:00 2001 From: Antoine du Hamel Date: Tue, 2 Feb 2021 13:24:34 +0100 Subject: [PATCH] fixup! doc: fix color contrast on elements --- doc/api_assets/style.css | 27 --------------------------- 1 file changed, 27 deletions(-) diff --git a/doc/api_assets/style.css b/doc/api_assets/style.css index dd177f711caa63..d2e79444a93558 100644 --- a/doc/api_assets/style.css +++ b/doc/api_assets/style.css @@ -760,33 +760,6 @@ kbd { display: block; } -.js-flavor-selector { - appearance: none; - float: right; - background-image: url(./js-flavor-cjs.svg); - background-size: contain; - background-repeat: no-repeat; - width: 142px; - height: 20px; -} -.js-flavor-selector:checked { - background-image: url(./js-flavor-esm.svg); -} -.js-flavor-selector:not(:checked) ~ .esm, -.js-flavor-selector:checked ~ .cjs { - display: none; -} -.dark-mode .js-flavor-selector { - filter: invert(1); -} -@supports (aspect-ratio: 1 / 1) { - .js-flavor-selector { - height: 1.5em; - width: auto; - aspect-ratio: 2719 / 384; - } -} - @media print { html { height: auto;