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(a)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 b62474a..b279ea4 100644
--- a/docs/libvirt.css
+++ b/docs/libvirt.css
@@ -24,10 +24,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 8f6a8c7..c8cb807 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