aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@s-opensource.com>2016-09-19 07:07:35 -0400
committerJonathan Corbet <corbet@lwn.net>2016-09-20 20:24:35 -0400
commit1414f0488803d8963b5868b1512515c997b54571 (patch)
tree2c46ca3704c1343a0bf82402d1397e8cc3f99157
parentebf137f6703bc2cb055f4c000adc99e6ece4485d (diff)
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>
-rw-r--r--Documentation/sphinx-static/theme_overrides.css15
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 @@
42 caption a.headerlink { opacity: 0; } 42 caption a.headerlink { opacity: 0; }
43 caption a.headerlink:hover { opacity: 1; } 43 caption a.headerlink:hover { opacity: 1; }
44 44
45 /* Menu selection and keystrokes */
46
47 span.menuselection {
48 color: blue;
49 font-family: "Courier New", Courier, monospace
50 }
51
52 code.kbd, code.kbd span {
53 color: white;
54 background-color: darkblue;
55 font-weight: bold;
56 font-family: "Courier New", Courier, monospace
57 }
58
45 /* inline literal: drop the borderbox and red color */ 59 /* inline literal: drop the borderbox and red color */
46 60
47 code, .rst-content tt, .rst-content code { 61 code, .rst-content tt, .rst-content code {
@@ -54,5 +68,4 @@
54 .rst-content tt.literal,.rst-content tt.literal,.rst-content code.literal { 68 .rst-content tt.literal,.rst-content tt.literal,.rst-content code.literal {
55 color: inherit; 69 color: inherit;
56 } 70 }
57
58} 71}