bg for copy code button
All checks were successful
ci/woodpecker/push/publish Pipeline was successful
All checks were successful
ci/woodpecker/push/publish Pipeline was successful
This commit is contained in:
parent
ac32e5d1c3
commit
d3ad35f3e8
1 changed files with 6 additions and 0 deletions
|
@ -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%);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue