Talha Mansoor лет назад: 12
Родитель
Сommit
73d9308de1
2 измененных файлов с 12 добавлено и 7 удалено
  1. 9 4
      static/css/style.css
  2. 3 3
      templates/footer.html

+ 9 - 4
static/css/style.css

@@ -3,7 +3,9 @@
 div#footer {
     margin:0px;
     border-top:1px solid rgba(0,0,0,0.2);
-    padding:2px 5px 0px 5px;
+    padding:2px 0px 0px 0px;
+    font-size:0.7em;
+    font-family:calibri,tahoma,arial,sans-serif;
 }
 
 ul.footer-content{
@@ -12,6 +14,10 @@ ul.footer-content{
     margin:0px;
 }
 
+ul.footer-content li {
+    padding-right:5px;
+    padding-left:5px;
+}
 ul.footer-content li.elegant-power {
     float:right;
 }
@@ -20,9 +26,8 @@ ul.footer-content li.elegant-license {
     float:left;
 }
 
-div#site-subtitle {
-    text-align:center;
-    padding-top:10px;
+ul.footer-content li.elegant-subtitle{
+    float:left;
 }
 
 /* comment */

+ 3 - 3
templates/footer.html

@@ -1,13 +1,13 @@
 <footer>
 <div class="navbar navbar-fixed-bottom" id="footer">
     <ul class="footer-content">
+        {% if SITESUBTITLE %}
+        <li class="elegant-subtitle">{{ SITENAME }} - {{ SITESUBTITLE }}</li>
+        {% endif %}
         {% if ELEGANT_LICENSE %}
         <li class="elegant-license">{{ ELEGANT_LICENSE }}</li>
         {% endif %}
         <li class="elegant-power">Powered by <a href="http://getpelican.com/" title="Pelican Home Page">Pelican</a> and <a href="https://github.com/talha131/pelican-elegant" title="Elegant theme Home Page">Elegant theme</a> by <a href="http://oncrashreboot.com" title="Talha Mansoor Home Page">Talha Mansoor</a></li>
-        {% if SITESUBTITLE %}
-        <div id="site-subtitle">{{ SITENAME }} - {{ SITESUBTITLE }}</div>
-        {% endif %}
     </ul>
 </div>
 </footer>