From 09a4ae85cf6b3fee19cf6e8107b40e05ae7633d9 Mon Sep 17 00:00:00 2001 From: Florian Knoch Date: Mon, 6 May 2019 13:16:47 +0200 Subject: [PATCH] Add styling --- css/theme/latex.css | 12 ++++++++++++ css/theme/source/latex.scss | 13 +++++++++++++ 2 files changed, 25 insertions(+) diff --git a/css/theme/latex.css b/css/theme/latex.css index f6091bc..c9dfab2 100644 --- a/css/theme/latex.css +++ b/css/theme/latex.css @@ -407,3 +407,15 @@ blockquote { section > h1, section > h2, section > h3, section > p, section > ul { background: var(--primary); } + +/* + * Keyboard Shortcut Styling + * ========================= + */ +kbd { + font-family: "Fira Code", monospace !important; + font-size: 65% !important; + display: inline-block; + border: 1px solid white !important; + border-width: 1px 5px 5px 1px !important; + padding: .2rem .5rem !important; } diff --git a/css/theme/source/latex.scss b/css/theme/source/latex.scss index 0c1e1fc..ca38a37 100644 --- a/css/theme/source/latex.scss +++ b/css/theme/source/latex.scss @@ -511,3 +511,16 @@ blockquote { section>h1, section>h2, section>h3, section>p, section>ul { background: var(--primary) } + +/* + * Keyboard Shortcut Styling + * ========================= + */ +kbd { + font-family: "Fira Code", monospace !important; + font-size: 65% !important; + display: inline-block; + border: 1px solid white !important; + border-width: 1px 5px 5px 1px !important; + padding: .2rem .5rem !important; +}