Permalink
Browse files

Update site.

  • Loading branch information...
1 parent b58f7e5 commit 61432f9e29a5ee1898e26ba40e129d65088c08ec @rstacruz committed Dec 18, 2012
Showing with 23 additions and 7 deletions.
  1. +1 −0 .gitignore
  2. +9 −0 Rakefile
  3. +4 −3 site/s2/index.html
  4. +9 −4 site/s2/style.css
View
@@ -3,3 +3,4 @@
/site/jquery.transit.js
/site/jquery.transit.min.js
/site/.sass-cache
+/site/test
View
@@ -1,3 +1,8 @@
+def system(*a)
+ puts " $ #{a[0]}"
+ super
+end
+
module Compressor
def self.compress(jscode)
require 'net/http'
@@ -81,6 +86,10 @@ task :prebuild => [:check_deps, :compress] do
system "rocco jquery.transit.js > /dev/null"
system "mv ./jquery.transit.html site/source.html"
system "rm -rf docs"
+
+ puts "==> Copying test files..."
+ system "rm -rf site/test"
+ system "cp -R test site/test"
end
desc "Builds the website"
View
@@ -17,8 +17,8 @@
<!-- [if lte IE8]><script src="http://cdnjs.cloudflare.com/ajax/libs/html5shiv/3.6/html5shiv.min.js"></script><![endif] -->
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.8.1/jquery.min.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/prefixfree/1.0.6/prefixfree.min.js"></script>
- <script src="jquery.transit.js?31"></script>
- <script src="script.js?31"></script>
+ <script src="jquery.transit.js?32"></script>
+ <script src="script.js?32"></script>
<script>WebFontConfig={google:{families:["Exo:200,700","Open Sans:400,400italic"]}},function(a,b){var c=a.createElement(b);c.src="http://ajax.googleapis.com/ajax/libs/webfont/1/webfont.js",c.async=1;var d=a.getElementsByTagName(b)[0];d.parentNode.insertBefore(c,d)}(document,"script")</script>
<script>location.hostname.match(/ricostacruz\.com/)&&(_gaq=[["_setAccount","UA-20473929-1"],["_trackPageview"]],function(a,b){var c=a.createElement(b),d=a.getElementsByTagName(b)[0];c.async=1,c.src=("https:"==location.protocol?"//ssl":"//www")+".google-analytics.com/ga.js",d.parentNode.insertBefore(c,d)}(document,"script"))</script>
</head>
@@ -57,7 +57,8 @@
<a href="jquery.transit.min.js">
<span class="in">
<span class="inin">
- <strong>v0.9.9</strong>
+ <strong id="version_id"></strong>
+ <script>$("#version_id").html('v'+jQuery.transit.version);</script>
<small>Download</small>
</span>
</span>
View
@@ -179,7 +179,7 @@ span.amp {
font-family: exo, sans-serif;
font-weight: 200;
- text-shadow: 1px 1px 0 white, 2px 2px 0 rgba(30, 120, 200, 0.15); }
+ text-shadow: 2px 2px 0 rgba(30, 160, 200, 0.15); }
.header p {
max-width: 350px;
@@ -189,6 +189,10 @@ span.amp {
font-style: italic;
font-size: 15pt; }
+@media (max-width: 600px) {
+ .header h1 {
+ font-size: 42pt; } }
+
/* ---------------------------------------------------------------------------- */
.subcontent {
@@ -760,11 +764,12 @@ span.amp {
top: 50px;
bottom: -80px;
- width: 8px;
- margin-left: -4px;
+ width: 6px;
+ margin-left: -3px;
box-shadow: inset -1px 0 0 rgba(0, 0, 0, 0.07);
- background: rgba(90, 184, 190, 0.3); }
+ background-color: rgba(90, 184, 190, 0.3);
+ background: linear-gradient(270deg, rgba(90, 184, 190, 0.3) 40%, rgba(190, 90, 90, 0.3) 60%); }
.tree .example {
position: relative;

0 comments on commit 61432f9

Please sign in to comment.