
On Tue, Nov 08, 2016 at 11:50:20AM +0000, Daniel P. Berrange wrote:
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@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>
This was already pointed out by Martin and I also find "Learn" confusing. I usually looks for "Documentation". Pavel
+ </ul> + </div> <div id="search"> <form action="{$href_base}search.php" enctype="application/x-www-form-urlencoded" method="get"> <div> -- 2.9.3
-- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list