summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPavel Grunt <pgrunt@redhat.com>2015-10-15 11:41:28 +0200
committerPavel Grunt <pgrunt@redhat.com>2015-10-15 11:41:28 +0200
commita179c855e8a3ab73c1f96268f2e8cafecca7918a (patch)
tree10af1b60b5baf2b5fb7b3b4d120b70804cf195ee
parent0fa6c28b7c2be09209af1f51838e93bfb66fd6ff (diff)
template: Add spice-space footer
-rw-r--r--pelicanconf.py1
-rw-r--r--spice-space/static/css/main.css17
-rw-r--r--spice-space/static/images/icons/et_logo.pngbin0 -> 5194 bytes
-rw-r--r--spice-space/static/images/icons/footer_gradient.pngbin0 -> 155 bytes
-rw-r--r--spice-space/templates/base.html10
5 files changed, 20 insertions, 8 deletions
diff --git a/pelicanconf.py b/pelicanconf.py
index 414505e..5903144 100644
--- a/pelicanconf.py
+++ b/pelicanconf.py
@@ -5,6 +5,7 @@ AUTHOR = u'spice-team'
SITENAME = u'SPICE'
SITEURL = ''
THEME = 'spice-space'
+FOOTER_IMAGE_PATH = SITEURL + '/theme/images/icons/et_logo.png'
PATH = 'content'
diff --git a/spice-space/static/css/main.css b/spice-space/static/css/main.css
index d53c421..28ce93f 100644
--- a/spice-space/static/css/main.css
+++ b/spice-space/static/css/main.css
@@ -250,7 +250,6 @@ img.left, figure.left {float: left; margin: 0 2em 2em 0;}
*****************/
#content {
background: #fff;
- margin-bottom: 2em;
overflow: hidden;
padding: 20px 20px;
width: 760px;
@@ -286,7 +285,7 @@ img.left, figure.left {float: left; margin: 0 2em 2em 0;}
/*
Extras
*****************/
-#extras {margin: 0 auto 3em auto; overflow: hidden;}
+#extras {margin: 0 auto 0 auto; overflow: hidden;}
#extras ul {list-style: none; margin: 0;}
#extras li {border-bottom: 1px solid #fff;}
@@ -380,7 +379,19 @@ img.left, figure.left {float: left; margin: 0 2em 2em 0;}
/*
Footer
*****************/
-#contentinfo {padding-bottom: 2em; text-align: right;}
+#contentinfo {
+ padding-bottom: 2em;
+ text-align: left;
+ background-color: black;
+ background-image: url('../images/icons/footer_gradient.png');
+ background-repeat: repeat-x;
+ background-position: top left;
+}
+
+#contentinfo img {
+ padding-left: 15px;
+ padding-top: 12px;
+}
/***** Sections *****/
/* Blog */
diff --git a/spice-space/static/images/icons/et_logo.png b/spice-space/static/images/icons/et_logo.png
new file mode 100644
index 0000000..e094b59
--- /dev/null
+++ b/spice-space/static/images/icons/et_logo.png
Binary files differ
diff --git a/spice-space/static/images/icons/footer_gradient.png b/spice-space/static/images/icons/footer_gradient.png
new file mode 100644
index 0000000..6ab2c15
--- /dev/null
+++ b/spice-space/static/images/icons/footer_gradient.png
Binary files differ
diff --git a/spice-space/templates/base.html b/spice-space/templates/base.html
index 6460ada..c8e6eda 100644
--- a/spice-space/templates/base.html
+++ b/spice-space/templates/base.html
@@ -75,11 +75,11 @@
</section><!-- /#extras -->
<footer id="contentinfo" class="body">
- <address id="about" class="vcard body">
- Proudly powered by <a href="http://getpelican.com/">Pelican</a>, which takes great advantage of <a href="http://python.org">Python</a>.
- </address><!-- /#about -->
-
- <p>The theme is by <a href="http://coding.smashingmagazine.com/2009/08/04/designing-a-html-5-layout-from-scratch/">Smashing Magazine</a>, thanks!</p>
+ <div>
+ <a href="http://et.redhat.com">
+ <img src="{{ FOOTER_IMAGE_PATH }}" alt="et"/>
+ </a>
+ </div>
</footer><!-- /#contentinfo -->
{% include 'analytics.html' %}