Add some styling to the copy button for programmatic output

This commit is contained in:
sabaimran 2023-11-17 12:18:35 -08:00
parent 9ddf3b58c3
commit bfbe273ffd

View file

@ -665,6 +665,17 @@ To get started, just start typing below. You can also type / to see a list of co
border-bottom: 1px dotted var(--main-text-color); border-bottom: 1px dotted var(--main-text-color);
} }
button.copy-button {
display: block;
border-radius: 4px;
background-color: var(--background-color);
}
button.copy-button:hover {
background: #f5f5f5;
cursor: pointer;
}
@media (pointer: coarse), (hover: none) { @media (pointer: coarse), (hover: none) {
abbr[title] { abbr[title] {
position: relative; position: relative;