bg for copy code button
All checks were successful
ci/woodpecker/push/publish Pipeline was successful

This commit is contained in:
Mylloon 2023-04-27 20:36:02 +02:00
parent ac32e5d1c3
commit d3ad35f3e8
Signed by: Anri
GPG key ID: A82D63DFF8D1317F

View file

@ -192,9 +192,15 @@ table.hljs-ln {
overflow: hidden;
}
/* Background for copy code button */
.hljs-copy-button {
background-color: var(--bg) !important;
}
/* Light theme for the copy code button */
@media (prefers-color-scheme: light) {
.hljs-copy-button {
background-color: var(--font-color) !important;
filter: invert(100%);
}
}