Add styling for keyboard text, `kbd` element

This commit is contained in:
Michael Rose 2017-03-09 11:03:46 -05:00
parent ce81b744f7
commit ab80d45a45
1 changed files with 11 additions and 0 deletions

View File

@ -35,6 +35,17 @@ pre {
font-family: $monospace-font-family; font-family: $monospace-font-family;
} }
kbd {
display: inline-block;
margin: 0 0.125em;
padding: 0.125em 0.5em;
background-color: rgb(247, 247, 247);
border-radius: 3px;
border: 1px solid rgb(204, 204, 204);
text-shadow: 0 1px 0 #fff;
box-shadow: 0 1px 0 rgba(0, 0, 0, 0.25), inset 0 0 0 2px #fff;
}
h1, h2, h3, h4, h5, h6 { h1, h2, h3, h4, h5, h6 {
font-family: $headline-font-family; font-family: $headline-font-family;
} }