Copy btn on code blocks, tweaked code block styling

This commit is contained in:
2023-07-09 22:28:26 +02:00
parent 0f123651fb
commit a43f2463e2
5 changed files with 75 additions and 68 deletions

View File

@@ -44,9 +44,9 @@
@include media-query($on-palm) {
position: absolute;
top: 9px;
right: calc(var(--spacing-unit) / 2);
right: 0;
background-color: $background-color;
border: 1px solid $grey-color-light;
border: 1px solid rgba(254, 168, 106, 0.6);
border-radius: 5px;
text-align: right;
@@ -67,9 +67,12 @@
line-height: 0;
padding-top: 10px;
text-align: center;
-webkit-user-select: none;
user-select: none;
> svg {
fill: $grey-color-dark;
fill: var(--brand-color);
}
}