From b63035e7b9d713f10c3cd97ec1951adf2b756af9 Mon Sep 17 00:00:00 2001 From: fusiondoc Date: Wed, 28 Aug 2024 08:54:15 +0000 Subject: [PATCH] Deployed a08f8a0 to 0.3 with MkDocs 1.6.0 and mike 1.1.2 --- 0.3/assets/theme/code.css | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) diff --git a/0.3/assets/theme/code.css b/0.3/assets/theme/code.css index 3011f9c10..7ac6a0b21 100644 --- a/0.3/assets/theme/code.css +++ b/0.3/assets/theme/code.css @@ -69,26 +69,34 @@ } .highlight .md-clipboard { - color: transparent; + color: var(--fusiondoc-fg-1) !important; + opacity: 0; + transition: opacity 0.2s ease; } .highlight:hover .md-clipboard { - color: var(--fusiondoc-grey-5); + opacity: 0.5; } .highlight .md-clipboard:hover { - color: var(--fusiondoc-grey-10); + opacity: 1; } -pre { +.highlight > pre, +.highlighttable { box-shadow: var(--md-shadow-z1); } -.tabbed-set pre { +.highlighttable { + border-radius: 0.25rem; +} + +.tabbed-set .highlight > pre { box-shadow: none; } code:not(pre code, .highlight) { background-color: var(--fusiondoc-bg-2) !important; color: inherit !important; + box-shadow: var(--md-shadow-z1); } \ No newline at end of file