Skip to content

Commit 55b112f

Browse files
committed
fix(content-section): add <kbd> style
Like yari, but: - Regular font size, not smaller. - Thinner border, for consistency.
1 parent e32d4c1 commit 55b112f

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

components/content-section/server.css

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,11 +117,21 @@
117117
}
118118
}
119119

120-
code {
120+
code,
121+
kbd {
121122
padding: 0.125em 0.25em;
122123
border-radius: 0.25em;
123124
}
124125

126+
kbd {
127+
font-family: var(--font-family-code);
128+
129+
color: var(--color-text-secondary);
130+
131+
background-color: var(--color-background-page);
132+
border: 1px solid var(--color-border-primary);
133+
}
134+
125135
img {
126136
display: block;
127137

0 commit comments

Comments
 (0)