<a href="http://github.com/timrwood/underscore.date">underscore.date</a>
<span class="small">by <a href="http://github.com/timrwood">timrwood</a></span>
</h1>
- <p>Underscore.date is a javascript date library that helps create, manipulate, and format dates
- without extending the Date prototype.</p>
-
+ <h2 class="ca">Parsing + Manipulation + Formatting + Timeago + I18n + NodeJS</h2>
+ <h3 class="ca">And all without modifying the native Date prototype, so it's safe for kids!</h3>
+ <div class="br"> </div>
<div class="col-1">
- <h2>2.02 kb (min + gzip)</h2>
- <p>Version 0.6.0</p>
- <p>Author: Tim Wood</p>
+ <h2>What is this?</h2>
+ <p>Underscore.date is a javascript date library that helps parse, manipulate, and format dates.</p>
+ <p>It doesn't modify the native `Date` prototype, so it's safe to drop into any site.</p>
+ <p>While not dependant on <a href="http://documentcloud.github.com/underscore/">underscore</a>, it does follow
+ the same philosophy, and if underscore exists on your page, underscore.date will mix itself in.</p>
</div>
<div class="col-1">
- <h2>Download</h2>
+ <h2>Download : 2.02 kb (min + gzip)</h2>
<p>You can download this project in either
<a href="http://github.com/timrwood/underscore.date/zipball/master">zip</a> or
<a href="http://github.com/timrwood/underscore.date/tarball/master">tar</a> formats.
</p>
</div>
<div class="clearfix"></div>
-
-
+ <div class="br"> </div>
<h1>Works in the browser and in Node.js!</h1>
<h3>Node.js</h3>
<h2>Tests</h2>
+ <h3><a href="test/test.html">underscore.date unit tests</h3>
- <h3 class="col-1"><a href="test/test.html">underscore.date unit tests</a></h3>
-
- <h3 class="col-1"><a href="http://jsperf.com/underscore-date">underscore.date performance tests</a></h3>
-
- <div class="clearfix"></div>
+ <h3><a href="http://jsperf.com/underscore-date">underscore.date performance tests</a></h3>
<h3>Full source code and documentation at <a href="http://github.com/timrwood/underscore.date">http://github.com/timrwood/underscore.date</a></h3>
\r
a { color:#09489A; }\r
\r
-h1, h2, h3, h4, h5, h6, th { font-family:Oswald, sans-serif; line-height:1.5em; margin-bottom:20px; text-shadow:1px 1px 0 rgba(255, 255, 255, .4); }\r
+h1, h2, h3, h4, h5, h6, th { font-family:Oswald, sans-serif; line-height:1.5em; margin-bottom:20px; text-shadow:1px 1px 0 #fff; }\r
\r
h1 { font-size:48px; padding-top:40px; }\r
h2 { font-size:36px; padding-top:20px; }\r
\r
h1 a { color:#445; }\r
\r
-body, p { font-size:18px; line-height:1.5em; margin-bottom:20px; font-family:"Hoefler Text", Constantia, Palatino, "Palatino Linotype", "Book Antiqua", Georgia, serif; } \r
+body, p { font-size:18px; line-height:1.5em; font-family:"Hoefler Text", Constantia, Palatino, "Palatino Linotype", "Book Antiqua", Georgia, serif; } \r
\r
-pre, code { font-size:18px; line-height:1.5em; font-family:Consolas, "Courier New", Courier, monospace; }\r
+p { margin-bottom:20px; } \r
+\r
+pre, code { font-size:16px; line-height:1.5em; font-family:Consolas, "Courier New", Courier, monospace; }\r
\r
pre { background:rgba(0, 0, 0, .05); display:block; padding:10px 20px; margin-bottom:20px; white-space:pre; white-space:pre-wrap; word-wrap:break-word; }\r
\r
* special\r
*/\r
\r
-.logo { text-align:center; border-bottom:#313749 10px solid; }\r
+.logo { text-align:center; border-bottom:#313749 10px solid; margin:0 -41px; }\r
.fork-me { position:absolute; top:0; right:0; text-indent:-9999px; width:149px; height:149px; display:block; background:url(fork.png); }\r
\r
/**\r
* layout\r
*/\r
\r
- \r
-#container { background:url(bg-body.png); margin:0 auto; width:960px; padding:20px 40px; text-align:left; }\r
+.ca { text-align:center; }\r
+.br { margin:50px; border:1px dashed #fff; border-width:1px 0; border-top-color:#313749; height:0; line-height:0; }\r
+#container { background:url(bg-body.png); margin:0 auto; width:920px; padding:20px 60px 100px; text-align:left; }\r
.footer { text-align:center; padding:50px 0 200px; }\r
\r
-.col-1 { width:460px; margin-right:20px; float:left; }\r
+.col-1 { width:420px; padding:0 20px; float:left; }\r
\r
.clearfix { display:block; clear:both; visibility:hidden; line-height:0; height:0; }
\ No newline at end of file