diff --git a/javascripts/rain.js b/javascripts/rain.js deleted file mode 100644 index e9ceff8..0000000 --- a/javascripts/rain.js +++ /dev/null @@ -1,93 +0,0 @@ -// forked from m_hijazee's "rain" http://jsdo.it/m_hijazee/cB1q -var canvas = document.getElementById("show-rain"); -canvas.width = "800"; -canvas.height = "600"; -var ctx = canvas.getContext("2d"); -var drops = []; - -var MAX_DROPS = 500; - -var lineargradient = ctx.createLinearGradient(canvas.width/2,0,canvas.width/2,canvas.height); -/* Drop Class. Lets being the digital rain! */ -function Drop(){ - - - this.x = Math.floor(Math.random()*canvas.width); - this.y = 0; - this.width = Math.floor(Math.random()*4+1); - this.shade = Math.floor(Math.random()*180+50); - this.color = "rgba(" + this.shade + "," + this.shade + "," + this.shade + ", 0.5)"; - - this.vy = 3 + this.width*Math.random()*12; - - this.vx = 0; - - - this.draw = function(ctx){ - ctx.fillStyle = this.color; - ctx.fillRect(this.x, this.y, this.width, this.height); - }; - - this.fall = function(ctx){ - - - if(this.y >= canvas.height){ - this.x = Math.floor(Math.random()*canvas.width); - this.y = 0; - this.width = Math.floor(Math.random()*1+1); - this.vy = 3 + this.width*Math.random()*20; - this.height = this.vy*0.75; - } - - this.y += this.vy; - this.x += this.vx; - - this.draw(ctx); - }; -} - -var lightning = false; -function doLightning(){ - lightning = true; - setTimeout(function(){ - lightning = false; - setTimeout(function(){ - lightning = true; - setTimeout(function(){ - lightning = false; - }, 100); - }, 100); - }, 100); - setTimeout(doLightning, 5000 + Math.random() * 10000); -}; -//doLightning(); - -function Update(){ - ctx.clearRect(0, 0,canvas.width, canvas.height); - if(lightning){ - ctx.fillStyle = "#fff"; - } else { - ctx.fillStyle = lineargradient; - } - ctx.fillRect(0,0,canvas.width, canvas.height); - for(var i =0; i < MAX_DROPS; i++) - drops[i].fall(ctx); -} - - -function init(){ - for(var i =0; i < MAX_DROPS; i++) - drops[i] = new Drop(); - setInterval(Update, 20); -} - - -function cleanUp(){ - - for(var i =0; i < MAX_DROPS; i++) - delete drops[i]; -} - - -init(); - diff --git a/night.html b/night.html index 1d93930..a65ab10 100644 --- a/night.html +++ b/night.html @@ -1,3 +1,4 @@ + diff --git a/stylesheets/bootstrap-responsive.css b/stylesheets/bootstrap-responsive.css index e80eca6..46020be 100644 --- a/stylesheets/bootstrap-responsive.css +++ b/stylesheets/bootstrap-responsive.css @@ -1,12 +1,3 @@ -/*! - * Bootstrap Responsive v2.0.2 - * - * Copyright 2012 Twitter, Inc - * Licensed under the Apache License v2.0 - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Designed and built with all the love in the world @twitter by @mdo and @fat. - */ .clearfix { *zoom: 1; } @@ -27,10 +18,6 @@ display: block; width: 100%; min-height: 28px; - /* Make inputs at least the height of their button counterpart */ - - /* Makes inputs behave like true block-level elements */ - -webkit-box-sizing: border-box; -moz-box-sizing: border-box; -ms-box-sizing: border-box; diff --git a/stylesheets/docs.css b/stylesheets/docs.css index aa2496a..38713cf 100644 --- a/stylesheets/docs.css +++ b/stylesheets/docs.css @@ -7,8 +7,6 @@ body { } -/* Tweak navbar brand link to be super sleek --------------------------------------------------- */ .navbar-fixed-top .brand { padding-right: 0; padding-left: 0; @@ -25,13 +23,10 @@ body { } -/* Space out sub-sections more --------------------------------------------------- */ section { padding-top: 60px; } -/* Faded out hr */ hr.soften { height: 1px; margin: 54px 0; diff --git a/stylesheets/stylesheet.css b/stylesheets/stylesheet.css index 07b99e6..8b31ab1 100644 --- a/stylesheets/stylesheet.css +++ b/stylesheets/stylesheet.css @@ -1,12 +1,3 @@ -/*! - * Bootstrap v2.0.2 - * - * Copyright 2012 Twitter, Inc - * Licensed under the Apache License v2.0 - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Designed and built with all the love in the world @twitter by @mdo and @fat. - */ article, aside, details,