diff options
author | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2016-09-19 13:07:35 +0200 |
---|---|---|
committer | Jonathan Corbet <corbet@lwn.net> | 2016-09-21 02:24:35 +0200 |
commit | 1414f0488803d8963b5868b1512515c997b54571 (patch) | |
tree | 2c46ca3704c1343a0bf82402d1397e8cc3f99157 /Documentation/sphinx-static/theme_overrides.css | |
parent | Documentation: kdump: Add description of enable multi-cpus support (diff) | |
download | linux-1414f0488803d8963b5868b1512515c997b54571.tar.xz linux-1414f0488803d8963b5868b1512515c997b54571.zip |
doc-rst: add CSS styles for :kbd: and :menuselection:
As we're about to use those two markups, add them to the
theme style overrride.
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Diffstat (limited to 'Documentation/sphinx-static/theme_overrides.css')
-rw-r--r-- | Documentation/sphinx-static/theme_overrides.css | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/Documentation/sphinx-static/theme_overrides.css b/Documentation/sphinx-static/theme_overrides.css index 3a2ac4bcfd78..0fe6f1824a46 100644 --- a/Documentation/sphinx-static/theme_overrides.css +++ b/Documentation/sphinx-static/theme_overrides.css @@ -42,6 +42,20 @@ caption a.headerlink { opacity: 0; } caption a.headerlink:hover { opacity: 1; } + /* Menu selection and keystrokes */ + + span.menuselection { + color: blue; + font-family: "Courier New", Courier, monospace + } + + code.kbd, code.kbd span { + color: white; + background-color: darkblue; + font-weight: bold; + font-family: "Courier New", Courier, monospace + } + /* inline literal: drop the borderbox and red color */ code, .rst-content tt, .rst-content code { @@ -54,5 +68,4 @@ .rst-content tt.literal,.rst-content tt.literal,.rst-content code.literal { color: inherit; } - } |