From e71e674ef9c2ef502f40a8a5207a181035c7cfd0 Mon Sep 17 00:00:00 2001 From: Astro Date: Fri, 16 Sep 2011 01:15:00 +0200 Subject: [PATCH 1/2] datenspuren: more translucent background --- content/static/datenspuren/style/style.css | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/content/static/datenspuren/style/style.css b/content/static/datenspuren/style/style.css index bda507190..158f82986 100644 --- a/content/static/datenspuren/style/style.css +++ b/content/static/datenspuren/style/style.css @@ -28,6 +28,7 @@ body { #content { border: 12pt solid #65b8ff; border-radius: 24pt; + background: rgba(255,255,255,0.65); } .leftSideBar { float: left; @@ -38,7 +39,6 @@ body { } .leftSideBar > div { margin: 12pt; - background: rgba(255,255,255,0.65); } .leftSideBar > div > h2 { font-size: 12pt; @@ -59,7 +59,6 @@ a { padding: 24pt; } #bodyText > div { - background: rgba(255,255,255,0.65); } .date { padding-left: 12pt; From e5fb9b762decae1ca4a9f5ebae8c5c36d8cb897d Mon Sep 17 00:00:00 2001 From: Astro Date: Fri, 16 Sep 2011 01:18:34 +0200 Subject: [PATCH 2/2] datenspuren sun & rain fixes --- content/static/datenspuren/script/clouds.js | 4 ++-- content/static/datenspuren/style/style.css | 10 +++++----- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/content/static/datenspuren/script/clouds.js b/content/static/datenspuren/script/clouds.js index 960523811..2a947e903 100644 --- a/content/static/datenspuren/script/clouds.js +++ b/content/static/datenspuren/script/clouds.js @@ -48,7 +48,7 @@ Raindrop.prototype.render = function() { var t = now(); var d = (t - this.lastUpdate) / 1000; this.x += this.speedX * d; - this.speedY += 9.81 * d; + this.speedY += 23 * d; /* gravity */ this.y += this.speedY * d; this.el.css('left', Math.floor(this.x)+'px'); @@ -91,7 +91,7 @@ Cloud.prototype.update = function() { if (this.isDone()) this.el.detach(); else if (this.raining && Math.random() < 0.1) - new Raindrop(this.x + 8 + Math.random() * 48, this.y + 32, this.speedX); + new Raindrop(this.x + 8 + Math.random() * 48, this.y + 30, this.speedX); }; Cloud.prototype.isDone = function() { diff --git a/content/static/datenspuren/style/style.css b/content/static/datenspuren/style/style.css index 5bb0a6748..7d7bd16c4 100644 --- a/content/static/datenspuren/style/style.css +++ b/content/static/datenspuren/style/style.css @@ -420,7 +420,7 @@ td.event { -webkit-transform:rotate(0deg); } 100% { - -webkit-transform:rotate(360deg); + -webkit-transform:rotate(-360deg); } } @-moz-keyframes rotate { @@ -428,7 +428,7 @@ td.event { -moz-transform:rotate(0deg); } 100% { - -moz-transform:rotate(360deg); + -moz-transform:rotate(-360deg); } } @-o-keyframes rotate { @@ -436,7 +436,7 @@ td.event { -o-transform:rotate(0deg); } 100% { - -o-transform:rotate(360deg); + -o-transform:rotate(-360deg); } } @-ms-keyframes rotate { @@ -444,7 +444,7 @@ td.event { -ms-transform:rotate(0deg); } 100% { - -ms-transform:rotate(360deg); + -ms-transform:rotate(-360deg); } } @keyframes rotate { @@ -452,7 +452,7 @@ td.event { transform:rotate(0deg); } 100% { - transform:rotate(360deg); + transform:rotate(-360deg); } }