A few miscellaneous changes to docbook.css to improve the appearance of

elements that should be displayed in monospace fonts.

Reviewed by:	allanjude
Differential Revision:	https://reviews.freebsd.org/D3313
This commit is contained in:
Warren Block 2015-08-10 22:41:06 +00:00
parent 61aebaee69
commit 138bb9156e
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/head/; revision=47193

View file

@ -285,7 +285,7 @@ pre.screen {
white-space: pre; white-space: pre;
overflow: auto; overflow: auto;
font-family: monospace; font-family: monospace;
padding: 1ex; padding: 1em;
background-color: #edc; background-color: #edc;
border: 1px solid #ccc; border: 1px solid #ccc;
border-radius: 4px; border-radius: 4px;
@ -385,10 +385,12 @@ pre.programlisting {
.userinput, .userinput,
.userinput code { .userinput code {
font-family: monospace;
font-weight: bold; font-weight: bold;
} }
pre.screen strong { pre.screen strong {
font-family: monospace;
font-weight: normal; font-weight: normal;
} }
@ -401,3 +403,11 @@ span.contrib {
font-size: small; font-size: small;
font-style: italic; font-style: italic;
} }
.literal, .command {
font-family: monospace;
}
code.prompt {
margin-left: -3px;
}