Skip to content

Commit 423f33f

Browse files
authored
Merge pull request #181 from defold/180-improve-kbd-styling
Improve kbd styling
2 parents 1aae604 + d78e356 commit 423f33f

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

_scss/normalize.scss

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,13 +227,25 @@ pre {
227227
*/
228228

229229
code,
230-
kbd,
231230
pre,
232231
samp {
233232
font-family: monospace, monospace;
234233
font-size: 1em;
235234
}
236235

236+
/*
237+
* Keyboard and input markers in markdown (<kbd></kbd>)
238+
*/
239+
kbd {
240+
font-family: monospace, monospace;
241+
font-size: 1em;
242+
background-color: var(--darker);
243+
border: 1px solid var(--grey);
244+
border-bottom-width: 3px;
245+
border-radius: 4px;
246+
padding: 0.15em 0.5em;
247+
}
248+
237249
/* Forms
238250
========================================================================== */
239251

0 commit comments

Comments
 (0)