qemu-devel
[Top][All Lists]
Advanced

[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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]