diff --git a/themes/learn2-dark/css/custom.css b/themes/learn2-dark/css/custom.css index c2b9323..cc0139b 100644 --- a/themes/learn2-dark/css/custom.css +++ b/themes/learn2-dark/css/custom.css @@ -51,7 +51,7 @@ code { background: #222222; } .copy-to-clipboard { - background-color: #111111; + background-color: #111111 !important; /* overwrite prism.css background color */ background-image: url(../images/clippy-white.svg); /* makes "copy" button fit slightly better imo @@ -99,3 +99,8 @@ select[multiple="multiple"]:focus { blockquote { border-left: 10px solid #9c5ea2; } + +/* disable "copy"-button on hover */ +div.code-toolbar:hover > .toolbar { + opacity: 0; +}