Tweak kbd style

This commit is contained in:
daudix
2024-09-11 16:17:30 +03:00
parent 8d262e10e8
commit ba5e3848ee
2 changed files with 7 additions and 7 deletions

View File

@ -137,11 +137,9 @@ kbd {
display: inline-block;
transition: var(--transition);
cursor: pointer;
box-shadow:
inset 0 -0.125rem 0 var(--fg-muted-2),
0 -0.0625rem 0 var(--fg-muted-3);
box-shadow: var(--edge-highlight), inset 0 -0.125rem 0 var(--fg-muted-2);
border-radius: var(--rounded-corner-small);
background-color: var(--fg-muted-2);
background-color: var(--fg-muted-1);
padding: 0.25rem 0.375rem;
font-size: 0.875em;
line-height: 1;
@ -150,7 +148,7 @@ kbd {
&:active {
transform: translateY(0.125rem);
box-shadow: inset 0 0.0625rem 0 var(--fg-muted-2);
background-color: var(--fg-muted-3);
background-color: var(--fg-muted-2);
}
}