add kbd style tag to main.css in rustdoc

This commit is contained in:
Marcel Hellwig 2017-12-21 17:10:45 +01:00 committed by Marcel Hellwig
parent de38f49528
commit 176624fb4b

View File

@ -1107,3 +1107,17 @@ h3.important {
left: -42px;
margin-top: 2px;
}
kbd {
display: inline-block;
padding: 3px 5px;
font: 11px "SFMono-Regular", Consolas, "Liberation Mono", Menlo, Courier, monospace;
line-height: 10px;
color: #444d56;
vertical-align: middle;
background-color: #fafbfc;
border: solid 1px #d1d5da;
border-bottom-color: #c6cbd1;
border-radius: 3px;
box-shadow: inset 0 -1px 0 #c6cbd1;
}