Skip to content

Commit 47cdc4b

Browse files
committed
add a style for kbd elements
1 parent 665c418 commit 47cdc4b

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

src/App.css

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,3 +65,17 @@ blockquote {
6565
li p {
6666
margin: 0;
6767
}
68+
69+
kbd {
70+
font-size: calc(1rem - 6px);
71+
line-height: 1rem;
72+
display: inline-block;
73+
padding: 2px 5px;
74+
color: #444d56;
75+
vertical-align: middle;
76+
background-color: #fafbfc;
77+
border-bottom-color: #d1d5da;
78+
border: 1px solid #d1d5da;
79+
border-radius: 6px;
80+
box-shadow: inset 0 -1px 0 #d1d5da;
81+
}

0 commit comments

Comments
 (0)