[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[qemu-web PATCH v2 08/16] Simplify copyright and integrate into footer
From: |
Daniel P . Berrangé |
Subject: |
[qemu-web PATCH v2 08/16] Simplify copyright and integrate into footer |
Date: |
Tue, 27 Oct 2020 13:20:07 +0000 |
The copyright information is at the base of the page so logically part of
the page footer structure.
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
---
_includes/copyright.html | 8 --------
_includes/footer.html | 3 +++
_layouts/blog.html | 1 -
_layouts/home.html | 1 -
_layouts/page.html | 1 -
assets/css/style-mobile.css | 2 +-
assets/css/style.css | 29 ++++++++++++-----------------
7 files changed, 16 insertions(+), 29 deletions(-)
delete mode 100644 _includes/copyright.html
diff --git a/_includes/copyright.html b/_includes/copyright.html
deleted file mode 100644
index cdcd98f..0000000
--- a/_includes/copyright.html
+++ /dev/null
@@ -1,8 +0,0 @@
-<div id="copyright">
- <div id="copyright-inner">
- <div class="container">
- This site is made available under the terms of
- <a href="{{ relative_root }}/license.html">a number of licenses</a>.
- </div>
- </div>
-</div>
diff --git a/_includes/footer.html b/_includes/footer.html
index b614795..6e1b247 100644
--- a/_includes/footer.html
+++ b/_includes/footer.html
@@ -27,4 +27,7 @@
<li><a href="https://xenproject.org">Xen</a></li>
</ul>
</div>
+ <div id="licenses">
+ <a href="{{ relative_root }}/license.html">Website licenses</a>
+ </div>
</div>
diff --git a/_layouts/blog.html b/_layouts/blog.html
index b300636..b7fcdbf 100644
--- a/_layouts/blog.html
+++ b/_layouts/blog.html
@@ -21,7 +21,6 @@ Released for free under the Creative Commons Attribution 3.0
license (templated.
{% include sidebar.html %}
{% include footer.html %}
- {% include copyright.html %}
</body>
</html>
diff --git a/_layouts/home.html b/_layouts/home.html
index d94c9b0..f7b6931 100644
--- a/_layouts/home.html
+++ b/_layouts/home.html
@@ -18,7 +18,6 @@ Released for free under the Creative Commons Attribution 3.0
license (templated.
{{ content }}
{% include footer.html %}
- {% include copyright.html %}
</body>
</html>
diff --git a/_layouts/page.html b/_layouts/page.html
index d650054..765d204 100644
--- a/_layouts/page.html
+++ b/_layouts/page.html
@@ -23,7 +23,6 @@ Released for free under the Creative Commons Attribution 3.0
license (templated.
</div>
{% include footer.html %}
- {% include copyright.html %}
</body>
</html>
diff --git a/assets/css/style-mobile.css b/assets/css/style-mobile.css
index 8910e71..d045d84 100644
--- a/assets/css/style-mobile.css
+++ b/assets/css/style-mobile.css
@@ -242,7 +242,7 @@
/* Columns
*/
/*********************************************************************************/
- #main, #footer-inner, #copyright-inner
+ #main, #footer-inner
{
margin-left: 0%;
width: 100%;
diff --git a/assets/css/style.css b/assets/css/style.css
index 855217b..c9452e3 100644
--- a/assets/css/style.css
+++ b/assets/css/style.css
@@ -428,7 +428,7 @@
/* Columns
*/
/*********************************************************************************/
- #main, #copyright-inner
+ #main
{
margin-left: 16.667%;
width: 66.667%;
@@ -523,23 +523,18 @@
margin: 0
}
-/*********************************************************************************/
-/* Copyright
*/
-/*********************************************************************************/
-
- #copyright
- {
- clear: left;
- border-top: 1px solid #aaaaaa;
- position: relative;
- color: #aaaaaa;
- background: #ffffff;
- padding: 1em 0em;
+ #licenses {
+ padding: 0em;
+ padding-left: 1em;
+ padding-right: 1em;
+ font-size: smaller;
+ color: #401200;
+ background: #fff;
+ margin: 1em;
}
-
- #copyright a
- {
- color: inherit;
+
+ #licenses {
+ float: right;
}
/*********************************************************************************/
--
2.26.2
- [qemu-web PATCH v2 00/16] Re-design the QEMU home page to better present information, Daniel P . Berrangé, 2020/10/27
- [qemu-web PATCH v2 02/16] gitlab: introduce a CI job to publish the site content, Daniel P . Berrangé, 2020/10/27
- [qemu-web PATCH v2 04/16] Make page header nav narrower, Daniel P . Berrangé, 2020/10/27
- [qemu-web PATCH v2 03/16] make all links be relative to the root, Daniel P . Berrangé, 2020/10/27
- [qemu-web PATCH v2 01/16] Convert files to UNIX line endings, Daniel P . Berrangé, 2020/10/27
- [qemu-web PATCH v2 06/16] Rework display of screenshots to use a carousel slider, Daniel P . Berrangé, 2020/10/27
- [qemu-web PATCH v2 05/16] Introduce support for "bxslider" jquery add on, Daniel P . Berrangé, 2020/10/27
- [qemu-web PATCH v2 07/16] Compress the two front page headings into one, Daniel P . Berrangé, 2020/10/27
- [qemu-web PATCH v2 08/16] Simplify copyright and integrate into footer,
Daniel P . Berrangé <=
- [qemu-web PATCH v2 09/16] Put a full SFC membership blurb in footer of every page, Daniel P . Berrangé, 2020/10/27
- [qemu-web PATCH v2 10/16] Use two column layout to display screenshots and releases, Daniel P . Berrangé, 2020/10/27
- [qemu-web PATCH v2 11/16] Bring contribution links out of the footer into the home page, Daniel P . Berrangé, 2020/10/27
- [qemu-web PATCH v2 12/16] Add recent blog posts to the front page featured content, Daniel P . Berrangé, 2020/10/27
- [qemu-web PATCH v2 13/16] Move wiki link from footer into the header navbar, Daniel P . Berrangé, 2020/10/27
- [qemu-web PATCH v2 14/16] Simplify and restructure the page footer, Daniel P . Berrangé, 2020/10/27
- [qemu-web PATCH v2 15/16] Add link to "page source" for all pages, Daniel P . Berrangé, 2020/10/27
- [qemu-web PATCH v2 16/16] Add a CONTRIBUTING.md file as guidance for contributors, Daniel P . Berrangé, 2020/10/27