[gnome-web-www] Social icons added to the page gnome.org
- From: Andreas Nilsson <andreasn src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-web-www] Social icons added to the page gnome.org
- Date: Mon, 11 Nov 2013 16:22:37 +0000 (UTC)
commit fccb3d7dcdb32575cf991b9f297b39527719d597
Author: Arpita Raj Gupta <arpita iiit gmail com>
Date: Mon Nov 11 21:43:15 2013 +0530
Social icons added to the page gnome.org
https://bugzilla.gnome.org/show_bug.cgi?id=698459
Signed-off-by: Andreas Nilsson <anilsson redhat com>
theme/footer.php | 5 ++++-
theme/social_icons.php | 20 ++++++++++++++++++++
theme/style.css | 12 ++++++++++++
3 files changed, 36 insertions(+), 1 deletions(-)
---
diff --git a/theme/footer.php b/theme/footer.php
index d35e296..168e974 100644
--- a/theme/footer.php
+++ b/theme/footer.php
@@ -32,7 +32,10 @@
}
?>
- <!-- footnotes -->
+ <div class="icons grid_3">
+ <?php require_once("social_icons.php"); ?>
+ </div>
+ <!-- footnotes -->
<div id="footnotes" class="grid_9">
<?php _e( 'Copyright', 'grass' ); ?> © 2005‒<?php echo date('Y');?> <strong
class="gnome_logo"><?php _e( 'The GNOME Project', 'grass' ); ?></strong><br />
<small>
diff --git a/theme/social_icons.php b/theme/social_icons.php
new file mode 100644
index 0000000..d4074cf
--- /dev/null
+++ b/theme/social_icons.php
@@ -0,0 +1,20 @@
+<div class="social_network_icons">
+ <ul>
+ <a href="http://identi.ca/gnome">
+ <img src="<?php bloginfo('template_url')?>/images/social_networks/identica.png" alt=" "
/>
+
+ </a>
+ <a href="http://twitter.com/gnome">
+ <img src="<?php bloginfo('template_url')?>/images/social_networks/twitter.png" alt=" " />
+
+ </a>
+ <a href="http://www.facebook.com/GNOMEDesktop">
+ <img src="<?php bloginfo('template_url')?>/images/social_networks/facebook.png" alt=" "
/>
+
+ </a>
+ <a href="https://plus.google.com/108054458791366257368/posts">
+ <img src="<?php bloginfo('template_url')?>/images/social_networks/gplus.png" alt="GNOME
on Google+" rel="publisher" />
+
+ </a>
+ </ul>
+</div>
diff --git a/theme/style.css b/theme/style.css
index 218c240..618e958 100644
--- a/theme/style.css
+++ b/theme/style.css
@@ -927,6 +927,18 @@ dl.icon_list dt img {
background: -moz-linear-gradient(bottom, #fff, #fff);
}
+#footer div.icons {
+ float: right;
+}
+#footer div.icons a {
+ display: table-cell;
+ vertical-align: middle;
+ text-align: center;
+ width: 220px;
+ height: 110px;
+ outline: none;
+ text-decoration: none;
+}
#footer ul {
margin: 0;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]