Skip to content

Commit

Permalink
Update CSS for <kbd>
Browse files Browse the repository at this point in the history
  • Loading branch information
iBug committed Jun 21, 2022
1 parent 3095460 commit a913efa
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions _sass/_custom.scss
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,20 @@ kbd {
text-align: center;
font-family: $sans-serif;
font-size: 0.8em;
padding: 0 0.2em;
line-height: 1.4;
padding: 0.1em 0.4em;
margin: 0 2px;
border: 1px solid black;
border-radius: 4px;
background-color: rgba(255, 255, 255, 0.6);
box-shadow: 1px 1px 4px rgba(0, 0, 0, 0.2);
box-shadow: 1px 1px 4px rgba(0, 0, 0, 0.3);
transition: background-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;

&:hover {
cursor: default;
background-color: rgba(0, 0, 0, 0.1);
box-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
}
}

ul, ol {
Expand Down

0 comments on commit a913efa

Please sign in to comment.