From d4d8a128cf466a08a8f4fc25ed7f935251b1b1c8 Mon Sep 17 00:00:00 2001 From: "David B. Kinder" Date: Mon, 30 Jul 2018 16:03:07 -0700 Subject: [PATCH] doc: tweak formatting for :kbd: role update custom css to make kbd tag more interesting Signed-off-by: David B. Kinder --- doc/static/acrn-custom.css | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/doc/static/acrn-custom.css b/doc/static/acrn-custom.css index c3b7445bc..5a4b37d4c 100644 --- a/doc/static/acrn-custom.css +++ b/doc/static/acrn-custom.css @@ -133,3 +133,24 @@ th,td { col.option { width: 25%; } + +/* tweak format for (:kbd:`F10`) */ +kbd +{ + -moz-border-radius:3px; + -moz-box-shadow:0 1px 0 rgba(0,0,0,0.2),0 0 0 2px #fff inset; + -webkit-border-radius:3px; + -webkit-box-shadow:0 1px 0 rgba(0,0,0,0.2),0 0 0 2px #fff inset; + background-color:#f7f7f7; + border:1px solid #ccc; + border-radius:3px; + box-shadow:0 1px 0 rgba(0,0,0,0.2),0 0 0 2px #fff inset; + color:#333; + display:inline-block; + font-family:Arial,Helvetica,sans-serif; + font-size:11px; + line-height:1.4; + margin:0 .1em; + padding:.1em .6em; + text-shadow:0 1px 0 #fff; +}