commit 75cef1b2e82e2e9b15c0b7c4e1a472a20f890ed0
parent da641237eacdb14eabeaf01d6916f250604130f1
Author: Shimmy Xu <shimmy.xu@shimmy1996.com>
Date: Sat, 14 Sep 2019 00:56:28 -0400
Improve kbd elements
Diffstat:
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/layouts/partials/css/style.css b/layouts/partials/css/style.css
@@ -83,9 +83,10 @@ pre code {
}
kbd {
color: var(--background-color);
- background: var(--accent-color);
- padding: 3px;
- border-radius: 3px;
+ background: var(--text-color);
+ display: inline-block;
+ padding: 0 3px 0 3px;
+ border-radius: 5px;
}
/* misc elements */
img, iframe, video {