From 91e9b048306158f347dd6486cf195764680db3ea Mon Sep 17 00:00:00 2001 From: KTruesdellENA Date: Tue, 12 Jul 2022 12:57:25 -0400 Subject: [PATCH] update the custom css --- docs/static/css/custom.css | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/docs/static/css/custom.css b/docs/static/css/custom.css index 24ebff9c8..ef9e9c9f9 100644 --- a/docs/static/css/custom.css +++ b/docs/static/css/custom.css @@ -32,3 +32,26 @@ p.since::before { p.since { font-size: 16px; } + +/* adjustment to code example sections so they are more readable */ +pre[class*="language"], pre code[class*="language"] { + text-shadow: none; + color: #808080; +} +pre code .token.operator, pre code[class*="operator"] { + background: inherit; +} +.clipboard-copy { + top: 6px !important; + right: 8px; + color: #808080; + background-color: transparent; + text-transform: uppercase; + letter-spacing: 1px; + font-weight: 600; + opacity: 1; + padding: 2px 5px; +} +pre .language-name { + right: 75px; +}