From 21f0f06c079d730212b7037a459ccec40ee685e9 Mon Sep 17 00:00:00 2001 From: Tuure Date: Mon, 24 Jun 2024 20:41:53 +0300 Subject: [PATCH] feat(#66): add default style for kbd tag --- static/style.css | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/static/style.css b/static/style.css index 9bd4117..c17a048 100644 --- a/static/style.css +++ b/static/style.css @@ -173,6 +173,17 @@ dt + dt + dd { margin-top: -2.25em; /* Align definition with last term */ } /* Self height - margin - padding */ +/* -------------------------------------------------------------------------- + * KEYBOARD INPUT ----------------------------------------------------------- */ + +kbd { + background-color: #161616; + border: 1px solid #242424; + box-shadow: inset 0 -1px 0 #242424; + padding: 3px 5px; + border-radius: 6px; +} + /* -------------------------------------------------------------------------- * LIGHT MODE --------------------------------------------------------------- */ @media (prefers-color-scheme: light) { @@ -226,4 +237,10 @@ dt + dt + dd { dd { border-left: 0.2px solid #d8dee4; } + + kbd { + background-color: #f6f8fa; + border: 1px solid #eff1f3; + box-shadow: inset 0 -1px 0 #eff1f3; + } }