1
0
mirror of https://github.com/cotes2020/jekyll-theme-chirpy.git synced 2025-12-18 05:41:31 +00:00

Beautify the style of <kbd> (resolve #471)

This commit is contained in:
Cotes Chung
2022-01-02 16:28:42 +08:00
parent b85cb39388
commit cad62feb91
4 changed files with 18 additions and 1 deletions

View File

@@ -107,7 +107,19 @@ blockquote {
}
kbd {
font-family: inherit;
display: inline-block;
vertical-align: middle;
line-height: 1.3rem;
min-width: 1.75rem;
text-align: center;
margin: 0 0.3rem;
padding-top: 0.1rem;
color: var(--kbd-text-color);
background-color: var(--kbd-bg-color);
border-radius: 0.25rem;
border: solid 1px var(--kbd-wrap-color);
box-shadow: inset 0 -2px 0 var(--kbd-wrap-color);
}
footer {