Skip to content

Commit

Permalink
chore: adjust styling for <kbd> and <code>
Browse files Browse the repository at this point in the history
  • Loading branch information
hakadao committed Aug 30, 2024
1 parent eed7223 commit 14aa2c4
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions src/styles/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -88,25 +88,27 @@ img {
}

code {
display: inline-block;
background-color: var(--bew-fill-1);
padding: 0 4px;
margin: 0 2px;
padding: 0 0.5em;
margin: 0.24em 0.2em;
border-radius: 4px;
font-weight: 600;
line-height: 1.24;
box-shadow: 0 0 0 1px var(--bew-border-color);
}

kbd {
display: inline-block;
background-color: var(--bew-fill-1);
padding: 0 0.5em;
margin: 0.24em 0.2em;
border-radius: 4px;
box-shadow:
0 0 0 1px var(--bew-border-color),
0 2.4px 0 0 var(--bew-fill-2);
line-height: 1.4;
line-height: 1.24;
cursor: pointer;
display: inline-block;
transition: 0.3s;

&:hover {
Expand Down

0 comments on commit 14aa2c4

Please sign in to comment.