Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1414f048 authored by Mauro Carvalho Chehab's avatar Mauro Carvalho Chehab Committed by Jonathan Corbet
Browse files

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: default avatarMauro Carvalho Chehab <mchehab@s-opensource.com>
Signed-off-by: default avatarJonathan Corbet <corbet@lwn.net>
parent ebf137f6
Loading
Loading
Loading
Loading
+14 −1
Original line number Diff line number Diff line
@@ -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;
    }

}