Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 9 additions & 7 deletions assets/css/v2/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
--color-background: #ffffff;
--color-foreground: #000000;
--color-shadow: #d2d2d2;
--color-codeblock-shadow: #d2d2d2;
--color-footer: #1d1d1d;
--color-footer-text: #e2e2e2;
--color-product-title: #8d8d8d;
Expand Down Expand Up @@ -1144,27 +1145,28 @@ li .code-block {
}

.code-copy-button {
background-color: #f2f2f2;
border: none;
padding: 5px 10px;
background-color: white;
border: 1px solid black;
padding: 4px 6px;
cursor: pointer;
font-family: "JetBrains Mono", monospace;
font-size: 12px;
color: #000;
display: none;
position: absolute;
margin-top: 8px;
right: 1rem;
z-index: 2;
z-index: 1;
--color-codeblock-shadow: 0% 0 0;
box-shadow: 0px 2px 0px oklch(var(--color-codeblock-shadow) / 0.15);
}

.code-copy-button:hover {
background-color: #e0e0e0;
box-shadow: 0px 2px 0px oklch(var(--color-brand) / 0.3);
}

.code-copy-button:focus {
outline: none;
box-shadow: 0 0 2px 2px #a5a5a5;
box-shadow: 0px 2px 0px oklch(var(--color-brand) / 0.8);
}

.next-prev-icon {
Expand Down
Loading