[PATCH 04/17] docs: add footer to all pages

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

 



Add a footer to all pages containing a blurb about the
code of conduct, and links to social media sites.

Signed-off-by: Daniel P. Berrange <berrange@xxxxxxxxxx>
---
 docs/libvirt.css | 44 ++++++++++++++++++++++++++++++++++++++++++++
 docs/page.xsl    | 12 ++++++++++++
 2 files changed, 56 insertions(+)

diff --git a/docs/libvirt.css b/docs/libvirt.css
index a990a7d..f978921 100644
--- a/docs/libvirt.css
+++ b/docs/libvirt.css
@@ -500,3 +500,47 @@ br.clear {
     clear: both;
     border: 0px;
 }
+
+#footer {
+    clear: both;
+    border-top: 3px solid rgb(60, 133, 124);
+    margin-top: 2em;
+    padding: 2em;
+    background: rgb(0, 95, 97);
+    color: rgb(255, 255, 255);
+}
+
+#footer a {
+    color: inherit;
+    text-decoration: none;
+}
+
+#footer a:hover {
+    color: rgb(255, 230, 0);
+}
+
+#conduct {
+    text-align: right;
+    font-size: smaller;
+    margin-right: 3em;
+}
+
+#conduct a {
+    text-decoration: underline;
+}
+
+#social {
+    padding: 0px;
+    margin-left: 3em;
+}
+
+#social ul {
+    list-style: none;
+    margin: 0px;
+}
+
+#social li {
+    display: block;
+    float: left;
+    margin-right: 1em;
+}
diff --git a/docs/page.xsl b/docs/page.xsl
index e3b8d5b..8f6a8c7 100644
--- a/docs/page.xsl
+++ b/docs/page.xsl
@@ -170,6 +170,18 @@
             </form>
           </div>
         </div>
+        <div id="footer">
+          <div id="social">
+            <ul>
+              <li><a href="https://twitter.com/hashtag/libvirt";>twitter</a></li>
+              <li><a href="https://plus.google.com/communities/109522598353007505282";>google plus</a></li>
+              <li><a href="http://stackoverflow.com/questions/tagged/libvirt";>stackoverflow</a></li>
+            </ul>
+          </div>
+          <div id="conduct">
+            Participants in the libvirt project agree to abide by <a href="governance.html#codeofconduct">the project code of conduct</a>
+          </div>
+        </div>
       </body>
     </html>
   </xsl:template>
-- 
2.9.3

--
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]