From 4e2da3f32b489b664c0d5a106f1fb1a04f4953f0 Mon Sep 17 00:00:00 2001 From: Liam O'Connor Date: Mon, 7 Apr 2025 01:00:09 +1000 Subject: [PATCH] add keyboard shortcut style --- style.css | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/style.css b/style.css index 1b6497e..ad36494 100644 --- a/style.css +++ b/style.css @@ -706,3 +706,19 @@ ol li ol li ol { .block[data-taxon="Solution"] { background-color: rgba(255, 255, 255, 0.64); } + +kbd { + background-color: #eee; + border-radius: 3px; + border: 1px solid #b4b4b4; + box-shadow: + 0 1px 1px rgba(0, 0, 0, 0.2), + 0 2px 0 0 rgba(255, 255, 255, 0.7) inset; + color: #333; + display: inline-block; + font-size: 0.85em; + font-weight: 700; + line-height: 1; + padding: 2px 4px; + white-space: nowrap; +} -- 2.51.2