[PATCH] docs: Use Overpass Mono as the monospace font

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx>
---

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

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]
  Powered by Linux