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;
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Background for copy code button */
|
||||||
|
.hljs-copy-button {
|
||||||
|
background-color: var(--bg) !important;
|
||||||
|
}
|
||||||
|
|
||||||
/* Light theme for the copy code button */
|
/* Light theme for the copy code button */
|
||||||
@media (prefers-color-scheme: light) {
|
@media (prefers-color-scheme: light) {
|
||||||
.hljs-copy-button {
|
.hljs-copy-button {
|
||||||
|
background-color: var(--font-color) !important;
|
||||||
filter: invert(100%);
|
filter: invert(100%);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue