Replace gifs with pngs
authorDavid Bartley <dtbartle@csclub.uwaterloo.ca>
Wed, 19 Dec 2007 03:30:42 +0000 (22:30 -0500)
committerDavid Bartley <dtbartle@csclub.uwaterloo.ca>
Wed, 19 Dec 2007 03:30:42 +0000 (22:30 -0500)
* Smaller file size
* Use a uniform image format for logos/buttons across the site

logos/Makefile
logos/acm_logo.gif [deleted file]
logos/acm_logo.png [new file with mode: 0644]
logos/csc_logo.gif [deleted file]
logos/csc_logo.png [new file with mode: 0644]
logos/csc_title.gif [deleted file]
logos/csc_title.png [new file with mode: 0644]
logos/uw_logo.gif [deleted file]
logos/uw_logo.png [new file with mode: 0644]
xsl/common.xsl

index 0123ee5..a56abde 100644 (file)
@@ -1,3 +1,3 @@
-FILES = acm_logo.gif csc_logo.gif csc_only.png csc_title.gif uw_logo.gif
+FILES = acm_logo.png csc_logo.png csc_only.png csc_title.png uw_logo.png
 RELDIR = logos/
 include ../common.mk
diff --git a/logos/acm_logo.gif b/logos/acm_logo.gif
deleted file mode 100644 (file)
index 202dfcc..0000000
Binary files a/logos/acm_logo.gif and /dev/null differ
diff --git a/logos/acm_logo.png b/logos/acm_logo.png
new file mode 100644 (file)
index 0000000..40de0be
Binary files /dev/null and b/logos/acm_logo.png differ
diff --git a/logos/csc_logo.gif b/logos/csc_logo.gif
deleted file mode 100644 (file)
index fd96c67..0000000
Binary files a/logos/csc_logo.gif and /dev/null differ
diff --git a/logos/csc_logo.png b/logos/csc_logo.png
new file mode 100644 (file)
index 0000000..cb31d99
Binary files /dev/null and b/logos/csc_logo.png differ
diff --git a/logos/csc_title.gif b/logos/csc_title.gif
deleted file mode 100644 (file)
index 0ddf87c..0000000
Binary files a/logos/csc_title.gif and /dev/null differ
diff --git a/logos/csc_title.png b/logos/csc_title.png
new file mode 100644 (file)
index 0000000..d0b1756
Binary files /dev/null and b/logos/csc_title.png differ
diff --git a/logos/uw_logo.gif b/logos/uw_logo.gif
deleted file mode 100644 (file)
index 47b2562..0000000
Binary files a/logos/uw_logo.gif and /dev/null differ
diff --git a/logos/uw_logo.png b/logos/uw_logo.png
new file mode 100644 (file)
index 0000000..7149e93
Binary files /dev/null and b/logos/uw_logo.png differ
index 3ec9939..7657502 100644 (file)
 <xsl:template match="biglogo">
   <div class="biglogo">
     <div class="uwlogo">
-      <a href="http://www.uwaterloo.ca/"><img src="{$g_pre}logos/uw_logo.gif"
+      <a href="http://www.uwaterloo.ca/"><img src="{$g_pre}logos/uw_logo.png"
           alt="University of Waterloo" width="105" height="70" /></a>
     </div>
     <div class="acmlogo">
-      <a href="http://www.acm.org"><img src="{$g_pre}logos/acm_logo.gif"
+      <a href="http://www.acm.org"><img src="{$g_pre}logos/acm_logo.png"
            alt="A Student Chapter of the ACM" width="82" height="88" /></a>
     </div>
     <div class="csclogo">
-      <a href="{$g_pre}"><img src="{$g_pre}logos/csc_logo.gif"
+      <a href="{$g_pre}"><img src="{$g_pre}logos/csc_logo.png"
           alt="Computer Science Club" width="420" height="79" /></a>
     </div>
   </div>
@@ -65,7 +65,7 @@
   <xsl:param name="title" />
   <xsl:param name="href" />
   <div class="webtitle">
-    <a href="{$g_pre}"><img src="{$g_pre}logos/csc_title.gif"
+    <a href="{$g_pre}"><img src="{$g_pre}logos/csc_title.png"
         alt="CSC Logo" /></a>
   </div>
   <div class="dirheader">