Skip to content

Commit

Permalink
feat: add <kbd> styles (#60)
Browse files Browse the repository at this point in the history
  • Loading branch information
slice authored and yyx990803 committed Apr 15, 2018
1 parent 8844493 commit 580774b
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion lib/default-theme/styles/theme.styl
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,13 @@ p a code
font-weight 400
color $accentColor

kbd
background #eee
border solid 0.15rem #ddd
border-bottom solid 0.25rem #ddd
border-radius 0.15rem
padding 0 0.15em

blockquote
font-size 1.2rem
color #999
Expand Down Expand Up @@ -120,7 +127,7 @@ a.header-anchor
&:hover
text-decoration none

code
code, kbd
font-family source-code-pro, Menlo, Monaco, Consolas, "Courier New", monospace

p, ul, ol
Expand Down

0 comments on commit 580774b

Please sign in to comment.