add the layout of kbd tag

This commit is contained in:
GZTime
2021-02-22 21:08:44 +08:00
parent 2dbf4561bc
commit 245bdfc46f
3 changed files with 26 additions and 1 deletions

View File

@@ -161,6 +161,20 @@ no-beautify()
iframe
margin: 0 0 1rem
kbd
margin: 0 3px
padding: 3px 5px
border-radius: 3px
border: 1px solid #b4b4b4
box-shadow: 0 1px 3px rgba(0,0,0,.25), 0 2px 1px 0 rgba(255,255,255,.6) inset
font-family: Monaco, 'Ubuntu Mono', monospace
font-size: 0.9em
font-weight: 600
background-color: #f8f8f8
color: #34495e
line-height: 1em
white-space: nowrap
if hexo-config('beautify.enable') && hexo-config('beautify.field') == 'site'
beautify()
else if hexo-config('beautify.enable') && hexo-config('beautify.field') == 'post'