docs: add copy buttons (#3393)

This commit is contained in:
Marvin Hagemeister
2025-09-11 15:19:34 +02:00
committed by GitHub
parent a7af5c0c3d
commit 554644b240
7 changed files with 128 additions and 70 deletions
+14
View File
@@ -93,3 +93,17 @@ html[data-theme="dark"] ::selection {
background-size: 1.5em 1.5em;
background-repeat: no-repeat;
}
.group:not([data-copied]) .group-not-copied {
display: block;
}
.group[data-copied] .group-not-copied {
display: none;
}
.group[data-copied] .group-copied {
display: block;
}
.group:not([data-copied]) .group-copied {
display: none;
}