From e78364e0ca0cf673f81aac88212200a802cf8101 Mon Sep 17 00:00:00 2001
From: opi <opi@no-log.org>
Date: Tue, 30 Jun 2015 13:25:09 +0200
Subject: [PATCH] =?utf8?q?R=C3=A9duction=20de=20la=20taille=20du=20footer.?=
MIME-Version: 1.0
Content-Type: text/plain; charset=utf8
Content-Transfer-Encoding: 8bit

---
 local.css           | 22 +++++++++++++++-------
 templates/page.tmpl | 35 +++++++++++++++++++++++------------
 2 files changed, 38 insertions(+), 19 deletions(-)

diff --git a/local.css b/local.css
index 912c215..b33de8f 100644
--- a/local.css
+++ b/local.css
@@ -578,18 +578,26 @@ main .footnotes {
 
 /* {{{ #footer */
 #footer {
-	margin: 0;
-	padding: 0.5em 0;
-	text-align: center;
-	color: white;
-	background: #57075f;
+  margin: 0;
+  padding: 0.5em 0;
+  text-align: center;
+  color: white;
+  background: #57075f;
+  font-size: 0.85em;
 }
-@media screen and (max-width: 400px) {
+@media screen and (max-width: 45em) {
   #footer {
-    font-size: 0.85em;
+    text-align: left;
     padding: 0.5em 1em;
+    font-size: 0.8em;
   }
 }
+@media screen and (max-width: 480px) {
+  #footer .pagecopyright span {
+    display: block;
+  }
+}
+
 #footer > div {
     margin-top: 1em;
 }
diff --git a/templates/page.tmpl b/templates/page.tmpl
index 3e0a875..6bf5697 100644
--- a/templates/page.tmpl
+++ b/templates/page.tmpl
@@ -149,15 +149,21 @@
         </TMPL_IF>
 
         <div class="pagecopyright">
-        <!-- <a name="page_copyright"></a> -->
-        Contenu <TMPL_IF COPYRIGHT><TMPL_VAR COPYRIGHT><TMPL_ELSE>&copy; 2013 Nos oignons</TMPL_IF>.
-        Logo &copy; 2013 <a href="http://www.lutopiquant.fr/">lutopiquant</a>.
-        <a name="page_license"></a>
-        <TMPL_IF LICENSE>
-        Licence : <TMPL_VAR LICENSE>.
-        <TMPL_ELSE>
-        Licence : <a href="https://creativecommons.org/licenses/by-sa/3.0/fr/deed.fr_FR">CC BY-SA 3.0 FR</a>.
-        </TMPL_IF>
+            <span class="copyright-content">
+            Contenu <TMPL_IF COPYRIGHT><TMPL_VAR COPYRIGHT><TMPL_ELSE>&copy; 2013 Nos oignons</TMPL_IF>.
+            </span>
+
+            <span class="copyright-logo">
+            Logo &copy; 2013 <a href="http://www.lutopiquant.fr/">lutopiquant</a>.
+            </span>
+
+            <span class="license">
+            <TMPL_IF LICENSE>
+            Licence : <TMPL_VAR LICENSE>.
+            <TMPL_ELSE>
+            Licence : <a href="https://creativecommons.org/licenses/by-sa/3.0/fr/deed.fr_FR">CC BY-SA 3.0 FR</a>.
+            </TMPL_IF>
+            </span>
         </div>
 
         <div class="disclaimer">
@@ -166,7 +172,12 @@
         </div>
 
         <div class="pagedate">
-        Dernière modification : <TMPL_VAR MTIME>
+        Dernière modification :
+        <TMPL_IF RECENTCHANGESURL>
+        <a href="<TMPL_VAR RECENTCHANGESURL>"><TMPL_VAR MTIME></a>
+        <TMPL_ELSE>
+        <TMPL_VAR MTIME>
+        </TMPL_IF>
         <!-- Created <TMPL_VAR CTIME> -->
         </div>
 
@@ -180,9 +191,9 @@
             <TMPL_IF EDITURL>
             <li><a href="<TMPL_VAR EDITURL>" rel="nofollow">Modifier</a></li>
             </TMPL_IF>
-            <TMPL_IF RECENTCHANGESURL>
+            <!--<TMPL_IF RECENTCHANGESURL>
             <li><a href="<TMPL_VAR RECENTCHANGESURL>">Dernières modifications</a></li>
-            </TMPL_IF>
+            </TMPL_IF>-->
             <TMPL_IF HISTORYURL>
             <li><a href="<TMPL_VAR HISTORYURL>">Historique</a></li>
             </TMPL_IF>
-- 
2.39.5