Permalink
Browse files

Post 29: Understanding Javascript Numbers

  • Loading branch information...
akmurray committed May 24, 2013
1 parent 2722034 commit 170f2a329d50c8b7559f88cdafdf54da5cb99838
View
@@ -71,7 +71,7 @@ a:hover, a:focus {
Begin real specific styling for the blog
*/
#wrapper-site-header, #wrapper-site-footer, #wrapper-blog-posts, #wrapper-blog-post-menu {padding:10px;}
#wrapper-site-header, #wrapper-site-footer, #wrapper-blog-posts, #wrapper-blog-post-menu {padding:1em;}
#wrapper-site-header, #wrapper-site-footer {clear:both;}
#wrapper-site-header {border-bottom:1px solid #bcc;background-color:#dee;min-height:10em;}
@@ -101,23 +101,24 @@ div.copyright span {display:block;width:20em;margin-left:auto;margin-right:auto;
#wrapper-blog-posts {float:left;max-width:70%}
#wrapper-sidebar {float:right;max-width:25%;border-left:1px solid #bcc;background-color:#dee;}
.blog-post-header {padding:10px;border-bottom:1px solid #cdd;background-color:#eff;}
.blog-post {padding-bottom:1.5em;}
.blog-post-header {padding:1em;border-bottom:1px solid #cdd;background-color:#eff;}
.blog-post-header h2 {display:inline;font-weight:bold;}
.blog-post-header .commit-link {float:right}
.blog-post-header .commit-link img {border:0;}
.blog-post-body {padding:10px;}
.blog-post-body {padding:1em;}
.blog-post-body span.code, pre.code, code {font-family: monospace, Courier, Lucidatypewriter; }
.blog-post-body figure {margin:10px;text-align:center;}
.blog-post-body figure {margin:1em;text-align:center;}
.blog-post-body figcaption {text-align:center;color:#555;font-size:smaller;}
.blog-post-guid {display:none;}
.blog-post-body .guest-post-content {margin:10px;}
.blog-post-body .guest-post-content {margin:1em;}
.blog-post-footer .post-timestamp, .post-timestamp-updated, .blog-post-footer .post-tags, .post-screenshot {display:block;clear:both;}
.blog-post-footer {padding:10px;border-bottom:1px solid #cdd;background-color:#f9f9f9;}
.blog-post-footer {padding:1em;border-bottom:1px solid #cdd;background-color:#f9f9f9;}
.post-screenshot img {border:0;margin:10px;}
.post-screenshot img {border:0;margin:1em;}
@@ -127,9 +128,37 @@ div.copyright span {display:block;width:20em;margin-left:auto;margin-right:auto;
/* START POST 8 */
#table-png-compression-results th, #table-png-compression-results td {
padding:10px;
padding:1em;
border:1px solid #888;
}
/* END POST 8 */
/* START POST 29 */
#blog-post-29-output table {}
#blog-post-29-output td, th {border:1px solid #999;}
#blog-post-29-output td {text-align:right;padding:0.25em;cursor:help;}
#blog-post-29-output th {padding:0.25em;}
#blog-post-29-output .wrapper-tables {overflow:auto;}
#blog-post-29-output .table-tests {float:left;}
#blog-post-29-output .table-legend {float:left;}
#blog-post-29-output .type-undefined {}
#blog-post-29-output .type-string {}
#blog-post-29-output .type-number {}
#blog-post-29-output .value-nan {}
#blog-post-29-output .value-number {}
#blog-post-29-output .type-number.value-number {background-color:#cfc;}
#blog-post-29-output .type-number.value-nan {background-color:#ffc;}
#blog-post-29-output .type-string.value-number {background-color:#acf;}
#blog-post-29-output .type-string.value-nan {background-color:#fcc;}
#blog-post-29-output .type-boolean.value-number {background-color:#cff;}
#blog-post-29-output .type-boolean.value-nan {background-color:#fcf;}
#blog-post-29-output .type-object.value-number {background-color:#ddd;}
#blog-post-29-output .type-object.value-nan {background-color:#bbb;}
#blog-post-29-output .type-function.value-nan {background-color:#999;}
#blog-post-29-output .type-undefined.value-nan {background-color:#777;}
/* END POST 29 */
/* END post-specific styles */
@@ -5,57 +5,57 @@
post-screenshot-thumbs-all.css
*/
.img-post-18-thumb-100
.img-post-27-thumb-100
{
width: 100px;
height: 76px;
height: 75px;
background-image: url(../../img/blog/sprites/post-screenshot-thumbs-all.png);
background-position: 0px 0px;
background-repeat:no-repeat;
}
.img-post-27-thumb-100
.img-post-28-thumb-100
{
width: 100px;
height: 75px;
height: 74px;
background-image: url(../../img/blog/sprites/post-screenshot-thumbs-all.png);
background-position: -100px 0px;
background-repeat:no-repeat;
}
.img-post-28-thumb-100
.img-post-29-thumb-100
{
width: 100px;
height: 74px;
height: 68px;
background-image: url(../../img/blog/sprites/post-screenshot-thumbs-all.png);
background-position: -200px 0px;
background-repeat:no-repeat;
}
.img-post-16-thumb-100
.img-post-18-thumb-100
{
width: 100px;
height: 80px;
height: 76px;
background-image: url(../../img/blog/sprites/post-screenshot-thumbs-all.png);
background-position: -300px 0px;
background-repeat:no-repeat;
}
.img-post-11-thumb-100
.img-post-16-thumb-100
{
width: 100px;
height: 77px;
height: 80px;
background-image: url(../../img/blog/sprites/post-screenshot-thumbs-all.png);
background-position: -400px 0px;
background-repeat:no-repeat;
}
.img-post-10-thumb-100
.img-post-11-thumb-100
{
width: 100px;
height: 77px;
@@ -65,10 +65,10 @@
}
.img-post-7-thumb-100
.img-post-10-thumb-100
{
width: 100px;
height: 67px;
height: 77px;
background-image: url(../../img/blog/sprites/post-screenshot-thumbs-all.png);
background-position: -100px -80px;
background-repeat:no-repeat;
@@ -105,72 +105,82 @@
}
.img-post-9-thumb-100
.img-post-8-thumb-100
{
width: 100px;
height: 65px;
height: 62px;
background-image: url(../../img/blog/sprites/post-screenshot-thumbs-all.png);
background-position: 0px -157px;
background-repeat:no-repeat;
}
.img-post-26-thumb-100
.img-post-7-thumb-100
{
width: 100px;
height: 65px;
height: 67px;
background-image: url(../../img/blog/sprites/post-screenshot-thumbs-all.png);
background-position: -100px -157px;
background-repeat:no-repeat;
}
.img-post-8-thumb-100
.img-post-9-thumb-100
{
width: 100px;
height: 62px;
height: 65px;
background-image: url(../../img/blog/sprites/post-screenshot-thumbs-all.png);
background-position: -200px -157px;
background-repeat:no-repeat;
}
.img-post-15-thumb-100
.img-post-26-thumb-100
{
width: 100px;
height: 80px;
height: 65px;
background-image: url(../../img/blog/sprites/post-screenshot-thumbs-all.png);
background-position: -300px -157px;
background-repeat:no-repeat;
}
.img-post-23-thumb-100
.img-post-20-thumb-100
{
width: 100px;
height: 95px;
height: 87px;
background-image: url(../../img/blog/sprites/post-screenshot-thumbs-all.png);
background-position: -400px -157px;
background-repeat:no-repeat;
}
.img-post-20-thumb-100
.img-post-19-thumb-100
{
width: 100px;
height: 87px;
height: 86px;
background-image: url(../../img/blog/sprites/post-screenshot-thumbs-all.png);
background-position: 0px -252px;
background-position: 0px -244px;
background-repeat:no-repeat;
}
.img-post-19-thumb-100
.img-post-21-thumb-100
{
width: 100px;
height: 86px;
height: 84px;
background-image: url(../../img/blog/sprites/post-screenshot-thumbs-all.png);
background-position: -100px -244px;
background-repeat:no-repeat;
}
.img-post-23-thumb-100
{
width: 100px;
height: 95px;
background-image: url(../../img/blog/sprites/post-screenshot-thumbs-all.png);
background-position: -100px -252px;
background-position: -200px -244px;
background-repeat:no-repeat;
}
@@ -180,7 +190,7 @@
width: 100px;
height: 95px;
background-image: url(../../img/blog/sprites/post-screenshot-thumbs-all.png);
background-position: -200px -252px;
background-position: -300px -244px;
background-repeat:no-repeat;
}
@@ -190,7 +200,7 @@
width: 100px;
height: 95px;
background-image: url(../../img/blog/sprites/post-screenshot-thumbs-all.png);
background-position: -300px -252px;
background-position: -400px -244px;
background-repeat:no-repeat;
}
@@ -200,47 +210,47 @@
width: 100px;
height: 95px;
background-image: url(../../img/blog/sprites/post-screenshot-thumbs-all.png);
background-position: -400px -252px;
background-position: 0px -339px;
background-repeat:no-repeat;
}
.img-post-21-thumb-100
.img-post-13-thumb-100
{
width: 100px;
height: 84px;
height: 81px;
background-image: url(../../img/blog/sprites/post-screenshot-thumbs-all.png);
background-position: 0px -347px;
background-position: -100px -339px;
background-repeat:no-repeat;
}
.img-post-14-thumb-100
.img-post-17-thumb-100
{
width: 100px;
height: 81px;
height: 80px;
background-image: url(../../img/blog/sprites/post-screenshot-thumbs-all.png);
background-position: -100px -347px;
background-position: -200px -339px;
background-repeat:no-repeat;
}
.img-post-13-thumb-100
.img-post-15-thumb-100
{
width: 100px;
height: 81px;
height: 80px;
background-image: url(../../img/blog/sprites/post-screenshot-thumbs-all.png);
background-position: -200px -347px;
background-position: -300px -339px;
background-repeat:no-repeat;
}
.img-post-17-thumb-100
.img-post-14-thumb-100
{
width: 100px;
height: 80px;
height: 81px;
background-image: url(../../img/blog/sprites/post-screenshot-thumbs-all.png);
background-position: -300px -347px;
background-position: -400px -339px;
background-repeat:no-repeat;
}
@@ -250,7 +260,7 @@
width: 100px;
height: 84px;
background-image: url(../../img/blog/sprites/post-screenshot-thumbs-all.png);
background-position: -400px -347px;
background-position: 0px -434px;
background-repeat:no-repeat;
}
@@ -260,7 +270,7 @@
width: 100px;
height: 81px;
background-image: url(../../img/blog/sprites/post-screenshot-thumbs-all.png);
background-position: 0px -431px;
background-position: -100px -434px;
background-repeat:no-repeat;
}
@@ -270,7 +280,7 @@
width: 100px;
height: 81px;
background-image: url(../../img/blog/sprites/post-screenshot-thumbs-all.png);
background-position: -100px -431px;
background-position: -200px -434px;
background-repeat:no-repeat;
}
Oops, something went wrong.

0 comments on commit 170f2a3

Please sign in to comment.