From 02522e69a41f44690336ca0ff4f4681de59cc4da Mon Sep 17 00:00:00 2001 From: Philip Salzmann Date: Tue, 13 Aug 2024 16:59:57 +0200 Subject: [PATCH] Fix styling of private/protected member variable descriptions --- src/css/api_docs.css | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/src/css/api_docs.css b/src/css/api_docs.css index a293b40..d43f568 100644 --- a/src/css/api_docs.css +++ b/src/css/api_docs.css @@ -27,6 +27,14 @@ [data-theme="dark"] .hdoc-private::after { background: #242424; } +/* Also style member variable descriptions */ +dt.hdoc-private + dd { + opacity: 0.5; +} +dt.hdoc-private:hover + dd, +dt.hdoc-private + dd:hover { + opacity: 1; +} .hdoc-protected { opacity: 0.75; @@ -45,6 +53,14 @@ [data-theme="dark"] .hdoc-protected::after { background: #242424; } +/* Also style member variable descriptions */ +dt.hdoc-protected + dd { + opacity: 0.75; +} +dt.hdoc-protected:hover + dd, +dt.hdoc-protected + dd:hover { + opacity: 1; +} .hdoc-detail { opacity: 0.5;