[libvirt] [PATCH v2 09/19] docs: add three core links in the header bar

Daniel P. Berrange berrange at redhat.com
Tue Nov 8 11:50:20 UTC 2016


Add links to download, communicate and learn in the
header bar, as the main jumping off points for
navigation.

Signed-off-by: Daniel P. Berrange <berrange at redhat.com>
---
 docs/libvirt.css | 28 +++++++++++++++++++++++++++-
 docs/page.xsl    |  7 +++++++
 2 files changed, 34 insertions(+), 1 deletion(-)

diff --git a/docs/libvirt.css b/docs/libvirt.css
index 34d8819..c2fba08 100644
--- a/docs/libvirt.css
+++ b/docs/libvirt.css
@@ -26,10 +26,36 @@
     display: block;
 }
 
+#jumplinks {
+    display: table-cell;
+    vertical-align: middle;
+    font-size: 16pt;
+    text-align: right;
+}
+
+#jumplinks ul {
+    list-style: none;
+}
+
+#jumplinks li {
+    display: inline;
+    padding-left: 2em;
+    font-weight: bold;
+}
+
+#jumplinks a {
+    color: rgb(255, 255, 255);
+    text-decoration: none;
+}
+
+#jumplinks a:hover {
+    color: rgb(255, 230, 0);
+}
+
 #search {
     display: table-cell;
     vertical-align: middle;
-    width: 20em;
+    width: 13em;
     text-align: right;
     padding: 1em;
 }
diff --git a/docs/page.xsl b/docs/page.xsl
index 9dd3a98..bdac185 100644
--- a/docs/page.xsl
+++ b/docs/page.xsl
@@ -161,6 +161,13 @@
           <div id="home">
             <a href="{$href_base}index.html">Home</a>
           </div>
+          <div id="jumplinks">
+            <ul>
+              <li><a href="downloads.html">Download</a></li>
+              <li><a href="contribute.html">Contribute</a></li>
+              <li><a href="docs.html">Learn</a></li>
+            </ul>
+          </div>
           <div id="search">
             <form action="{$href_base}search.php" enctype="application/x-www-form-urlencoded" method="get">
               <div>
-- 
2.9.3




More information about the libvir-list mailing list