[damned-lies: 4/13] Make footer the same as the other GNOME websites



commit 6702664cd67092e7f8fde057d38717f82813a011
Author: Tom Tryfonidis <tomtryf gmail com>
Date:   Tue Aug 7 19:04:16 2012 +0300

    Make footer the same as the other GNOME websites
    
    This patch adds links to the footer.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=681167

 media/newcss/template.css |   21 +++++++++++++++++----
 templates/base.html       |   42 ++++++++++++++++++++++++++++++++++++++++--
 2 files changed, 57 insertions(+), 6 deletions(-)
---
diff --git a/media/newcss/template.css b/media/newcss/template.css
index fcc3a1d..1f192b9 100644
--- a/media/newcss/template.css
+++ b/media/newcss/template.css
@@ -605,13 +605,13 @@ pre.stats .zero {
     color: #555753;
     padding: 20px 0;
 }
+#footer div.links > div > ul > li {
+    float: left;
+    margin: 0 40px 10px 5px;
+}
 #footer .links {
     overflow: hidden;
 }
-#footer .links > ul > li {
-    float: left;
-    margin: 0 40px 10px 0;
-}
 #footer .links a,
 #footer .links strong {
     display: block;
@@ -631,6 +631,9 @@ pre.stats .zero {
     margin: 0;
     padding: 0;
 }
+#footer ul.menu > li > a {
+    font-weight: bold;
+}
 #footer .links > ul > li > a {
     font-weight: bold;
 }
@@ -640,6 +643,16 @@ pre.stats .zero {
     -moz-transition: background-color 100ms ease-in;
     transition: background-color 100ms ease-in;
 }
+#footer .links a:focus {
+   background: #ececec;
+   padding: 1px 3px;
+   margin: -1px -3px;
+   text-decoration: none !important;
+   outline: 0;
+   -moz-border-radius: 5px;
+   -webkit-border-radius: 5px;
+   border-radius: 5px;
+}
 
 #footer #footnotes {
     margin-top: 20px;
diff --git a/templates/base.html b/templates/base.html
index fa745ad..268ee2e 100644
--- a/templates/base.html
+++ b/templates/base.html
@@ -76,9 +76,47 @@
   </div>
 
   <div id="footer">
-    <div class="maxwidth">
+	<div class="maxwidth">
       <div class="links">
-      </div>
+		<div>
+		<ul id="menu-footer" class="menu">
+			<li><a href="/">The GNOME Project</a>
+			<ul class="sub-menu">
+				<li><a href="http://www.gnome.org/about/";>About Us</a></li>
+				<li><a href="http://www.gnome.org/get-involved/";>Get Involved</a></li>
+				<li><a href="http://www.gnome.org/teams/";>Teams</a></li>
+				<li><a href="http://www.gnome.org/support-gnome/";>Support GNOME</a></li>
+				<li><a href="http://www.gnome.org/contact/";>Contact Us</a></li>
+				<li><a href="http://www.gnome.org/foundation/";>The GNOME Foundation</a></li>
+			</ul>
+		</li>
+		<li><a href="#">Resources</a>
+			<ul class="sub-menu">
+				<li><a href="http://developer.gnome.org";>Developer Center</a></li>
+				<li><a href="http://library.gnome.org";>Documentation</a></li>
+				<li><a href="http://live.gnome.org";>Wiki</a></li>
+				<li><a href="http://mail.gnome.org/mailman/listinfo";>Mailing Lists</a></li>
+				<li><a href="http://live.gnome.org/GnomeIrcChannels";>IRC Channels</a></li>
+				<li><a href="https://bugzilla.gnome.org/";>Bug Tracker</a></li>
+				<li><a href="http://git.gnome.org/browse/";>Development Code</a></li>
+				<li><a href="http://live.gnome.org/Jhbuild";>Build Tool</a></li>
+		</ul>
+		</li>
+		<li><a href="/news">News</a>
+		<ul class="sub-menu">
+			<li><a href="http://www.gnome.org/press/";>Press Releases</a></li>
+			<li><a href="http://www.gnome.org/start/stable";>Latest Release</a></li>
+			<li><a href="http://planet.gnome.org";>Planet GNOME</a></li>
+			<li><a href="http://gnomejournal.org";>GNOME Journal</a></li>
+			<li><a href="http://news.gnome.org";>Development News</a></li>
+			<li><a href="http://identi.ca/gnome";>Identi.ca</a></li>
+			<li><a href="http://twitter.com/gnome";>Twitter</a></li>
+		</ul>
+		</li>
+	</ul>
+	</div>
+	</div> <!-- end of div.links -->
+
       <div id="footnotes">
         {% trans "Copyright &copy; 2006-2012" %} <strong><a href="http://www.gnome.org/";>{% trans "The GNOME Project" %}</strong></a>.
         <br />



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]