Small code block changes

This commit is contained in:
RealStickman 2022-12-16 11:36:52 +01:00
parent 0860d43526
commit 898d28580c

View File

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