Because this makes the font the same size as the non-monospaced one,
let's change those properties a little bit as well. <pre/> will be
shrunk a bit and <code/> inside <p/> or <dd/> will have slightly greyer
background.
Signed-off-by: Martin Kletzander <mkletzan(a)redhat.com>
---
Notes:
Now it looks like this:
http://people.redhat.com/~mkletzan/libvirt-monofont.png
docs/generic.css | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/docs/generic.css b/docs/generic.css
index 02383017a91b..a6b2354df07b 100644
--- a/docs/generic.css
+++ b/docs/generic.css
@@ -71,3 +71,15 @@ h6 {
margin-top: 0.75em;
font-size: 0.8em;
}
+
+code, pre {
+ font-family: LibvirtOverpassMono;
+}
+
+dd code, p code {
+ background-color: #eeeeee;
+}
+
+pre {
+ font-size: 90%;
+}
--
2.10.2