This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "snap-website".

The branch, master has been updated
       via  ee25d764ea305a39792f313cb54e7c9606ab5f22 (commit)
      from  b93ec413f799675e45c747841153a0f0f5b74e22 (commit)


Summary of changes:
 static/media/css/PT_Sans_Bold.ttf   |  Bin 0 -> 562432 bytes
 static/media/css/PT_Sans_Italic.ttf |  Bin 0 -> 459208 bytes
 static/media/css/fonts.css          |    9 ++++++-
 static/media/css/main.css           |   37 ++++++++++++++++++++------
 static/media/js/init.js             |    1 -
 templates/docs.tpl                  |   48 +++++++++++++++++++++++++++++------
 templates/wrap.tpl                  |    3 +-
 7 files changed, 77 insertions(+), 21 deletions(-)
 create mode 100644 static/media/css/PT_Sans_Bold.ttf
 create mode 100644 static/media/css/PT_Sans_Italic.ttf

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit ee25d764ea305a39792f313cb54e7c9606ab5f22
Author: James Sanders <[email protected]>
Date:   Sat Jun 5 17:51:52 2010 -0400

    Various tweaks

diff --git a/static/media/css/PT_Sans_Bold.ttf 
b/static/media/css/PT_Sans_Bold.ttf
new file mode 100644
index 0000000..ccea2cc
Binary files /dev/null and b/static/media/css/PT_Sans_Bold.ttf differ
diff --git a/static/media/css/PT_Sans_Italic.ttf 
b/static/media/css/PT_Sans_Italic.ttf
new file mode 100644
index 0000000..c506ff0
Binary files /dev/null and b/static/media/css/PT_Sans_Italic.ttf differ
diff --git a/static/media/css/fonts.css b/static/media/css/fonts.css
index 286f08a..c047db0 100644
--- a/static/media/css/fonts.css
+++ b/static/media/css/fonts.css
@@ -10,7 +10,14 @@
     font-family: "PT Sans";
     src: url("PT_Sans.ttf") format("truetype");
 }
-
+...@font-face {
+    font-family: "PT Sans Bold";
+    src: url("PT_Sans_Bold.ttf") format("truetype");
+}
+...@font-face {
+    font-family: "PT Sans Italic";
+    src: url("PT_Sans_Italic.ttf") format("truetype");
+}
 @font-face {
     font-family: "Liberation Mono";
     src: url("LiberationMono-Regular.ttf") format("truetype");
diff --git a/static/media/css/main.css b/static/media/css/main.css
index fc93605..0f01f07 100644
--- a/static/media/css/main.css
+++ b/static/media/css/main.css
@@ -249,7 +249,7 @@ pre.sourceCode span.InfixOperator { color: #aaa; }
     padding: 0;
     width:100%;
     min-height: 100%;
-    margin-bottom: -34px;
+    margin-bottom: -40px;
 
     /*background: #FFFFFF;*/
 }
@@ -275,11 +275,10 @@ pre.sourceCode span.InfixOperator { color: #aaa; }
     font-size: 1.7em;
     width: 50%;
     line-height: 1.2em;
-    font-family: "PT Sans";
-    letter-spacing: 0.01em;
+    font-family: "PT Sans Italic";
+    letter-spacing: 0.05em;
     text-shadow: 1px 1px #DAE6F5;
     color: #1f4986;
-    font-style: italic;
 }
 #splash .slideshow{
     margin: 0px auto;
@@ -552,8 +551,10 @@ pre.sourceCode span.InfixOperator { color: #aaa; }
 #docdls dt {
     height: 28px;
     border-bottom: 1px dotted #C2D1E1;
+
     font-family: "PT Sans", sans-serif;
     letter-spacing: 2px;
+    padding: 0 5px;
 }
 
 #packages dd, #docdls dd {
@@ -568,10 +569,17 @@ pre.sourceCode span.InfixOperator { color: #aaa; }
 }
 
 #docdls dd{
-    background: url(book.png) no-repeat 0 19px;
-    padding-left: 80px;
+    overflow: hidden;
+    width: 100%;
+    height: 100px;
+    padding-right: 10px;
+}
+#docdls dd a.book{
+    float: left;
+    margin-top: -5px;
+    margin-right: 20px;
+    height: 100px;
 }
-
 
 .small-logo{
     float:left;
@@ -585,13 +593,18 @@ pre.sourceCode span.InfixOperator { color: #aaa; }
 #footer{
     border-top: 1px solid #C2D1E1;
     color: #a0acba;
-    padding: 13px 20px;
+    padding: 4px 20px;
+    height: 31px;
     font-family: "PT Sans", sans-serif;
     font-size: 0.75em;
     text-align: right;
     background: #f5f9ff;
     vertical-align: middle;
-    line-height: 15px;
+    line-height: 31px;
+    overflow: hidden;
+}
+#footer b{
+    font-family: "PT Sans Bold", sans-serif;
 }
 #footer img{
     vertical-align: middle;
@@ -602,3 +615,9 @@ pre.sourceCode span.InfixOperator { color: #aaa; }
     margin: 0;
     padding: 0;
 }
+#footer p.part-1{
+    float:left;
+}
+#footer p.part-2{
+    float:right;
+}
\ No newline at end of file
diff --git a/static/media/js/init.js b/static/media/js/init.js
index b36dbab..aff7caf 100644
--- a/static/media/js/init.js
+++ b/static/media/js/init.js
@@ -13,7 +13,6 @@ $(document).ready(function(){
   }else{
     $('.nav .home').addClass('active');
   }
-
 });
 
 
diff --git a/templates/docs.tpl b/templates/docs.tpl
index a6e717f..ed5728e 100644
--- a/templates/docs.tpl
+++ b/templates/docs.tpl
@@ -7,15 +7,27 @@
         <div id="docdls">
           <dl>
             <dt><a href="docs/quickstart">Quick Start</a></dt>
-            <dd>A guide to getting Snap installed.</dd>
+            <dd>
+              <a class="book" href="docs/quickstart">
+                <img src="/media/css/book.png" />
+              </a>
+              A guide to getting Snap installed.</dd>
 
             <dt><a href="docs/tutorials/snap-api">Snap API 
Introduction</a></dt>
-            <dd>An in-depth tutorial on the Snap API. Covers installation,
+            <dd>
+              <a class="book" href="docs/tutorials/snap-api">
+                <img src="/media/css/book.png" />
+              </a>
+              An in-depth tutorial on the Snap API. Covers installation,
               iteratee I/O, the &ldquo;snap&rdquo; command-line tool, the Snap
               monad, and URL routing.</dd>
 
             <dt><a href="docs/tutorials/heist">Heist Template Tutorial</a></dt>
-            <dd>A tutorial for the Heist xhtml templating library.</dd>
+            <dd>
+              <a class="book" href="docs/tutorials/heist">
+                <img src="/media/css/book.png" />
+              </a>
+              A tutorial for the Heist xhtml templating library.</dd>
           </dl>
         </div>
       </div>
@@ -25,9 +37,17 @@
         <div id="docdls">
           <dl>
             <dt><a href="docs/style-guide">Haskell Style Guide</a></dt>
-            <dd>A guide to the Haskell source style we're using for the 
project.</dd>
+            <dd>
+              <a class="book" href="docs/style-guide">
+                <img src="/media/css/book.png" />
+              </a>
+              A guide to the Haskell source style we're using for the 
project.</dd>
             <dt><a href="/benchmarks">Benchmarks</a></dt>
-            <dd>Some benchmark results comparing Snap to several other
+            <dd>
+              <a class="book" href="/benchmarks">
+                <img src="/media/css/book.png" />
+              </a>
+              Some benchmark results comparing Snap to several other
               web frameworks.</dd>
           </dl>
         </div>
@@ -41,14 +61,26 @@
         <div id="docdls">
           <dl>
             <dt><a href="docs/api/snap-core">snap-core</a></dt>
-            <dd>Core type definitions (<tt>Snap</tt> monad, HTTP types, etc) 
and
+            <dd>
+              <a class="book" href="docs/api/snap-core">
+                <img src="/media/css/book.png" />
+              </a>
+              Core type definitions (<tt>Snap</tt> monad, HTTP types, etc) and
               utilities for web handlers.</dd>
             <dt><a href="docs/api/snap-server">snap-server</a></dt>
-            <dd>An iteratee-based HTTP server library, which runs <tt>Snap</tt>
+            <dd>
+              <a class="book" href="docs/api/snap-server">
+                <img src="/media/css/book.png" />
+              </a>
+              An iteratee-based HTTP server library, which runs <tt>Snap</tt>
               web handlers.</dd>
             <dt><a href="docs/api/heist">heist</a>
               <em>(experimental)</em></dt>
-            <dd>An xhtml-based templating engine, allowing Haskell functions to
+            <dd>
+              <a class="book" href="docs/api/heist">
+                <img src="/media/css/book.png" />
+              </a>
+              An xhtml-based templating engine, allowing Haskell functions to
               be bound to XML tags.</dd>
           </dl>
         </div>
diff --git a/templates/wrap.tpl b/templates/wrap.tpl
index 5f98008..5dc1f18 100644
--- a/templates/wrap.tpl
+++ b/templates/wrap.tpl
@@ -13,12 +13,11 @@
 
       </div><!--end main-->
         <div id="footer">
-<p>Snap is <a rel="license" href="http://creativecommons.org/licenses/BSD/";>BSD
+<p class="part-1">Powered by <b>Snap <snap-version/></b></p> <p 
class="part-2">Snap is <a rel="license" 
href="http://creativecommons.org/licenses/BSD/";>BSD
 licensed</a>. This website and the documents hosted here are licensed under
 a <a rel="license"
 href="http://creativecommons.org/licenses/by-nd/3.0/";>Creative Commons
 Attribution-NoDerivs 3.0 Unported License.</a></p>
-<p>Powered by Snap <snap-version/></p>
         </div><!--end footer-->
 
 
-----------------------------------------------------------------------


hooks/post-receive
-- 
snap-website
_______________________________________________
Snap mailing list
[email protected]
http://mailman-mail5.webfaction.com/listinfo/snap

Reply via email to