Skip to content

Commit 580774b

Browse files
sliceyyx990803
authored andcommitted
feat: add <kbd> styles (#60)
1 parent 8844493 commit 580774b

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

lib/default-theme/styles/theme.styl

+8-1
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,13 @@ p a code
7171
font-weight 400
7272
color $accentColor
7373

74+
kbd
75+
background #eee
76+
border solid 0.15rem #ddd
77+
border-bottom solid 0.25rem #ddd
78+
border-radius 0.15rem
79+
padding 0 0.15em
80+
7481
blockquote
7582
font-size 1.2rem
7683
color #999
@@ -120,7 +127,7 @@ a.header-anchor
120127
&:hover
121128
text-decoration none
122129

123-
code
130+
code, kbd
124131
font-family source-code-pro, Menlo, Monaco, Consolas, "Courier New", monospace
125132

126133
p, ul, ol

0 commit comments

Comments
 (0)