Skip to content

Commit 9177492

Browse files
committed
deploy: 2ebaa86
1 parent fbacfbc commit 9177492

File tree

1 file changed

+10
-7
lines changed

1 file changed

+10
-7
lines changed

aravis-main/style.css

+10-7
Original file line numberDiff line numberDiff line change
@@ -826,27 +826,30 @@ table.arguments tr.arg-description td {
826826
}
827827
.docblock .codehilite > .copy-button {
828828
position: absolute;
829+
829830
top: 0;
830831
right: 0;
831832

832833
border: none;
833834
background: none;
834835

835-
margin: var(--box-padding);
836836
cursor: pointer;
837-
}
838837

839-
.docblock .codehilite > .copy-button {
840838
transition: background-color 150ms ease;
841-
color: var(--primary);
839+
840+
color: var(--text-color);
841+
background-color: var(--sidebar-hover-bg);
842+
842843
border-radius: var(--box-radius);
843844
padding: 0.2rem 0.5rem;
844845
margin: var(--box-padding);
846+
847+
visibility: hidden;
848+
z-index: 1;
845849
}
846850

847-
.docblock .codehilite > .copy-button:hover {
848-
background-color: var(--sidebar-hover-bg);
849-
color: var(--text-color);
851+
.docblock .codehilite:hover > .copy-button {
852+
visibility: visible;
850853
}
851854

852855
.docblock .codehilite > .copy-button:active {

0 commit comments

Comments
 (0)